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 Use to topology with physical name

More
27 Oct 2015 12:17 #1 by Saidou
Saidou created the topic: Use to topology with physical name
Hello,
I come to you on the topology. In Sunopsis we could do this: <% = snpRef.getSchemaName ("NOM_DU_SCHEMA_LOGIQUE", "D")%>. Did you this possibility in STAMBIA.

Thank you for your response
More
27 Oct 2015 13:40 - 27 Oct 2015 13:41 #2 by Cyril Dussud
Cyril Dussud replied the topic: Use to topology with physical name
Hi,
You can use xpath expressions to get information about metadata elements.
To know the available xpath expressions for an element, rigth click and look in XPath and Global XPath :



Then the syntax to use it is :
%x{<xPathExpression>}x%

Example :

Attachments:
Last Edit: 27 Oct 2015 13:41 by Cyril Dussud.
More
27 Oct 2015 14:07 #3 by Saidou
Saidou replied the topic: Use to topology with physical name
Thank's,

Can we do this :
Attachments:
More
27 Oct 2015 15:10 #4 by Cyril Dussud
Cyril Dussud replied the topic: Use to topology with physical name
Can you give more details about the context in which you want to use it ?
1 - Is it in a process ? in a mapping ? ...
2 - What do you want to do exactly ?
The xpath solution proposed in my last message should work to substitute the name of the schema.
More
27 Oct 2015 16:59 - 27 Oct 2015 17:04 #5 by Saidou
Saidou replied the topic: Use to topology with physical name
The context that I use it in a process.
My objective is to make my file directory defines metadata. Instead of writing all the way, I only put the logic diagram.

Thank you
Attachments:
Last Edit: 27 Oct 2015 17:04 by Saidou.
More
28 Oct 2015 10:08 #6 by Cyril Dussud
Cyril Dussud replied the topic: Use to topology with physical name
Hi,

To be able to use the xpath expressions of a metadata element, drag and drop it on the action from the project Explorer, and then use it like this :
%x{$Name_Of_Metadata_Link/<xpathExpression>}x%

For example :



Here we copy a file directly to a directory

You can use too process parameters to change dynamically with
${<parameter>}$ syntax

Or variables with
%{<variable>}$ syntax (don't forget to drag and drop the variable on the process)

See Designer's Help Content if you need further informations for parameters, variables ,...
Attachments: