How to call UI macros in to Ui page?

luman
Kilo Contributor

Hi All,

                I want to call ui macro in to ui page so for that i used below tag but its not working and its showing blank page please help me on this.

                  <g:macro_invoke macro="ui macro name" />

Regards,

mahesh

5 REPLIES 5

srinivasthelu
Tera Guru

Hi Mahesh,



You are syntax is correct and it is invoking the macro. The problem is the macro content is completely conditional.



If you wanted to see something getting printed, You need to pass required parameters.



This page includes examples of passing parameters to macro.http://wiki.servicenow.com/index.php?title=Extensions_to_Jelly_Syntax#.3Cg:insert.3E_Versus_.3Cg:inl...



http://wiki.servicenow.com/index.php?title=Extensions_to_Jelly_Syntax#.3Cg:insert.3E_Versus_.3Cg:inl...