Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • HuaweiP9User 31 posts 120 karma points notactivated
    Jul 20, 2018 @ 07:01
    HuaweiP9User
    0

    Is it some way to made mandatory MacroParameters for example I want to reuse textstring and I want to made it mandatory.

  • Marc Goodson 673 posts 4234 karma points MVP 3x c-trib
    Jul 25, 2018 @ 16:36
    Marc Goodson
    0

    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

  • HuaweiP9User 31 posts 120 karma points notactivated
    Jul 25, 2018 @ 22:24
    HuaweiP9User
    0

    HI Marc Goodson,

    As I think before. Thanks for your fast reply, not it's much clear. This help me a lot.

    Thanks

Please Sign in or register to post replies

Write your reply to:

Draft