Hi Guys,
Struggling to obtain the full path from the Tree action and to be inserted into the directory path
Kind Regards,
Dan
The Tree Tool already outputs the full path for all "File System Directory" based selections. I don't think you want to use the Directory Tool after that though. I would either use the Folder Browse Tool with the Directory Tool, or the Tree Tool with something like Text Input Tool (with one column: [Fullpath] and one blank row). The Tree Tool via the Action Tool updates "Data" -> "r" -> "c" then use Text to Columns to Split on "\n" to rows. This will give you full path for all selections.
There might be a better way, or I might be misunderstanding what you're looking to accomplish. Either way, these are my current thoughts.
Hi Andrew,
I tried your approach but in my case the action tool gives me as default as ' Update Cell' instead of 'Update Value'. You understand what I want to achieve
Oh... If you are just doing a single selection, then you don't need the Text to Columns Tool at all. Also, the Update Cell is fine. To test, add a Browse Tool, go to "View" -> "Interface Designer" -> "Properties" (Gear Icon) -> check the box next to the Browse Tool to view output.
Finally run by clicking the wand next to "Run" button to "Run as Analytic App".