I want the number of sub-form inside another sub-form??
HI
I want to count the number of subform inside another subform.
Here's my code make changes to it.
Please Respond faster.
debugger;
var options = {};
var iCount = 0;
options.fieldId = 'SubformDetailInfo'; //Subform's internal Name
eFormHelper.getSubFormdata(options, function (result) {
if (result.isSuccess) {
console.log(result.data);
iCount = result.data.length;
}
else {
console.log(result.error);
}
});
-
正式なコメント
Suraj,
GetSubformData returns back a JSON data which can processed to get the count value.
Reference code: I stored the logged data into global variable performed regular JavaScript code.

Thanks
AgilePoint NX Support
コメントアクション
サインインしてコメントを残してください。
コメント
1件のコメント