CA Service Management

  • 1.  Obtain persistent_id On Survey Page!!

    Posted Jan 06, 2016 03:20 PM

    Guys,

     

    I'm trying to get the value of the persistent_id of the survey

     

    In the "do_svy.htmpl" form i put some arguments like: "${args.call_req_id.persistent_id:}", "$args.call_req_persid" but nothing that I put works.

     

    They would have some idea of how this works?

     

    I need this to make some customizations with a webservice url.

     

    Im doing tests with document.main_form.element.value = "${args.call_req_id.persistent_id:}"; on the top of the form, when i put any arguments that begin with "$cst" the value is presented.

     

    Many thanx!!!!



  • 2.  Re: Obtain persistent_id On Survey Page!!

    Posted Jan 06, 2016 04:07 PM

    Hi if you need persistent id of the survey you should use $args.persisten_id



  • 3.  Re: Obtain persistent_id On Survey Page!!

    Posted Jan 06, 2016 04:09 PM

    Sorry mispelled $args.persistent_id



  • 4.  Re: Obtain persistent_id On Survey Page!!

    Posted Jan 06, 2016 04:26 PM

    Hi Gutis!!

    Thanx for the response!!!

    I need the request persid that the survey is related, not the persid of the survey.



  • 5.  Re: Obtain persistent_id On Survey Page!!
    Best Answer

    Posted Jan 06, 2016 04:42 PM

    try $ext_args.CNTXT_PERSID



  • 6.  Re: Obtain persistent_id On Survey Page!!

    Posted Jan 07, 2016 02:27 AM

    Just be sure to check you're dealing with the right type of object, always assume you get dirty data. I'm not sure what objects will land you on that survey page but if I had to guess I'd say at least cr and chg.



  • 7.  Re: Obtain persistent_id On Survey Page!!

    Posted Jan 07, 2016 06:12 AM

    Gutis!!!!

    You are awesome man!!!!!

    Many thanx!!!!!!!!



  • 8.  Re: Obtain persistent_id On Survey Page!!

    Posted Jan 07, 2016 06:15 AM

    You're welcome