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

Question

Question

Hide MetaData Pane in WebLink 10?

asked on September 6, 2018

Hello,

We have a user that is looking to hide the metadata pane in WebLink 10.0.0.915, but is not seeing any option to do so. See screenshot below of the pane they are looking to remove.

The only option found in the WebLink Designer is for the Search Results, which that is already set to "Hide."

We also tried referencing this answers post, but that doesn't look to be working in this scenario, as they are on a newer version of WebLink.
https://answers.laserfiche.com/questions/86646/Hide-Metadata-pane-but-not-Entry-Properties-from-Document-View-in-Weblink 


Is there an option in the code to remove this?

metadata pane.png
metadata pane.png (155.71 KB)
0 0

Replies

replied on November 2, 2018 Show version history

Hi Aharon,

To hide the metadata pane in the browse page you can open up the file styles.css located under INSTALL_FOLDER\Laserfiche\WebLink\WebLink\Web Files\styles.css  and add the following lines 

.browseMain .left-component {
    width: 100% !important;
}
.browseMain .right-component {
    width:0px !important;
}

Similarly in styles.css  you could add the following to hide the metadata pane in the doc viewer

.docViewerMain .left-component {
 width: 100% !important;
}
.docViewerMain .right-component { 
 width:0px !important;
 }

Best,

Cecilia

2 0
replied on November 29, 2018

Hi Cecilia,

Is there a specific way/place that the lines should be added as I've pasted the above into styles.css in the same section as the .browseMain and .docViewerMain settings and we're getting w3wp.exe exceptions on the server?  It's a brand new WebLink install and this is the only change I've made to any design elements so just wanted to check on this before looking elsewhere.

Here are the changes:

 

Thanks,

Mike

0 0
replied on November 29, 2018

Hi Mike, css changes should not have an effect on the server side behavior. Is there a more specific error being reported other than 'w3wp exception'?

0 0
replied on November 29, 2018

Hi Cecilia,

There are errors in the Windows Application Log in Event Viewer for ASP .NET 4.0.30319.0, .NET Runtime, and the w3wp.exe application error, with the ASP .NET error starting with:

An unhandled exception occurred and the process was terminated.

Application ID: /LM/W3SVC/1/ROOT/WebLink

Process ID: 12040

Exception: System.NullReferenceException

Message: Object reference not set to an instance of an object.

 

The errors only started later this morning after I made the css change hence that was my first assumption.  I'm unable to find anything further so unless that's something you recognise I'll open a support case?

Thanks,

Mike

0 0
replied on November 29, 2018

Hi Mike,

Yes this sounds unrelated to the css change.  You're welcome to open a support case about this.

Thanks,

Cecilia

0 0
replied on November 29, 2018

Thanks Cecilia, will do.

0 0
replied on March 27, 2019

How did this turn out? What is the correct code?

 

Thanks

0 0
replied on July 31, 2019

Thanks Cecilia that worked like a charm for me for hiding the metadata pane in Weblink 10! Thanks!

0 0
replied on September 6, 2019 Show version history

Hey All, we are on version 10 with SP1 applied and the above worked great int he document viewer using the provided script in the styles.css file. However I am trying to use the provided script to remove the left detail/metadata pain in the browse window too, and the above does not work. I am also using the browse.aspx from version 8 so as to display the Windows folder view so the left pain is the one that holds the details/metadata and not the right. So I tried the below too. Absolutely nothing happened. I am wondering if this is due to using the older browse.aspx? Any other thoughts? what I really would prefer however is just to remove the path of the document. This would be enough. I also tried hiding the box in the styles.css file too, and all that did was remove the contents of the box leaving it empty but still there.

.browseMain .left-component {
    width: 0% !important;
}
.browseMain .right-component {
    width: 100px !important;
}
0 0
replied on September 6, 2019

yes the styling would be different on version 8 but the idea is similar. You would look for the appropriate css class for the element you want to hide. 

0 0
replied on September 6, 2019

Thank you for getting back to me so soon.

I was able to hide the contents of the left pain, however only the contents. The id is "TheLeftPanel". All that did was remove the contents of the box and leave the box with empty space. I also tried "TheFolderMetadata" with the same empty box. Any way to just block the File Path under the Entry Properties? I do not find an id for that, and also removing the code from the Fields.xsl in the xsl folder does nothing.

0 0
replied on March 1, 2023

@████████can we change this in the cloud?

0 0
replied on March 1, 2023

HI @████████, sorry no there is no support for hiding metadata in cloud. 

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

Sign in to reply to this post.