CA Service Management

Expand all | Collapse all

Read only date field without attribute

Jump to Best Answer
  • 1.  Read only date field without attribute

    Posted 07-12-2017 12:39 PM

    Hi,

    I have asked to populate the 'custom date'  on to the detail page. It should be read only field.

    the read only date field is calculated and processed in the custom java script function.

     

    Challenge is how to populate the read only date field on to the detail page with out having attribute, in place of the attribute i want to pass the java script value this helps me to avoid creating the custom column (schema).

     

    Thank you,

    Venkat



  • 2.  Re: Read only date field without attribute

    Posted 07-12-2017 04:42 PM

    Hi Venkat - I dont believe you can display anything without having an attribute physically exist.

    Regards,
    Jon



  • 3.  Re: Read only date field without attribute

    Posted 07-12-2017 04:47 PM

    Hi Jon,

     

    I hope OOTB JS functions detailRowHdr() and detailSetRowData()  might help here, I will test using these functions and share the results tomorrow.

     

    Thank you,

    Venkat



  • 4.  Re: Read only date field without attribute
    Best Answer

    Posted 07-13-2017 06:43 AM

    detailRowHdr() and detailSetRowData()  does the Job. Thank you.

    detailRowHdr("My Header") ;
    detailSetRowData("My Data Here");

     

    Venkat