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

Question

Question

custom columns for subfolders

asked on March 4, 2016 Show version history

I have a directory structure like the following

  • Cases
    • Case 1
      • Events
      • Photos
      • Documents
    • Case 2
      • Events
      • Photos
      • Documents

 

I have three templates one for the Events, one for Photos and one for Documents.    I would like to have custom column headers based on the template for each folder type.

 

So Events columns would be the Event Template.

 

Is this possible?

 

 

 

0 0

Replies

replied on March 7, 2016

A couple thoughts on how to approach this scenario:

  • Use Columns Settings 'Remember for each folder'. This is set in the options page (version 10) or the settings dialog (versions 8 and 9). With the option, you have to manually go through set up your columns for each directory. Once this  this setting is enabled, Web Access will automatically remember the columns for each folder. 
  • Use Column Profiles. These are a series of saved column layouts that you can easily switch between. Here, users would have to switch the column settings themselves for a given directory (go to saved columns, select column profile for Events, for instance). But there's less to configure.

 

Both of these options are saved on individual user level. However, you can push them out to each user by applying their user settings attribute to the everyone group. 

0 0
replied on March 8, 2016

Thanks for the suggestions,  I have played with both the scenarios you mentioned,  but neither gets me what I need,  since folders are added daily.    I will try adding the sdk tag to project maybe someone has a way to accomplish with sdk.

 

0 0
replied on March 8, 2016 Show version history

The column layouts are stored as an xml document in the user's attributes ([XmlColumnDisplay]Data). If you have programming capabilities you can modify this xml every time a folder is added. The structure is undocumented but it is relatively simple. There is a set of layouts, each with an id and a list of columns:

<layout id="1">
  <columns>
    <column Type="System" ColCode="N" Width="183" SortPriority="1" SortOrder="A" />
    <column Type="System" ColCode="C" Width="228" />
    <column Type="System" ColCode="L" Width="147" />
  </columns>
</layout>

Each folder gets an element that specifies which layout ID to use:

<folder id="275280" layoutid="1" />

When the xml document gets larger than about 1500 characters it needs to be split using the MULTI-ATTR method:

[XmlColumnDisplay]Data: MULTI-ATTR:2

[XmlColumnDisplay]Data0: xml chunk 1

[XmlColumnDisplay]Data1: xml chunk 2

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

Sign in to reply to this post.