Question

1
Replies
272
Views
Close popover
Satish Kumar Salla (SatishKumarS4000)
Ernst & Young Services Private Limited

Ernst & Young Services Private Limited
IN
SatishKumarS4000 Member since 2017 2 posts
Ernst & Young Services Private Limited
Posted: January 31, 2018
Last activity: January 31, 2018
Closed

Set Html long string field around 34,000 characters to clipboard property using javascript

Our activity fails at the following code, It is accepting only below 5000 chars,

var Result=document.getElementById("signData").value;

var oSafeURL = new SafeURL();

oSafeURL.put("pyActivity","---------------------");

oSafeURL.put("OutputData", Result);

var callback = {

success: function (oResponse) {

alert("success");

},

failure: function (oResponse) {

alert("activity call failed");

}

}

pega.u.d.asyncRequest('POST', oSafeURL, callback);

Thanks & Regards,

Satish

***Moderator Edit: Vidyaranjan | Updated Categories***

Data Integration Java and Activities
Moderation Team has archived post