CA Service Management

 View Only
  • 1.  [EDIT IN LIST] attributes shown between " ? " -> ?attribute?

    Posted Jan 27, 2016 04:51 AM

    Hello, good Morning!

     

    we are facing a quite strange behaviour on our custom forms!

    Our goal is to edit the "Edit in List" parameters, according to the requirements. To achieve that, is needed to add 3 new search/edit fields on there.

     

    Although, from those 3 fields (eg: x,y,z) , just 1 is being correctly shown, i mean, without "?" wrapping the attribute name.

     

    Checking the form source code, all fields are identically declared:

     

    <PDM_MACRO name=elsEditField attr_name="z_nombre" startrow="yes">

    Output: ?z_nombre?

    <PDM_MACRO name=elsEditField attr_name="z_notas">

    Output: ?z_notas?

    <PDM_MACRO name=elsEditField attr_name="z_monitor" endrow="yes">

    Output: "Monitorizado" (CORRECT!)

     

    What am i doing wrong?

     

    Greetings,

    Ivo



  • 2.  Re: [EDIT IN LIST] attributes shown between " ? " -> ?attribute?

    Posted Jan 27, 2016 05:48 AM

    Hi,

    you need to add these attributes in regular search filter,

    search filter input type will affect input in list edit,

    for example if you add it as:

    <PDM_MACRO name=sfLookup hdr="z_monitor" attr=z_monitor>

    it will be shown as Lookup field in list edit.

     

    Regards,

    cdtj



  • 3.  Re: [EDIT IN LIST] attributes shown between " ? " -> ?attribute?

    Posted Jan 27, 2016 06:23 AM

    I already have that fields defined on regular search criteria fields, included on columns of results!

     

    <PDM_MACRO name=lsCol hdr="Propaga" attr=z_nombre>

    <PDM_MACRO name=lsCol hdr="Notas GIS" attr=z_notas>



  • 4.  Re: [EDIT IN LIST] attributes shown between " ? " -> ?attribute?
    Best Answer

    Posted Jan 27, 2016 06:57 AM

    So you have:

     

    Search filter:

    <PDM_MACRO name=sfLookup hdr="Propaga" attr=z_nombre>

    List edit:

     

    <PDM_MACRO name=elsEditField attr_name="z_nombre" startrow="yes">

     

    Result list:

     

    <PDM_MACRO name=lsCol hdr="Propaga" attr=z_nombre>

     

     

    Right?

    If all previous defined correctly and makes no sense, you can try to manually define header:

     

    <PDM_MACRO name=elsEditField attr_name="z_nombre" header="Propaga" startrow="yes">

     



  • 5.  Re: [EDIT IN LIST] attributes shown between " ? " -> ?attribute?

    Posted Jan 28, 2016 03:58 AM

    You're right!

    It works with your hint! thanks a lot for your time/help !

     

    Greetings,

    Ivo