How to open non-modal window with custom form?

オフライン
Hi, I'm using the following code in a javascript method to open a custom form via an action:
var fetchForm = this.getInnovator().newItem("Form","get");
fetchForm.setProperty("name","myForm");
var formId = fetchForm.apply("get").getID(); 

// set form params
var param = { 
    title  : "MyCustomForm",
    formId : formId,
    aras   : top.aras,
    partId : this.getID()
};

top.aras.modalDialogHelper.show("DefaultModal", window,  param, options, "ShowFormAsADialog.html");
This works well, but I'd like the window not to be modal. How does one open a non-modal dialog with Aras? (I haven't found any documentation for this part of the Aras Javascript API) We're using 11.0 SP3 at the moment. Cheers, /Marcus
Parents
  • Former Member
    Former Member
    Hello I am trying to open “form”of “item type” in another relationship item type through action. with the reference to above code But when I am trying below code it gives error. Error: aras_object: "undefined": "undefined" Client side error. Here is my code var Rid = this.getUserID(); var fetchForm = this.getInnovator().newItem("Form","get"); fetchForm.setProperty("name",""); var formId = fetchForm.apply("get").getID(); alert (formId); // set form params var param = { title : "R_abc", formId : formId, aras : top.aras, partId : this.getID() }; top.aras.modalDialogHelper.show("DefaultModal", window, param, options, "ShowFormAsADialog.html"); return this; Please help me.
Reply
  • Former Member
    Former Member
    Hello I am trying to open “form”of “item type” in another relationship item type through action. with the reference to above code But when I am trying below code it gives error. Error: aras_object: "undefined": "undefined" Client side error. Here is my code var Rid = this.getUserID(); var fetchForm = this.getInnovator().newItem("Form","get"); fetchForm.setProperty("name",""); var formId = fetchForm.apply("get").getID(); alert (formId); // set form params var param = { title : "R_abc", formId : formId, aras : top.aras, partId : this.getID() }; top.aras.modalDialogHelper.show("DefaultModal", window, param, options, "ShowFormAsADialog.html"); return this; Please help me.
Children
No Data