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

Question

Question

Since we can not resolve shortcuts in Weblink search, can we remove the within folder search option?

asked on June 24, 2014

We are using weblink for users to access short cuts in Transparent Folders.  When client search for short cuts within specific folder weblink does not return anything.  As per previous question (Resolve Shortcuts in Weblink) we know that weblink will not resolve the shortcuts.

 

 

The client wants to modify the search page and eliminate within folder search option from weblink so it does not confuse the users.    The other option would be to associate the within folder search with a field value (which is the same LGMA folder name).  How can we do this? 

0 0

Replies

replied on June 24, 2014 Show version history

Hi Farzali,

 

Have you considered just hiding the dropdown that allows you to choose whether you're doing an entire repository or current folder search?  We can set "Entire Repository" as the default, and then hide the dropdown to ensure that no one is able to choose "Current Folder".  That can be accomplished by adding the following lines to the body of Browse.aspx:

<script>
  document.getElementById('searchLocation').value = '1';
  document.getElementById('searchLocation').style.display = 'none';
</script>

Alternately, you could leave the dropdown and just remove the option to select "Current Folder".  Again, that would be accomplished from Browse.aspx, but would require the following code:

<script>
  document.getElementById('searchLocation').remove(1);
</script>

 

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

Sign in to reply to this post.