Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hi all,
I'm new to acl and ArborText, and I am hoping somebody here could help me with an issue I'm having.
I am creating a script to manage the chunking process, where by all chunks saved to the server are saved in a folder structure that resides in the same folder where the top most file lives. so I have something like
file TopMost.xml
dir allLvlOnes
dir allLvlTwos
dir allLvlThrees
etc.
When chunking a file the first time my script works fine, because I'm using "dm_browser::current_folder();" to find the base folder to append my relative path to.
However when I check out a file and add say a lvlThree object to my lvlTwo object I need to put it into it's correct folder, but obviously "dm_browser::current_folder();" will be empty when checking in this file, and so it treats it as a "Windchill relative" and throws it into the Library/AllLvlThrees.
My first thought is of getting the path of the parent element, and going back one directory, so something like "../parent".
I'm not sure the best way to do this, and have tried looking though some documents without much luck. Can anyone assist me with a line or a document I can read? I'd greatly appreciate it.
Many Thanks in advance