CA Service Management

 View Only

Code for adjusting what fields are copied when using "copy" function

  • 1.  Code for adjusting what fields are copied when using "copy" function

    Posted Aug 27, 2020 11:44 AM
    When a user chooses the "Copy" function for new tickets (in this case - its for Issue tickets), they want some fields to copy over and other fields to be blank for the new ticket.

    I have made the following changes and works successfully.
    • Copied the file (tmplcopy_site.spl) from ...\CA\Service Desk Manager\bopcfg\majic  to  ...\site\mods\majic
    • Added specific code for requested field(s) to be blank under the section (iss::copy_iss_site(...))
    // wipe out the following fields - Latest Update, Category, Group, Assignee, External Ticket ... put in by Katherine in August 2020
    new.zupdatestat = NULL;
    new.category = NULL;
    new.group = NULL;
    new.assignee = NULL;
    new.external_system_ticket = NULL;
    return;
    }
    • Restarted SDM service

    My problem and question is that I don't know what field attribute name to use for the "properties" fields that are selected and based upon the category that was set on the ticket. I tried using (issprp.value) but that did not work.

    Any help would be appreciated.


    thanks
    TheKatherine


    ------------------------------
    System Technologist
    Sheetz Inc
    ------------------------------