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
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
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
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>
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
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>
Hi Sheila,
Please attach the Browse.aspx file that's been edited so we can take a closer look.
Thanks
Sheldon
Hello Sheldon,
Any update to grey out the metadata options?
Thanks