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

More
27 Oct 2015 12:17 #1 by Saidou
Use to topology with physical name was created by Saidou
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
Replied by Cyril Dussud on 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
Replied by Saidou on topic Use to topology with physical name
Thank's,

Can we do this :
Attachments:
More
27 Oct 2015 15:10 #4 by Cyril Dussud
Replied by Cyril Dussud on 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
Replied by Saidou on 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
Replied by Cyril Dussud on 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: