Skip to main content
Question

Use published parameters in workspace not shown in app

  • November 21, 2019
  • 3 replies
  • 59 views

nissedahlsten
Contributor
Forum|alt.badge.img+9

From a workspace I have created an app in FME server 2019.

Two of those parameters I do not want the user to see (I uncheck the "Show in app"-boxes in the app-config page), but I want to populate the parameters from outside the app. Is that possible? How?

Thanks /Nisse

@frro

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.

3 replies

mark2atsafe
Safer
Forum|alt.badge.img+59
  • Safer
  • November 22, 2019

Yes, you can simply set those as the default values in your workspace. Then they will get used. For example, the weekly FME quiz is delivered via an app. It has a Week Number parameter that I set in Workbench. I hide the parameter in the app but it still takes the value that I set.


Forum|alt.badge.img+2

Hi @nissedahlsten,

If you didn't set up a default value for these parameters in FME Workbench before publishing you can also set the value for these from within the FME Server Web UI when you create the app.

 

 

Where you have unchecked the "show in app" box you should also be able to set the value for the app to use for that parameter:


nissedahlsten
Contributor
Forum|alt.badge.img+9
  • Author
  • Contributor
  • November 25, 2019

Yes, you can simply set those as the default values in your workspace. Then they will get used. For example, the weekly FME quiz is delivered via an app. It has a Week Number parameter that I set in Workbench. I hide the parameter in the app but it still takes the value that I set.

Ok, thanks.

I solved it by build my own UI using the API documentation.

What I wasn't clear about was that the parameter values I wanted to pass in could change.

I have a workspace with one of the parameters taking a Geojson string-value. When creating an app from that and uncheck the "Show in app" parameter check-box I was wondering if there was some pre-set way of passing the Geojson string in to that not shown parameter.

 

/Nisse