12-22-2015 02:03 AM
01-27-2016 11:51 AM
C:\Alfresco5\tomcat\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\blog\blog-post.get.js
if (result.status.code == status.STATUS_OK)
{
// Strip out possible malicious code
var post = JSON.parse(result.response);
if (post && post.item && post.item.content) {
post.item.content = stringUtils.stripUnsafeHTML(post.item.content);
}
return jsonUtils.toJSONString(post);
}
else
{
status.code = result.status.code;
status.message = msg.get("message.failure");
status.redirect = true;
}
//Another one.
C:\Alfresco5\tomcat\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\wiki\page.get.js
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.