pega javascript api run data transform
pega.u.d.attachOnload(function(){
var options = {
name: "Test" ,
contextPage: "Data-Portal",
event: "Dom"
}
pega.api.ui.actions.runDataTransform(options);
console.log("excuted");
});
I'm trying to use pega javascript api and run this code but it always gives me " can not read properties of undefined "