Hi Experts,
I want to create record of a custom entity in JavaScript which I am able to do but I also want to send Form Id into it.
How can I do that?
e.g. For entity X, I have two forms "Main1" and "Main2"
Scenario:
if(condition){
Create record of entity X with form "Main1"
}
else{
Create record of entity X with form "Main2"
}
Code:
I am using code something like this
var objectValues= new Object();
SDK.REST.createRecord(objectValues, "<EntityName>", callBackFuction, function (error) { alert(error.message); });