Load a specific Dependency view map?

mattp
Tera Contributor

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!

7 REPLIES 7

bernyalvarado
Mega Sage

Hi Matt,



Sure you can!



You can use $ngbsm.do



Thanks,


Berny


bernyalvarado
Mega Sage

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


bernyalvarado
Mega Sage

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


Thank you Berny, that is helpful. Is there a documented list anywhere of the available sysparm_attributes we can pass in via URL?



Matt