How to convert SDP to a ADP using Javascript in vb
Summary:
Hi Experts
I'm trying to convert SDP to ADP with below javascript function but it is throwing error as shown below. Please help
JS function:
define(["ojs/ojarraydataprovider"], (ArrayDataProvider) => {
'use strict';
class PageModule {
convertSDPToADP(arg1) {
console.log(new ArrayDataProvider(arg1, {
keyAttributes: 'id'
}));
}
}
return PageModule;
});
Error:
Content (please ensure you mask any confidential information):
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):
Tagged:
0