Question
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***
Hi Satish,
Thank you for posting your questions on the Product Support Community.
It looks like you have created duplicate threads for the question- Set Html long string field around 34,000 characters to clipboard property using javascript. To avoid confusion and to ensure the discussion continues on a single thread I’ll close the duplicate thread: https://pdn.pega.com/community/product-support/question/set-html-long-string-field-around-34000-characters-clipboard
Request you continue the conversation in this thread: https://pdn.pega.com/community/product-support/question/we-have-html-javascript-response-code-around-35000-characters
Thank you for your cooperation!
Regards,