AnsweredAssumed Answered

Is that possible to access HTML (static/dynamc) page on alfresco from application ?

Question asked by prabakaran on Jun 12, 2014
Latest reply on Jun 12, 2014 by prabakaran
Hi Guys,

Below is my scenario,

@RequestMapping(value = "/sample", method = RequestMethod.GET)
public String sampleMethod(Model model) {
      // Code here
      return "test/sample";
   }

here is that possible to point my HTML page on Alfresco, like below

@RequestMapping(value = "/sample", method = RequestMethod.GET)
public String sampleMethod(Model model) {
      // Code here
      return "http://localhost:8080/alfresco/d/d/workspace/SpacesStore/123f412-b1b2-4378-8b9k-16b3ed40caf8/sample";
                (or)
                return "http://localhost:8080/alfresco/public/alfresco/versions/1/sites/'+ parentFolder.getPath() + "/" + fileName;
   }

Thanks

Outcomes