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 122 karma points notactivated
    Jul 20, 2018 @ 07:01
    HuaweiP9User
    0

    Mandatory MacroParameters

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

  • Marc Goodson 2157 posts 14435 karma points MVP 9x 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 122 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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies