Scheduled Maintenance: Archer Community Temporary Downtime. Learn More here.
2020-01-02 01:00 PM - edited 2024-05-17 11:13 AM
At times their needs an ability to hide the ability to copy a record because copying a record would copy over approval and such. With the following custom object both the Copy in the toolbar and the right-click (within a record) menu will be hidden.
Add the following function to your custom object in each application/questionnaire that requires the copy feature to be hidden.
Archer Version 6.6.x
<script type="text/javascript">
$('#master_btnCopy').hide();
$('.rmLink:Contains("Copy")').parent().parent().hide();
</script>
Archer Version 6.7.x , 6.8.x, and greater
<script type="text/javascript">
$('#master_btnCopy').hide();
$('.rmText:Contains("Copy")').closest('li').remove();
</script>
If you have any issues with this custom object, feel free to create a Discussion in the Archer Custom Objects Forum or post your comment below.
Version | Date | Notes |
---|---|---|
1.0 | 01/02/2020 | Initial release. |
1.1 | 07/24/2020 | Update the custom object to reflect the differences in syntax for the different version of Archer. Thanks Eric Bays for catching this. |