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

Question

Question

Weblink - Dynamic Column Display

asked on February 18, 2014

We have one user account used for weblink so the public doesn't have to log in.  Is it possible to display the weblink document grid with dynamic columns depending on the URL.

 

For example, if I browse the the url http://server/WebLink/Browse.aspx?startid=1578861, my document grid displays column x, y and z.  If I browse to any other URL, my document grid displays columns w, x and z. 

 

I understand the default columns are stored in the user attributes, but I'm looking to customize this to display columns dynamically based off of the URL's request variable.

 

Thanks.

 

0 0

Answer

SELECTED ANSWER
replied on February 18, 2014 Show version history

There isn't a way to do this by URL, but you can have a different set of columns for each folder.  These are also stored in the user's attributes, with the key "[SETTINGS]ColumnDisplayxxx" (where xxx is the entry id for the folder).  This settings is read recursively up the tree, so you don't have to set it on every folder.  I believe Web Access and the desktop client both write to this attribute when you change your folders, so you should be able to make your changes that way.  You can turn on the per-folder columns in WebLink with the attribute "[SETTINGS]UniqueFolderColumns" set to "Yes".

 

WebLink does cache user settings, so you'll need to recycle the app pool to see changes take effect.

 

Also, be aware that for version 9.1, Web Access and the desktop client write column settings to a new user attribute (to add support for multi-column sort) and the data is not in a backwards-compatible format.  Until we upgrade WebLink to read and understand this new data, you'll need to set the attributes with a pre-9.1 client.

 

Update: I've been informed that although this is how it is supposed to work, there is an active bug report that WebLink doesn't in fact read these settings.  It's SCR 106990 for your reference.

1 0
replied on April 5, 2016

Hi Brian - has this bug been addressed yet?  Thanks!

0 0
replied on May 19, 2016

Hello Brian, I would also like to know if there are plans to be addressed.

0 0
replied on May 19, 2016

This bug is addressed in WebLink 9 which was released March of last year. You can read more about setting attributes and this bug being resolved here: https://answers.laserfiche.com/questions/48648/Weblink-822-setting-default-columns

0 0
replied on May 19, 2016

Hi Justin,

My user is on Laserfiche WebLink Version: 9 Service Pack 1 (9.0.1.275) and is still experiencing the problem.  I started a support case and they said it was a configuration issue rather than a support issue.  We tried all of the methods that are on Answers as well as some screencast that goes over the process.  Not sure where to go from here.  Thanks,

Tim

0 0
replied on May 19, 2016 Show version history

https://answers.laserfiche.com/questions/64430/Despite-following-instructions-Weblink-fails-to-inherit-column-attributes-What-is-the-proper-method-for-implementing-these-changes-globally has a lot of items about it, the most common gotcha is that you need to ensure that [XmlColumnDisplay]HasMigrated exists and has a value of Yes (check out the replies in that post from after the release). 

0 0
replied on May 19, 2016

I've seen that thread and gone through the options there with no luck, unfortunately.  

0 0
replied on May 19, 2016

Do you have the case number related to this? I'll check with support. 

0 0
replied on May 19, 2016

172147

0 0

Replies

replied on May 29, 2018

Hi,

Is there an update on this subject? I am running Laserfiche WebLink Version: 9 Service Pack 1 (9.0.1.275) and I want to setup custom columns for different folders.

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

Sign in to reply to this post.