Load a specific Dependency view map?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-02-2018 02:31 PM
I'd like to be able to load a specific dependency view map for end users from a UI action or menu option, with custom filters and settings pre-defined. Also, we're looking at dynamically setting the initial focus target of the Dependency map to a specific business service. An example use case would be, I want a button on the Business Service form that takes the end-user to a dependency view for that business service, with the custom filters and settings defined as needed. I'm comfortable creating the UI action, but I don't know if its possible to load a specific ngbsm dependency view via URL.
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-02-2018 03:03 PM
Hi Matt,
Sure you can!
You can use $ngbsm.do
Thanks,
Berny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-02-2018 03:05 PM
The best example on how to use it is the UI macro: task_show_ci_map. This is the macro that gets invoked when within an incident form you can see the dependency view for a given CI.
Thanks,
Berny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-02-2018 03:06 PM
You should be able to find that UI macro in the following link:
yourinstanceurl/nav_to.do?uri=sys_ui_macro.do?sys_id=00599edcc0a8006600d606b47659a16a
I hope this helps
Thanks,
Berny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2018 12:17 PM
Thank you Berny, that is helpful. Is there a documented list anywhere of the available sysparm_attributes we can pass in via URL?
Matt