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

Question

Question

Weblink 9 Custom Column Views per Folder

asked on June 4, 2015

Can Weblink 9 (everyone group attribute I assume) be setup to show unique columns for each folder?

If so, what is the exact syntax used in XMLColumnDisplay?

I have hundreds of folders to configure uniquely hoping to fully take advantage of Templates and Metadata.  I'm hoping I don't have to sit and Export/Import XML all day.  While WL9 has made a minor stride in custom column view (actually you made a major bug fix and then formatted in XML), it appears to be a tad cumbersome. 

This was helpful a little bit: http://www.screencast.com/t/bk0xGQ9PNe  Although, he should have gone a little quicker. (sarcasm)

0 0

Answer

SELECTED ANSWER
replied on June 4, 2015 Show version history

If you use a specific public user account that users log in as, you can also just set up all the columns in the Client or Web Access as that user. You only need to use the everyone group if this is supposed to apply to users logging in as their own credentials, not a combined public user. 

1 0

Replies

replied on June 4, 2015

You can accomplish this through the UI or through directly modifying user attributes. To do it through the UI, open up the Client and in the options, enable unique folder columns. This will give you the attribute [Settings]UniqueFolderColumns set to True (or just manually add this attribute).

Once this is done, columns will be set and shown for each individual folder in your repository. If you don't set a column layout on a specific folder, it will adopt it from the closest parent folder. So once that attribute is set to true, set up the root folder to a default column layout and then you can modify the layouts on whichever individual folders you choose. When you are done setting the columns, sign out of the client and go to the Administration console to the user you logged in with. In the attributes, look for [XMLColumnDisplay]Data and it should automatically write the xml for you. From there, you can copy and paste the information from both the UniqueFolderColumns attribute and the Data attribute to the everyone group. 

If you want to just code in the attribute, I left an example below. The top parts define a few different column layouts (you can customize as many as you would like), and the bottom part assigns each layout to specific folders. The allfolders layout is used if you don't have UniqueFolderColumns enabled, and the folder id section is used when you do. 

<?xml version="1.0" encoding="utf-16"?>
<columndisplay generatedby="Laserfiche Client 9.2.1.562">
<layouts>
<layout id="1">
  <columns>
    <column Type="System" ColCode="N" Width="202" SortPriority="1" SortOrder="A"/>
    <column Type="System" ColCode="C" Width="162"/>
    <column Type="System" ColCode="L" Width="153"/>
    <column Type="System" ColCode="X" Width="175"/>
    <column Type="System" ColCode="P" Width="75"/>
    <column Type="System" ColCode="T" Width="175"/>
  </columns>
</layout>
<layout id="2">
  <columns>
    <column Type="System" ColCode="N" Width="414"/>
    <column Type="System" ColCode="X" Width="91"/>
  </columns>
</layout>
<layout id="4">
  <columns>
    <column ColCode="N" SortOrder="A" SortPriority="1" Type="System" Width="202"/>
    <column ColCode="X" Type="System" Width="175"/>
  </columns>
</layout>
</layouts>

<allfolders layoutid="1"/>
<search layoutid="2"/>
<folders>
  <folder id="1" layoutid="1"/>
  <folder id="679" layoutid="4"/>
</folders></columndisplay>

 

2 0
replied on January 6, 2016

I have tried to do this for my public user as well. However, I can't assign a license to this user and so I have to login as another limited user and copy the attributes from one to the public user. It does not work for me. It keeps the settings that were set in the public weblink for that user and by that user and does not use the attributes that I set manually. Is there another way to do this?

0 0
replied on January 6, 2016

Never mind. I set the HasMigrated property to Yes and that made it work. Thanks for the steps above. I have been trying for so long to get it to work and it is now. Very useful.

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

Sign in to reply to this post.