Electronic Document URLs
By default, the URL for an electronic document has the following structure:
- http://servername/laserfiche/ElectronicFile.aspx?db=repositoryname&id=id
- servername = the name of the server where Web Access is installed
- repositoryname = Laserfiche Repository
- id = Entry ID.
Customizing Electronic Document URLs
You can customize electronic document URLs with the mode parameter. The mode parameter is used to specify how an electronic document will be opened (either through the Web Access Office Integration or by exporting and downloading it) and whether the document will be checked out.
- mode=export-checkout downloads and checks out an electronic document.
- http://servername/laserfiche/ElectronicFile.aspx?db=repositoryname&id=id&mode=export-checkout
- mode=export downloads an electronic document.
- http://servername/laserfiche/ElectronicFile.aspx?db=repositoryname&id=id&mode=export
- mode=officeplugin opens an electronic document with the Web Access Office Integration. If the electronic document is not an Office document, it will be downloaded instead.
- http://servername/laserfiche/ElectronicFile.aspx?db=repositoryname&id=id&mode=officeplugin
- mode=officeplugin-checkout opens an electronic document with the Web Access Office Integration and checks out the document. If the electronic document is not an Office document, it will be downloaded instead.
- http://servername/laserfiche/ElectronicFile.aspx?db=repositoryname&id=id&mode=officeplugin-checkout
The mode identifier can also be included in URLs for electronic documents to check in those documents. Set mode=checkin to check in an electronic document simply by following the link.
When checking in a document via a URL, you can specify how the document should be added to the repository.
- mode=checkin checks in a document.
- http://servername/laserfiche/ElectronicFile.aspx?db=repositoryname&id=id&mode=checkin
- mode=checkin-newlink checks in an electronic document as a new version in the link group. If a link group does not exist, one will be created.
- http://servername/laserfiche/ElectronicFile.aspx?db=repositoryname&id=id&mode=checkin-newlink
- mode=checkin-newversion Checks in an electronic document as a new version and places it under version control if necessary.
- http://servername/laserfiche/ElectronicFile.aspx?db=repositoryname&id=id&mode=checkin-newversion
- mode=checkin-newdocument checks in an electronic document as a new document.
- http://servername/laserfiche/ElectronicFile.aspx?db=repositoryname&id=id&mode=checkin-newdocument
- mode=checkin-overwrite checks in an electronic document, overwriting the repository copy.
- http://servername/laserfiche/ElectronicFile.aspx?db=repositoryname&id=id&mode=checkin-overwrite