Difference between revisions of "Public Document"
From LongJump Support Wiki
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…") |
imported>Aeric |
||
Line 1: | Line 1: | ||
A public document is one that can be viewed by anyone who has login privileges in the platform. | A public document is one that can be viewed by anyone who has <!--OLD: login privileges in the platform-->the link. When an existing document is edited and declared Public, a [[Documents#Link_to_a_Document|generated link]] appears that you can use in a JSP/Html [[Page]] or put into an email. | ||
{{:Common:Public Document}} | {{:Common:Public Document}} |
Revision as of 01:26, 17 February 2012
A public document is one that can be viewed by anyone who has the link. When an existing document is edited and declared Public, a generated link appears that you can use in a JSP/Html Page or put into an email.
To make an uploaded file Public:
- Workspace > All Items > Documents
- Click [Edit]
- Click the checkbox to make it a Publicly Available Document
- 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.