You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

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):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!