As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
public class CommentsController extends AbstractWebScript { private ServiceRegistry serviceRegistry; @Override public void execute(WebScriptRequest req, WebScriptResponse res) throws IOException { WebScriptServletRequest servletRequest = (WebScriptServletRequest) req; response.setContentType("application/json"); String nodeId = "afef8c4e-2022-49dd-8427-9321d4f84491"; // write the json object for all the comments } }