Hi,
We are using the Web Utils plugin to extract the contents of a html_area and save it to the server. In order to get the data we are using a callback funtion to do so. This has been working in a number of test environments without problems. Now we are getting ready for production and are using actual data in the system. This is where it is going wrong. As soon a the contents of the HTML_AREA exceed approx 4000 characters the callback is not fired. There is no error message displayed, but the code just stops. There is a lot of info in the area, so we almost always go over the limit of 4000. Here is the code involved:
function dataObtainedSave(text) {
content = '<body>' + text + '</body>';
databaseManager.saveData();
application.closeForm(true);
}
plugins.WebClientUtils.executeClientSideJS('var vText = $(\'.the_html_area\').val();', dataObtainedSave,['vText']);
As said the code just stops, so the dataObtaindedSave is not firing, the data is not saved and the form is not closed. I’m really hoping someone can help here, since we can not go into production without this feature installed.