Adobe Campaign | Update schema in java script

 Problem: How to update a schema attribute in the javascript activity of the Adobe campaign


//Update the sample schema to set the myattr to “test”

function updateSample(test){

 xtk.session.Write(<sample _operation=”update” myAttr={test} _key=”@id” id={primaryKeyID} xtkschema=”nms:sample”></sample>);


Leave a Reply

Your email address will not be published. Required fields are marked *

Enable Notifications OK No thanks