Welcome Guest! Log in
×

Notice

The forum is in read only mode.
Due to some maintenance operations, stambia.org will be switched to read-only mode during the 13th November. It will be possible to read and download, but impossible to post on the forums or create new accounts. For any question please contact the support team.

Topic-icon Question Variable in metadata

More
02 Dec 2016 18:15 #1 by MOUDEN_Kenza
MOUDEN_Kenza created the topic: Variable in metadata
Hi,
I want to use the value of a variable 'Principale' in my metadata file, but unfortunately I can't get it's value and I got the error below when I consult the data.
Is my syntax correct?
Attachments:
More
05 Dec 2016 13:41 #2 by Thomas BLETON
Thomas BLETON replied the topic: Variable in metadata
Hi,
Variables are evaluated (or substituted) at execution time by the Runtime, not when consulting / reversing with the Designer.
A good practice is to have a Configuration which uses no variables, for reversing / consulting data.
I hope this helps
More
05 Dec 2016 16:51 #3 by MOUDEN_Kenza
MOUDEN_Kenza replied the topic: Variable in metadata
Hi,
Yes, It helps.
In fact, I used this variable so that I can change the root of my path according to the environment I'm using: Windows or Unix;
when I change the value of the variable to => /root/Track and Trace/ it didn't recognise it and gave me the error => C:\root\Track and Trace\DHL\To_Treat not found.
How can I solve this problem?
Tank you.
More
05 Dec 2016 17:13 #4 by Thomas BLETON
Thomas BLETON replied the topic: Variable in metadata
Variables cannot be evaluated from the Designer.
A solution is to create a Configuration without variables as said above, dedicated to your Designer operations (consult data, reverse...).