I don't think this should be very difficult but I'm having trouble figuring this out. What I'm doing seems very simple. I'm searching the repository for documents in a folder, looping through those documents with For Each Entry and then wanting to rename the document based on values stored in the parent folders metadata fields.
A couple notes. I can make this work if I use the %(Parent) value as the default value of the field on the document. That works great except for the fact that I use that field for multiple templates. i.e. A field such as First Name. A very common field name and by best practices LaserFiche is telling me to reuse field names whenever I can. The problem is not all my templates using First Name could have the value stored in the parent folder. Users will then have templates that they fill out that have the %(Parent) value prefilled in the box which is ugly and clumsy when filling out the template.
I've researched this site and one article talked about using the Find Entries tool to get the values, I couldn't figure out how to make it work. Maybe I'm missing something, if someone could give me a good example in detail I could see the light.
My workflow goal is this;
Search Repository for docs -> For Each Document -> RENAME BASED ON PARENT FOLDER TEMPLATE values
Any help would be appreciated.