Skip to main content
Question

Many workspaces referencing one external parameter?

  • December 29, 2020
  • 2 replies
  • 10 views

Forum|alt.badge.img

I have emailers embedded in many workspaces. Within each I have 1 parameter for the email password which applies to all emailers within each workspace but I am wondering if it's possible for multiple workspaces to reference the 1 email password parameter so I only have to change this in 1 place every 3 months as my password changes?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

  • December 29, 2020

I would ​use user parameters. Whenever you can, also think about security of your passwords!

User parameters are like global variables across your entire worksheet that can be called from anywhere.​ Also very helpful when you want to do batch processing.


davtorgh
Contributor
Forum|alt.badge.img+12
  • Contributor
  • December 29, 2020

Hi @tfsrichard​ ,

 

web connections are the preferred method used by FME to store credential in a safe way. If you can send e-mails from a GMail account you can create a web connection (Tools -> FME Options -> Web Connections) and store the password there once.

If you need to use a generic SMTP server you could store the password in a text file and read it as an attribute when needed, although I think it's not a good practice store passwords in clear text file.

 

Hope that helps!