Call UF from Dynamic Code. Is it possible ?

Guillaume Fougerat

Hi Experts,

I'd like to know if it is possible to call an UF from Dynamic Code ?

If Yes, could you give me a code example ?

Tanks a lot for your answer.

Guillaume

Comments

3 comments

  • Comment author
    Thomas
    • Official comment

    Hey Guillaume,

    You can try this, change the bolded part to the UF code you want to run.

    Try UniversalFunctions.Module.ActivateUniversalFunction(SBO.AddonLogic.Addon.AddonData, eventForm, "UF-CODE", "Macro");

    Let me know if it works!

    Best regards,

    Thomas

  • Comment author
    Guillaume Fougerat
    • Edited

    Hi Thomas,

    It works perfectly !!

    Thank you very much for your quick reply !

    Best regards,

    Guillaume

    0
  • Comment author
    Thomas

    Hey,

    It's great to hear that, have a great work week!

    Best regards,

    Thomas

    0

Please sign in to leave a comment.