cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Need help in MetaWizard to pass value into Wizard macro

Sashidhar
Super Contributor

Hello All,

I need small help in MetaWizard .

I have created a Wizard and I have called it from MetaCommand, Now I stuck in sending data from Metacommand to Wizard ,

Ex : from Sub cmdInvoke (mgobjSource as Megaobject, intCmdNumber as Integer)

I need to send mgobjSource into Wizard , could you please provide your suggestions,

 

Thanks,

Sashidhar

1 Reply

Mounika
MEGA Partner
MEGA Partner

Hello ,

Use the below code to call the wizard from macro

Sub cmdInvoke (mgobjSource as Megaobject, intCmdNumber as Integer)

mgobjSource.Callmethod "~AfLYxbu47b00[WizardRun]", "Wizard name"

End Sub

Now,

In Wizards

You can use Manager.Template to get the mgobjSource