Skip to main content
Question

Outputting published parameters to a textfile or json file

  • November 29, 2019
  • 2 replies
  • 31 views

Im wondering if anyone can help me with the issue i am experiencing. Im attempting to output the published parameters used in a workbench to either a text file or json file, in addition to my shapefile writer. I have tried adding in a feature writer but when i run the workbench although my shapefile data is transformed as expected, the textfile which I want to contain my published parameters also includes all of the attributes which I do not need in the text file.

Perhaps I have missed something extremely obvious or I need to approach another way?

Many thanks

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

jdh
Contributor
Forum|alt.badge.img+40
  • Contributor
  • November 29, 2019

If all you want is the published parameters, then you don't need to link from your data. You can have a separate stream that is Creator ->AttributeCreator|JSONTemplator->FeatureWriter


  • Author
  • December 18, 2019

If all you want is the published parameters, then you don't need to link from your data. You can have a separate stream that is Creator ->AttributeCreator|JSONTemplator->FeatureWriter

Many thanks 'jdh' for the suggestion, thats works far better than what I was attempting, I have now been able to output parameters as required