Clarity Service Management

Expand all | Collapse all

how open in edit mode a link of lookup field

  • 1.  how open in edit mode a link of lookup field

    Posted 01-10-2019 04:41 AM

    HI,

     

    I'm looking for a solution for when in the detail cr/in/pr and I do click a link of the assignee or another link then open that detail of record in edit mode and not in reading mode.

     

    At present, I only found the solutions to add new options to the context menu in list windows.

     

    Regards.



  • 2.  Re: how open in edit mode a link of lookup field

    Posted 01-22-2019 04:24 AM

    quick and dirty:

     

    add following code to the end of the loadActions() function:

     

    jq("a[pdmqa='log_agent'],[pdmqa='assignee']").each(function() {
     jq(this).attr("href", jq(this).attr("href").replace("DetailWithPersid", "Edit"));
       });