cancel
Showing results for 
Search instead for 
Did you mean: 

Update Status Folder level to Document Level in cFolders

Former Member
0 Kudos

Hi,

In our structure of the cFolders, the user create Folders in the collaboration Scenario. And under one Folder there will be many documents.

Both the Folder and Document have the same status setting.

So if the user update the status in Folder Level, then it should update the status to the below document level also.

But currently, it is not the case. the user has to update the status in Folder level and then to document level to update the status.

So is there any where we can set automatic update of status when folder level status is updated.

Regards,

Ani

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dear Ani,

As far as I know there is no direct way to do it. You'll need to implement some customisation to do it.

One of the ways in which it can be done is as follows -

When you change the folder level status you can call the following function module CFX_API_COL_GETSTRUCTURE or CFX_API_FOLDER_GETSTRUCTURE to get the structure of the collaboration or the folder. Once you have the GUIDs of the lower level elements of the folder you can use the function module CFX_API_OBJECT_STATUS_CHANGE to change the status of all the lower level elements of the folder to the status you want.

Let me know if you find some easier way to do it.

Regards,

Debaranjan Hazarika

ulf_petzel
Advisor
Advisor
0 Kudos

Hi,

the function modules mentioned or any code that you want to fire to change other objects when executing a status transition be called within an implementation of BADI CFX_STATUS_TRANS, which can be found easily in cFolders Customizing. This should be a nice way to do the "inheritance" of status switch on higher level.

Regards, Ulf.

Answers (0)