Need help getting the parent folder ID for an item
Solved! Go to Solution.
Hello Whitney,
Could you please explain further? Do you need the name of the folder that the item/document resides in? I'm not sure what you mean by the ID. Could the path of the item help in this case?
Here's what you can do:
Get the folder name by stripping the prefix and suffix, then query for an item with this
Hey Andrew,
Thanks for responding. I am trying to capture the parent folder ID/path of each item in the library, so that I can pass all the metadata from the parent folder to the items within the folder (the folder metadata is updated through a task sent to an end user, the task is created when a daily site workflow kicks off and captures any folder not yet updated, (more info: the folders are created when user emails the contents to the library)). Instead of assigning a task per item to the team, I wanted to send out one task for the folder level and then update on the items within the folder once the data was available.
I have tried numerous options, but no luck.
Let me know if you need further explanation.
Thanks again!
Whitney Harris
Shared Services IT
Business Applications Support Analyst
whitney.harris@gasoc.com<mailto:whitney.harris@gasoc.com>
x7081
Hey Alexey,
Thanks for your response. I am going to attempt this! ☺
Whitney Harris
Shared Services IT
Business Applications Support Analyst
whitney.harris@gasoc.com<mailto:whitney.harris@gasoc.com>
may i ask on what part you used the value of FileRef variable and what part did you get the value for the ParentFolderName variable
Thanks
Did this work? I am curious....
HI Alex,
may i ask on what part you used the value of FileRef variable and what part did you get the value for the ParentFolderName variable ? What is ParentFolderName ? is it choice, I mean is name a choice filed ?