CA Service Management

 View Only
  • 1.  Trouble Editing Category in Edit-in-List Mode

    Posted Mar 06, 2019 03:18 PM

    When I am trying to edit/change the Category field for several Incident tickets via the Edit in List mode/function, it does not allow me to save the changes.

     

    I click the edit in list button and for the category field, it shows the word "false" ... I am able to enter a new category but the Save button does not become available to select. All the other fields listed work just fine.

     

    In my file (list_in.htmpl) the following lines are entered:

    <SCRIPT LANGUAGE="JavaScript">
    <pdm_jscript file=list_edit.js>
    startListEdit(__search_filter);
    listEditStartRow();
    listEditReadonly("ref_num","Incident #");
    listEditField("status");
    listEditField("priority");
    listEditField("problem.ref_num")
    listEditField("rootcause.sym","Cause Code");
    listEditEndRow();
    listEditField("category.sym");
    listEditField("zstore.name","Store#");

    listEditField("parent.ref_num");
    listEditField("caused_by_chg.chg_ref_num");
    listEditField("group");
    listEditField("assignee");
    listEditReadonly("summary",4);
    endListEdit();

     

     

    Is there something wrong with the attribute name I am using in above code or is there somewhere else I need to check and be sure that attribute is set properly?

     

     

    thank you

    TheKatherine



  • 2.  Re: Trouble Editing Category in Edit-in-List Mode

    Posted Mar 06, 2019 03:40 PM

    The field needs to be displayed in the list for the edit in list system to work!

     

    You can display Catagory in a column or in the additionnal section.



  • 3.  Re: Trouble Editing Category in Edit-in-List Mode

    Posted Mar 06, 2019 04:23 PM

    Category is displayed in a column within the list.

     



  • 4.  Re: Trouble Editing Category in Edit-in-List Mode
    Best Answer

    Posted Mar 06, 2019 04:49 PM

    Found the problem from another post here on the community from back in 2013 (Issues getting field look up working in List edit view - Issues getting field look up working in List edit view ) and made the suggested changes in my Dev and Test environments and all is working properly now.

     

    The attribute setting in the list column section was set for attr=category and the attribute setting in the edit-in-list section was set for attr=category.sym

     

    Once I changed them to both be category.sym all worked correctly .. current category showed up and my change of the category was saved and took effect.

     

     

     

    thanks for the help

    TheKatherine



  • 5.  Re: Trouble Editing Category in Edit-in-List Mode

    Posted Mar 06, 2019 04:54 PM

    I was about to say : both column and edit field must have the exact same

    attribute

     

    Glad you found it.

     

    >