You are viewing limited content. For full access, please sign in.

Question

Question

Is there a way to automate default user folder creation?

asked on January 19, 2016

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?

 

 

0 0

Answer

SELECTED ANSWER
replied on January 27, 2016

In theory, yes.

0 0

Replies

replied on January 19, 2016

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.

0 0
replied on January 27, 2016

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?

0 0
SELECTED ANSWER
replied on January 27, 2016

In theory, yes.

0 0
replied on January 27, 2016

And as Yogi Berra said, "In theory, there is no difference between theory and practice.  In practice, there is."

I'll let you know what we find out.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.