New module - Argument field: when to use it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-29-2013 09:29 AM
Hi,
I read the Wiki page : wiki.servicenow.com/index.php?title=Administering_Application_Menus_and_Modules
But I still have a question: when should I use the "argument" field? Only if the module link type is URL, HTML or Script? The Wiki says "is required for specific link types" but that's all...
In all other cases, this field is simply ignored? Why is it not hidden? (I mean in the module creation form... )
If I use a link type "List of records", could you please confirm that I just need to define a filter if needed, but no need to repeat the condition in the "Argument" field?
Many thanks for your help
- 5,460 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-29-2013 03:12 PM
You can actually use both but arguments you will probably most use to specify the view to use displaying a list of records.
Example where filter and arguments is used in combination:
Filter: Active is True
Arguments: ^short_description=TEST&sysparm_view=ess
This will lead to a list of records being opened in the Self Service view with a filter
active=true^short_description=TEST
You dont need to repeat the condition in the Arguments field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2017 06:14 PM
Hi,
I would like to group by a field and have that as my view for list of records. how can I accomplish this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-02-2013 07:18 AM
Cristal clear! Thanks! (should be added to the Wiki... )