Jump to content
Sign in to follow this  
conanlam

How to get the the value of additional search arguments for list?

Recommended Posts

Hi all,

I am trying to customize the incident list. Because there are different group of users use the same incident form, we set up different stored queries for them. The query will use the a customer field to identify and populate the list.

In the additional search arguments, it will show (type = 'I' AND zformtype.code = 'ZXY').

And now due to different group requirements, they want different set of list columns and search filters.

I tried to use the follow code to customize the filters and list colums, but it did not work.

<PDM_IF "$args.search_sql_clause" : "type ='I' AND zformtype.code = 'ZXY'">
<PDM_MARCO name=sfLOOKup hdr="testing" attr=severity factory=crs_in>
</PDM_IF>

Anyone know how to get the current arguments value?

Thanks,

Conan

Edited by conanlam

Share this post


Link to post
Share on other sites

I have a similar requirement and have been unable to have an IF statement around the Additional Search Arguments that I pass from the Search menu preset. Does anyone have a suggestion?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Announcements

    • Gregg

      Looking for the wiki content?

      12/20/2015

      Until I can transfer the wiki content over to the new Articles, you can find the old content here: http://www.greggsmith.net/wiki.
    • Gregg

      New site logo

      01/06/2016

      A special thanks to brianshs for creating a new site logo!
×