Need to remove the "Copy" link from the File menu within a Change Order form.

book

Article ID: 14821

calendar_today

Updated On:

Products

SUPPORT AUTOMATION- SERVER CA Service Desk Manager - Unified Self Service KNOWLEDGE TOOLS CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction

In order to restrict analyst users from copying existing Change Order while creating new ticket need to remove "Copy" link from the file menu.



How to remove the "Copy" link from the File menu within a Change Order form.

 

<Please see attached file for image>

1 co.PNG

 

Environment

CA Service Desk Manager 12.9CA Service Desk Manager 14.1

Resolution

Kindly follow below steps to remove the "Copy" link from File menu within Change Order form:

 

1. Copy the file detail_chg.htmpl file from NX_ROOT\bopcfg\www\htmpl\web\analyst to NX_ROOT\site\mods\www\htmpl\web\analyst.

 

2. Open the file in a notepad and search for the below code:

 

   function copy_from_chg() 

if ("$args.KEEP.MAKE_COPY" == "1") 

var exceptions = new Array(); 

exceptions[0] = "SET.affected_contact"; 

exceptions[0] = "SET.requestor"; 

detailCopyEditForm(exceptions); 

}

 

3. Hide or Remove the above function and save the file.

 

4. Run the command pdm_webcache -H from the command prompt.

 

5. As show in the below figure the "Copy" link is no longer available.

 

<Please see attached file for image>

src="/servlet/servlet.FileDownload?file=0150c000004AKaUAAW" alt="2co.PNG" width="277" height="478">

Additional Information

TEC480053

Attachments

1558718100578000014821_sktwi1f5rjvs16ute.png get_app
1558718098478000014821_sktwi1f5rjvs16utd.png get_app