Hallo! I want to set a global variable in an subtemplate which i can get from another subtemplate, is there any function possible ? Its like a gett- and sett-function.
Thanks for answers.
Hallo! I want to set a global variable in an subtemplate which i can get from another subtemplate, is there any function possible ? Its like a gett- and sett-function.
Thanks for answers.
yes two different subtemplates (workspaces). Also how to define a variable in one workspace.
yes two different subtemplates (workspaces). Also how to define a variable in one workspace.
However, the scope of a global variable is within the workspace which contains the variable definition, and its value exists only while the workspace is running.
I don't think there is a way to directly refer a variable defined in a workspace from another workspace.
yes two different subtemplates (workspaces). Also how to define a variable in one workspace.
yes two different subtemplates (workspaces). Also how to define a variable in one workspace.
i tried it with " b="$aVariable" ", but he show allways an error.
yes two different subtemplates (workspaces). Also how to define a variable in one workspace.
yes two different subtemplates (workspaces). Also how to define a variable in one workspace.
in subtemplate 1 i want to set the value in which road i be with an Value (1,2,3,...) and in subtemplate 2 i want to check if I'm in road 1 or 2 and so on to get the right nodes from my lanes.
yes two different subtemplates (workspaces). Also how to define a variable in one workspace.
You probably would have to consider other approach rather than global variables, in order to achieve your goal. We could think of a solution if you would explain the conditions and the requirements specifically.
yes two different subtemplates (workspaces). Also how to define a variable in one workspace.
See also here: FME Terminology
yes two different subtemplates (workspaces). Also how to define a variable in one workspace.
yes two different subtemplates (workspaces). Also how to define a variable in one workspace.
yes two different subtemplates (workspaces). Also how to define a variable in one workspace.
Okay if that is impossible to get one variable from one subtemplate to an other i have to go an other way to create an .xml structure. Which other possible way's could i go to create an xml file with a defined structure ?