CA Service Management

  • 1.  Additional query option

    Posted May 05, 2017 04:36 AM

    Hi Team,

     

    When we open list_cnt page or for that matter any list page we get "more" button & "additional Arguments" field. Can some1 please tell me from which page does these fields come? I checked the list_cnt page and couldn't find the same. The issue is, it is taking some default value when the list_cnt page loads, which we dont want to happen.

     

    This happens in our new env i.e. r14.1.03 but the in r12.6 this field remains blank.

     

    Thanks



  • 2.  Re: Additional query option

    Posted May 05, 2017 05:49 AM

    Hi,

    as I know there is 2 ways to affect search params:

    - pass actual param using URL, example: OP=SEARCH+FACTORY=cnt+QBE.EQ.userid=ServiceDesk, this example will show list of users with ServiceDesk userid;

    - pass kind of flag (mostly used KEEP array) using URL, example: OP=SEARCH+FACTORY=cnt+KEEP.grp=1, then list could contain condition like this:

    <PDM_IF "$args.KEEP.grp" == "1">

    <!--- something here ---!>

    </PDM_IF>

     

    You can get (I hope this works ) actual url in this way:

    - open decided form;

    - open browser's console and type: ahdframe.location.href

    Regards,

    cdtj



  • 3.  Re: Additional query option

    Posted May 08, 2017 03:16 AM

    hI cdtj, thanks for the reply. But I didnt quite understand. I got this link which says the additional query argument field's value is coming from  search_filter.js file (Where is "Additional Search Arguments" defined - Customizations / Modifications - ServiceDeskUsers )

    Below is the issue what I'm facing:

    When we click on Child CO Owner(detail_wf.htmpl), the list_cnt page opens.

    As you can see, when the show filter button is clicked, the additional search argument field on this page

    is taking some default value, due to which the users are facing issues. 

    Once the additional arguments are removed and searched we find relevant records.

     

    So now, I dont want any value in the mentioned field. Is there any way to achieve it??



  • 4.  Re: Additional query option

    Posted May 08, 2017 08:48 AM

    Raghu.Rudraraju Any inputs?



  • 5.  Re: Additional query option

    Posted May 08, 2017 09:48 AM

    Have you created this custom field or it's someone else's work?

     

    How is it declared in the detail_wf.htmpl file?



  • 6.  Re: Additional query option

    Posted May 09, 2017 01:10 AM

    Its been used since r12.6, some1 elses' work ..

    detail_wf.htmpl

    <PDM_IF "$args.task.zchngcat" != "">
      <PDM_MACRO name=dtlLookup hdr="Child CO Owner" attr="zchildcoowner">
     </PDM_IF>



  • 7.  Re: Additional query option

    Posted May 10, 2017 12:52 AM

    Any inputs team?



  • 8.  Re: Additional query option

    Posted May 10, 2017 01:29 AM

    Hi,

    as I found there is no solution for this error:

    AHD05348 Error while updating the group members 

    Developing a solution to hide warning messages in CA Service Desk Manager 

     

    Going to your search params, you can try to search over htmpl forms for that UUID (you can use totalcmd for that purposes).



  • 9.  Re: Additional query option

    Posted May 10, 2017 02:37 AM

    Hi cdtj , thanks for the reply. But I'm not concerned about the error AHD05348 as of now.

    I believe ,the UUID that populates in the text field, doesn't come from the HTMPL pages because it changes when the group name field mentioned in the detail_wf page changes.



  • 10.  Re: Additional query option
    Best Answer

    Posted May 10, 2017 03:16 AM

    This very very strange, because as you specified:

    <PDM_IF "$args.task.zchngcat" != "">
    <PDM_MACRO name=dtlLookup hdr="Child CO Owner" attr="zchildcoowner">
    </PDM_IF>

    dtlLookup haven't any additional search params:

    extraURL=string

    Specifies a where clause predicate in URL format to restrict the contents of the control.

     



  • 11.  Re: Additional query option

    Posted May 10, 2017 06:32 AM

    Thanks for suggesting extraURL , I tweaked the code as below and it seems to be working fine  

     

    <PDM_IF "$args.task.zchngcat" != "">
    <PDM_MACRO name=dtlLookup hdr="Child CO Owner" attr="zchildcoowner" extraurl="ADDITIONAL_WHERE=">
    </PDM_IF>