HDA: Relative Path to Node Inside? {[SOLVED]}
324
1
0
olivierth
Member
1269 posts
Joined: April 2017
Offline
Sept. 22, 2026 10:12 a.m.
Hi!
I made an HDA with a
"Label - Message" that changes depending on an attribute inside the HDA. I'm currently using this kind of script to get the attribute:
` details ("../myHDA/mySubnetwork/myWrangle" , "myAttribute" )`
The problem is when I duplicate the HDA (creating an HDA named
myHDA1 ), the path does not work anymore because of the
1 at the end of the name.
What's the proper way to do the relative path?
Edited by olivierth - Sept. 22, 2026 10:23:39
-Olivier
olivierth
Member
1269 posts
Joined: April 2017
Offline
Sept. 22, 2026 10:23 a.m.
AHHH!! Found the solution. for the script, instead of:
` details ("../myHDA/mySubnetwork/myWrangle" , "myAttribute" )`
I need to use:
` details ("mySubnetwork/myWrangle" , "myAttribute" )`
-Olivier