5 Replies Latest reply on Jun 12, 2013 12:14 PM by nilsheuer

    How to preview files in Apps ? - JiveServlet

    dcarreno

      Hi

       

      I'm developing an App where I need to show document preview, so, I used the JiveServlet with some paramater values for an specific pdf file and it worked fine.

       

      The parameters I saw I need to set for the servlet are:

       

      JiveServlet/previewBody/<internaldocid>-<doctypeid>-<versionid>-<docbodyid>/<file-name>

       

      Using the Javascript v3 API I can get the internaldocid, doctypeid and versionid but I haven't found how to get the docbodyid.

       

      So, Is there a way to get docbodyid with the API?  or,  is there another recommended way to show documents preview in Apps?

       

      Thanks!