Having issues with a relative file path within control containers and nested standard macros. Workflow images and a yxzp are attached for reference.
Directory structure:
- \top
|- \macros
|- main.yxmc (parent macro)
|- \utils
|- getter.yxmc (child macro)
|- \source
|- source.xlsx
As a stand alone, the getter works just fine with a relative file path of "..\..\source\source.xlsx". However, when the getter is called from main the input tool errors due to a relative path of "..\source\source.xlsx" as if it was called from the parent macro.
Using absolute references produces the expected results so, I guess this isolates the problem to how relative file paths work within control containers and nested macros.
Any advice or am I just using control containers the wrong way?
Solved! Go to Solution.
Answering my own question.
It seems that the input tool should be placed outside of the control container in the child macro. Would still love to have everyone's thoughts/advice.
User | Count |
---|---|
57 | |
26 | |
24 | |
21 | |
20 |