Cant find the UI Macro => "ci_relations.xml" for UI Formatter Legacy CI relationships?

gaura
Kilo Contributor

Cant find the UI Macro => "ci_relations.xml" for UI Formatter Legacy CI relationships?

3 REPLIES 3

bernyalvarado
Mega Sage

Hi Gaura,



To make sure we're talking about the same thing. You're referring to the line:


<g:inline template="ci_relations.xml"/>


which exists in the UI macro: ui_ng_relation_formatter



I believe that by design that UI macro is not visible to mortals like you and I



Thanks,


Berny


bernyalvarado
Mega Sage

Hi gaura, do you have any further questions? Do you believe you can mark the response as helpful/correct so that we can close this thread?



Thanks,


Berny


Hi Berny,


So the orignial problem I am facing is regarding the formatter named "Legacy CI Relationships " , on this formatter which can be included on CMDB items is used to see the CMDB relations. Now I want to format this formatter so that inactive relations are not visible. This is only possible if I will change the code of the existing formatter, and for that I need to look at the original code too. Or I will have to write a new UI Macro and hence the formatter, that doesnt display the inactive relationships.



So I was hoping to have a look at the ci_relations.xml



I would like to keep this question open for a while so that I may get atleast a template to work with while creating the UI Macro.



Thanks,


Gaura