Forum Discussion

Jenli's avatar
Jenli
Creator I
5 years ago

Adding a new column in Collab-folders issue

Hi Team,

I am trying to add a " locked_by id "column (who locked the folder) on the collab-folder page, what i did is coping a piece of code of other columns in cFolderStructureConfig.xml, however not sure what these "id" values should be set here and how to get those "id" values
I maked on the screenshout below. Thank you for your help. -jen

8 Replies

  • Hi Jenli,

    I am not super familiar with the collab folder project. Is all the configuration just done in the xml, or was there some configuration itemtype also?

    If it´s really just about the ids and if everything is specified in this xml:

    I would create a fake id for your custom 'tgc_view ColumnDef' and resue this one everywhere where an 'tgc_view ColumnDef' is used (e.g. config_id, keyed_name, etc..).
    All user and permission ids should be fine as long as you want to stick to the original setting.

    Do you know, where the link between locked_by_id and your custom column is made?

    • Jenli's avatar
      Jenli
      Creator I

      Hi Angelalp,

      As you suggested that I created a fake id and changed related ID as the same one. 

      Also, I found out the link between locked_by_id and column, and made some changes on it as needed, finally it is working now! Thank you! -Jen

      Here is the link code below,

    • Jenli's avatar
      Jenli
      Creator I

      Hi Angelalp,

      I may have one more question here, I am trying to set Ascending or descending order of a column as default , made some changes in this xml file still not working. Any thoughs on this? Thanks.
      -jen

      • angela's avatar
        angela
        Catalyst II

        Have you tried using an orderBy attribute in one of the Item tags?

        e.g.:<Item type=myitem" orderBy="sort_order desc" ....>

        Also I am not sure if things are so easy to solve with collab foders. Doesn´t it normally render the data as multi level structure?

  • Modifying Collaborator Access Levels; Transferring Folder Under the Permissions column, click the user's access level to modify it.

    DGCustomerFirst