It isn't possible to force a macro parameter to be mandatory
But you 'could' check to see if the macro parameter has been set, and has a value in your Macro Partial, and if not write out a message saying "please set the xx property" instead of implementing the Macro functionality when the value is empty!
Mandatory MacroParameters
Is it some way to made mandatory MacroParameters for example I want to reuse textstring and I want to made it mandatory.
Hi HuaweiP9
It isn't possible to force a macro parameter to be mandatory
But you 'could' check to see if the macro parameter has been set, and has a value in your Macro Partial, and if not write out a message saying "please set the xx property" instead of implementing the Macro functionality when the value is empty!
regards
Marc
HI Marc Goodson,
As I think before. Thanks for your fast reply, not it's much clear. This help me a lot.
Thanks
is working on a reply...