Scheduled Maintenance: Archer Community Temporary Downtime. Learn More here.

cancel
Showing results for 
Search instead for 
Did you mean: 
100% helpful (5/5)
DavidPetty
Archer Employee
Archer Employee

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.

Custom Object 

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>‍‍‍‍‍‍‍‍

Support

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.

NOTE: This is not an Archer supported code and is intended as application/questionnaire customization purposes.  Archer Support or Engineering teams will not be able to support, customize or enhance it.  Use at your own risk!

History

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.‌
Was this article helpful? Yes No
Version history
Last update:
‎2024-05-17 11:13 AM
Updated by: