Pinned topic Where are DXL hooks to run user-form?
Is there a means in DXL API to run a user-created form?
For example if a user created a form called MyCustomForm, how would it be loaded and run via DXL control?
Mathias Mamsch 2700025PVX2542 Posts
Re: Where are DXL hooks to run user-form?2010-04-13T15:50:31ZThis is the accepted answer. This is the accepted answer.
These userforms are partly accessible through built in perms:
bool deleteModuleForm (Module, string) string getModuleFormAttr (Module, string) string getModuleFormProperties (Module, string) bool updateModuleForm (Module, string, string, string) bool addModuleForm (Module, string, string, string) string getNextModuleFormName (Module, string)
The menu DXL in lib/dxl/standard/moduleForms will take these ModuleFormProperties and generate DXL code from them to create a GUI. This is a very complex process and cannot easily be reproduced, so these perms will be pretty useless for you. So I guess you will have not much luck running a form, unless you use the same code as the (encrypted) dxl library.
What do you want to do with user forms anyway?
Regards, MathiasUpdated on 2013-12-18T23:57:47Z at 2013-12-18T23:57:47Z by iron-man
SystemAdmin 110000D4XK3180 Posts
Re: Where are DXL hooks to run user-form?2010-04-13T16:17:45ZThis is the accepted answer. This is the accepted answer.
- Mathias Mamsch 2700025PVX
However if there is not means to do "Show user-form MyUserForm populated from thisObject", then I'll forget about this idea.
It seems strange something like runModuleForm(string myFormName, Object objectToDisplay) does not exist.
I wonder what happens behind the scenes when a user menu navigates to Tools\Forms\Run Form and (for example) MyUserForm is chosen.
Thanks for you reply in any event.
Gsquare 2700072FQ631 Posts
dxl program to run a form every time a new object is created?2014-08-13T11:06:52ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin 110000D4XK
i want to write a dxl code so that a user defined form is run whenever a new object is created.