When using WF 8 and 9, the process of assigning or changing a default user folder is buried deep in the interface. Is there a way to automate this process via a script/API call/SQL query, either in 8, 9, or 10?
When using WF 8 and 9, the process of assigning or changing a default user folder is buried deep in the interface. Is there a way to automate this process via a script/API call/SQL query, either in 8, 9, or 10?
For Laserfiche users, the default folder is stored in the user attributes: [Workflow]WorkingFolder. They can be updated through the LF SDK.
For Windows accounts, the default folder is stored in the Workflow database. See this thread for more information.
Thanks, Miruna -
From the thread you mentioned I see in reference to a Windows account situation:
"If you use Windows accounts through an Active Directory trustee provider in Workflow, then their folder mappings are stored in the SQL DB associated with WF, not the LF one. You would have to update the user_param table. The users are stored by their AD unique identifier."
So now getting to the idea of automating this process, if we had a naming convention for the default folders, we could run a scheduled task or workflow to check for the presence of a default folder for every user in user_param, and add one if it is not there. Is that all it takes?