Skip to main content
Archived

Enable User Parameters to be created from workspace parameters.

Related products:FME Form

I checked the documentation but it doesn't actually appear to be possible to create a User Parameter from a workspace parameter. That is, the right-click options for the parameters listed under the "Workspace Parameters" heading are limited to just one option - "Edit Parameter Value..." I'd really like to be able to create a published User Parameter from the Writer redirect parameter. Here's why:

I have some workspaces which I am regularly testing in order to improve them and often in this testing I'll redirect the output to the Inspector or limit the number of features being read. Aside from running these workspaces interactively when I'm testing them, I also kick them off weekly or so in a batch process that uses the command-line. Whenever I do that, I want the workspaces to NOT redirect the output and to process all reader features.

I'm able to do the latter because I published "MAX_FEATURES" and have that set to an empty string in the batch process. I'd like to set the Writer Redirect to "No Redirect" in the batch process but since I can't create a user parameter from it, I can't publish. So if I forget to change the Writer Redirect parameter to "No Redirect" and then save the workspace, on the subsequent batch run, it redirects the output.

https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Workbench/Workbench/Publishing_a_Parameter.htm

This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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.

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings