Skip to main content
Solved

SchemaMapper - source file as parameter?

  • May 13, 2019
  • 4 replies
  • 61 views

lazarlubomir
Contributor
Forum|alt.badge.img+10

Hello everybody,

I´m trying to find a way, how user can define source file for SchemaMapper. It´s all about editing source file for SchemaMapper on user side and then he will run a workspace.

But, my main question - is there any way, how user can edit mapping file (with adding of new columns) and then incoming features will be automacally mapped? And is there any way, how can user choose a mapping file? I checked that at choosing mapping file, there is no possibility to set source mapping file as parameter. Do You have any idea, how to dynamically change SchemaMapper transformer?

Thank You so much!

Lubo

Best answer by takashi

As well as dataset for a reader/writer, You can create a User Parameter linked to the source dataset or link the source dataset to an existing User Parameter, on the Navigator window.

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.

4 replies

takashi
Celebrity
  • 7843 replies
  • Best Answer
  • May 13, 2019

As well as dataset for a reader/writer, You can create a User Parameter linked to the source dataset or link the source dataset to an existing User Parameter, on the Navigator window.


lazarlubomir
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • 165 replies
  • May 14, 2019

As well as dataset for a reader/writer, You can create a User Parameter linked to the source dataset or link the source dataset to an existing User Parameter, on the Navigator window.

Hello @takashi, @david_r,

yes, thank You so much! Unfortunately, it is only one part of my problem. Yes, I can define schemamapper source file via User parameter. Anyway, please just imagine situation, when user modified source file for schemamapper (adding some columns for filtering, adding some columns for new attributes). Is there any way, how to dynamically change Filter conditions, New attribute condition etc. based on modified source file? I checked that e.g. Map attrs parameter in SchemaMapper transformer is not able to be linked to User parameter.

Thanks a lot!

Lubo


david_r
Celebrity
  • 8394 replies
  • May 14, 2019

Hello @takashi, @david_r,

yes, thank You so much! Unfortunately, it is only one part of my problem. Yes, I can define schemamapper source file via User parameter. Anyway, please just imagine situation, when user modified source file for schemamapper (adding some columns for filtering, adding some columns for new attributes). Is there any way, how to dynamically change Filter conditions, New attribute condition etc. based on modified source file? I checked that e.g. Map attrs parameter in SchemaMapper transformer is not able to be linked to User parameter.

Thanks a lot!

Lubo

As far as I know, that is unfortunately not possible. I do not think you can parametrize much else than what is visible in the Navigator tree.


lazarlubomir
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • 165 replies
  • May 15, 2019

As far as I know, that is unfortunately not possible. I do not think you can parametrize much else than what is visible in the Navigator tree.

@david_r, thank you for confirmation!