Welcome Guest! Log in
×

Notice

The forum is in read only mode.
Stambia versions 2.x, 3.x, S17, S18, S19 and S20 are reaching End of Support January, 15th, 2024. Please consider upgrading to the supported Semarchy xDI versions. See Global Policy Support and the Semarchy Documentation.

The Stambia User Community is moving to Semarchy! All the applicable resources have already been moved or are currently being moved to their new location. Read more…

Topic-icon Question How to access metadata property from a variable?

More
04 Dec 2019 17:04 #1 by cbouin
Hello,

I have a file server metadata defined (let's say "StambiaWorkFolder").
In a mapping, I would like to get this folder path property, in order to fill in a template option
("Work Folder" from template "Action Process LOAD Rdbms to Mssql) .

How could I achieve this?

Thanks
More
05 Dec 2019 18:02 - 05 Dec 2019 18:03 #2 by Thomas BLETON
Replied by Thomas BLETON on topic How to access metadata property from a variable?
Bonjour

Une solution consiste à déposer la metadata du dossier dans un process principal afin de définir un paramètre global du process :


Expression du paramètre : %x{$Datafiles/tech:path()}x%

Ensuite dans le mapping référencer le paramètre global du process :



Est-ce que cette solution peut vous convenir ?
Attachments:
    Last edit: 05 Dec 2019 18:03 by Thomas BLETON.
    More
    09 Dec 2019 11:51 #3 by cbouin
    Bonjour,

    C'est exactement ce dont j'avais besoin.
    Testé et approuvé.

    Merci!