Skip to main content
Solved

Export and share Parameter Presets

  • November 9, 2020
  • 6 replies
  • 129 views

Hi,

 

Where is the Parameter Presets saved? Is there a way to export and share presets with others?

Best answer by ebygomm

Thank you both for your input. Didn't know about the copy/paste to JSON, nice feature!

I think I wasn't precise in my question. In this case, it was the presets in the transformers I was looking for a way to export, not the user parameters.

 

@ebygomm​ , to distinguish between published and private parameters you can view/read the .fmw file as text or xml.

It is the elements named GLOBAL_PARAMETER you want to extract. Those elements have an attribute called GUI_LINE.

If the value starts with GUI IGNORE it is a private parameter.

You can see this also if you use @nielsgerrits​  copy/paste method.

Yes, i meant no way to distinguish them when using the fmw reader (and it strikes me as odd that private parameters are published parameter feature types...). You can of course find this info by reading the file as text.

 

As to your original question, I'm not aware there is a way to share transformer presets. There is an idea here

 

https://community.safe.com/s/idea/0874Q000000TlDkQAK/detail

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.

6 replies

ebygomm
Influencer
Forum|alt.badge.img+46
  • Influencer
  • November 9, 2020

You can use the fmw reader to read a workspace's parameters and that will give you a published_parameter_name, published_paramter_type, published_parameter_default_value etc. which you could write out to a file to share.

The only thing to note, is that both public and private parameters are returned as Published Parameter feature types with no way to distinguish between them (as far as I can tell)


nielsgerrits
VIP
Forum|alt.badge.img+62

As an alternative, you can copy paste the published / private parameters from the navigation pane and paste them in notepad, as JSON.


  • Author
  • November 10, 2020

Thank you both for your input. Didn't know about the copy/paste to JSON, nice feature!

I think I wasn't precise in my question. In this case, it was the presets in the transformers I was looking for a way to export, not the user parameters.

 

@ebygomm​ , to distinguish between published and private parameters you can view/read the .fmw file as text or xml.

It is the elements named GLOBAL_PARAMETER you want to extract. Those elements have an attribute called GUI_LINE.

If the value starts with GUI IGNORE it is a private parameter.

You can see this also if you use @nielsgerrits​  copy/paste method.


danielkroon
Forum|alt.badge.img

I just realized I have two FME community accounts, hello again!


ebygomm
Influencer
Forum|alt.badge.img+46
  • Influencer
  • Best Answer
  • November 10, 2020

Thank you both for your input. Didn't know about the copy/paste to JSON, nice feature!

I think I wasn't precise in my question. In this case, it was the presets in the transformers I was looking for a way to export, not the user parameters.

 

@ebygomm​ , to distinguish between published and private parameters you can view/read the .fmw file as text or xml.

It is the elements named GLOBAL_PARAMETER you want to extract. Those elements have an attribute called GUI_LINE.

If the value starts with GUI IGNORE it is a private parameter.

You can see this also if you use @nielsgerrits​  copy/paste method.

Yes, i meant no way to distinguish them when using the fmw reader (and it strikes me as odd that private parameters are published parameter feature types...). You can of course find this info by reading the file as text.

 

As to your original question, I'm not aware there is a way to share transformer presets. There is an idea here

 

https://community.safe.com/s/idea/0874Q000000TlDkQAK/detail


danielkroon
Forum|alt.badge.img

Yes, i meant no way to distinguish them when using the fmw reader (and it strikes me as odd that private parameters are published parameter feature types...). You can of course find this info by reading the file as text.

 

As to your original question, I'm not aware there is a way to share transformer presets. There is an idea here

 

https://community.safe.com/s/idea/0874Q000000TlDkQAK/detail

Thank you!