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

Question

Question

Hide MetaData Pane in WebLink 11

asked on May 12, 2023

Hi,

Is there a way to hide the right pane? I am particularly looking to hide the Path. Picture is attached of the Weblink home page:

Thanks in advance.

LF_question_Weblink.png
0 0

Answer

SELECTED ANSWER
replied on April 5, 2024

Thanks Wes.

0 0

Replies

replied on May 24, 2023 Show version history

Samsudeen,

 Open up DocView.aspx file in a text editor, copy the following code and paste it right above the </body> tag.

<script type="application/javascript">
(function() {

    var proxied = window.XMLHttpRequest.prototype.send;
	var sent = false;
    window.XMLHttpRequest.prototype.send = function() {
		sent = true;
        var pointer = this
        var intervalId = window.setInterval(function(){
			console.log('Ready State: ' + pointer.readyState);
                if(pointer.readyState != 4){
                        return;
                }
                clearInterval(intervalId);
				if(sent)
					hide_details();
				sent = false;			

        }, 1);
        return proxied.apply(this, [].slice.call(arguments));
    };

})();

function hide_details(){
	console.log('?');
	$("div:contains(Path)").closest('tr').hide();
}
</script>

Save the file and make sure you refresh the browser in order to see the change.

 

Hope this helps!

Wesley Funderberg

1 0
replied on April 5, 2024

Thanks Wes

SELECTED ANSWER
replied on April 5, 2024

Thanks Wes.

0 0
replied on June 29, 2023

Hi Wesley,

 

I attempted to implement this script into the docview.aspx file but the right-hand pane continued to show up.  I did try implement your answer from a  previous post about implementing the change in the browse.aspx file and transferred that script to docview.aspx and it did work at least partially.

 

The detail pane was completely hidden, but annotations and the right pane in general was still showing (which I think is expected behavior based on what I see in the script).

 

Do you know what would need to be done to remove the entire right pane altogether, so that only the document itself would show?

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

Sign in to reply to this post.