Important Update: Community URLs redirect issues are partially resolved. Learn More. .

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

At times there 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

<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 RSA Archer Custom Objects  sub-community or post your comment below.

NOTE: This is not an RSA 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

VersionDateNotes
1.001/02/2020Initial release.
1.107/24/2020Update 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:
‎2020-01-02 01:00 PM
Updated by:
Contributors