Public Document

From LongJump Support Wiki
Revision as of 02:29, 5 January 2012 by imported>Aeric (Created page with "A public document is one that can be viewed by anyone who has login privileges in the platform. It is also one that has a generated link, which y…")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A public document is one that can be viewed by anyone who has login privileges in the platform. It is also one that has a generated link, which you can use in a JSP/Html Page or put into an email.

To make an uploaded file Public:

  1. Workspace > All Items > Documents
  2. Click [Edit]
  3. Click the checkbox to make it a Publicly Available Document
  4. Click [Save]
The image properties section for a public document contains the field, URL for Public Document, that contains a URL you can use to reference the document. That URL can then be put into an email, used as a bookmark, or put into a JSP/Html Page.
The generated link looks like this (with newlines added for readability):
https://{domain}/networking/RepositoryPublicDocDownload
   ?id={document_id}
   &cid={company_id}
   &encode={media_type}
where:
  • document_id - The unique identifier for the document.
  • company_id - The unique identifier for your instance of the platform
  • media_type - Identifies the file's Media Type. For example, image/png or text/plain.