cancel
Showing results for 
Search instead for 
Did you mean: 

Structure Element ID in cFolders

Former Member
0 Kudos

Hi,

In any cFolders structure, the structure elments (like Folders, Documents and other similar objects) have a unique ID.

I want to have a field "Structure Element ID" in Structure element meta-data (Creation of Field is possible through Creating the Alias) which should automatically show the Unique ID Number for that element.

Please help on this.

Regards,

Nishit Jani

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Very interesting requirement.

One way of doing it is as follows -

1. Create alias for every element in the collaboration through FM CFX_API_ALIAS_CREATE. Please read the FM documentation for the details.

2. Get the GUID of the collaboration elements (Folders, documents etc.) through FM CFX_API_COL_GETSTRUCTURE.

3. Use FM CFX_API_ALIAS_BS_SET_VALUE to write the GUIDs of the elements to the alias created for the element.

Let me know if it was of any help.

Regards,

Debaranjan Hazarika.