Enable dynamic subfolders in SharePoint ECM

3 Years Ago
JorgeR
HOW TO'S

Summary

When using the ECM integration feature in Bizagi, documents uploaded in processes are stored directly at your corporate ECM system.

With this feature, Bizagi will use a service account to store these documents into a predefined ECM repository's folder.

In certain situations, you may want to store these documents into separate sub-folders of this main repository folder.
This is so, because certain ECM systems such as SharePoint, may have constraints regarding the amount of documents allowed for storage in each folder.

Therefore and in order to avoid administration tasks overhead, you may choose to enable the creation of dynamic sub-folders when using the ECM integration feature in Bizagi (option only available when using SharePoint).

Applies to

Bizagi 10.6.1 or later.

Steps

The session duration is set by the most restrictive configuration. Review the following options in order to set the same value for each configuration:

1. Edit the web.config (by default located at C:\Bizagi\Projects\[your_project]\WebApplication) and the BizAgi.Scheduler.Services.exe.config files (by default located at C:\Bizagi\Projects\[your_project]\Scheduler) so that it includes this key:

<add key="ECMSharepointStoreOnTreeMode" value="true"/>

2. Save the files above and restart your server.

Considerations

By enabling the dynamic sub-folder creation, documents in SharePoint will be stored as:
[SharePoint_base_URL]/[Repository]/[subfolder_1]/[subfolder_2]/[subfolder_3]/

Consider:

  • [subfolder_1]: This subfolder will be named with information related to the case identifier. Its formula which defines its name is: idCase % 1000
  • [subfolder_2]: This subfolder will be named with information related to the case identifier. Its formula which defines its name is: (idCase / 1000) % 1000
  • [subfolder_3]: This subfolder will be named with information related to the case identifier. Its formula which defines its name is: (idCase / 1000000) % 1000
Rate this Article:

Details

Last Modified:3 Years Ago
Last Modified By: Andread
Type: HOWTO
Level: Advanced
Article not rated yet.
Article has been viewed 3.1K times.

Options