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

Discussion

Discussion

Grayed out metadata options on Laserfiche Web Access

posted on December 6, 2017

Hello all,

I want to know if there is a possible solution in making these highlighted options greyed out on Laserfiche Web Access.

 

 

Thanks to advise of any suggestions.

Sheila

 

 

0 0
replied on December 6, 2017

Hi Sheila,

 

The following JavaScript may assist in making the links inactive, which is what it seems like you're trying to do. This script is to be added to the Browse.aspx file. Also remember to add the script again to the file when performing upgrades of Laserfiche Web Client, as this might be overwritten with new files.

 

$('.propertiesList').find('a').css({'pointer-events':'none','cursor':'default'});

Regards,

Sheldon

0 0
replied on December 6, 2017

Hello Sheldon,

I have added this piece of code just before the </html> tag in the Browse.aspx page of Web Access. It does not seem to make those links as inactive. If you can please advise.

 <script type="text/javascript">
    $(document).ready(function () {
    $('.propertiesList').find('a').css({'pointer-events':'none','cursor':'default'});
    });
    </script>

0 0
replied on December 7, 2017

Hello Sheila, 

please try to add just this line 

$('.propertiesList').find('a').css({'pointer-events':'none','cursor':'default'});

to the script which is already there.

Should look something like so:

 

Kind regards

Tomas

0 0
replied on December 7, 2017

Hello Tomas,

Please see my codes and it is not working as expected

<script type="text/javascript">
    waWindow.context = <%= ContextJson %>;
    $(document).ready(function () {
    $(document.body).prepend($('<div style="display: none">').load('Assets/images/svg_icons/waicon_all.svg<%= RepositoryParam %>'));
    $('.propertiesList').find('a').css({'pointer-events':'none','cursor':'default'});
    });
    </script>

0 0
replied on December 7, 2017

Hi Sheila,

 

Please attach the Browse.aspx file that's been edited so we can take a closer look.

 

Thanks

Sheldon

0 0
replied on December 11, 2017

Hello Sheldon,

Any update to grey out the metadata options?

 

Thanks

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

Sign in to reply to this post.