Forum Discussion
Former_Member
8 years agoAccelerator III
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.