検索 - User list
Full Version: HDA: Relative Path to Node Inside? {[SOLVED]}
Root » Technical Discussion » HDA: Relative Path to Node Inside? {[SOLVED]}
olivierth
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?
olivierth
AHHH!! Found the solution. for the script, instead of:

`details("../myHDA/mySubnetwork/myWrangle", "myAttribute")`

I need to use:

`details("mySubnetwork/myWrangle", "myAttribute")`
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.