- My View
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.
Sure you can!
You can use $ngbsm.do
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.
You should be able to find that UI macro in the following link:
I hope this helps
Thank you Berny, that is helpful. Is there a documented list anywhere of the available sysparm_attributes we can pass in via URL?
You're welcome Matt!
I don't there's a formal documentation around $ngbsm.do. Often this type of knowledge is learned by taking a look within the platform on how it is been used.
Hi Matt @mattp , do you believe we can close this thread by marking one of the responses as correct?