I would like to publish documents in weblink dynamically, then retrieve the public portal link of each document in workflow.
Any suggestion would be greatly appreciated.
Question
Question
How to publish a document dynamically in weblink
Answer
Weblink is a readonly access to all document in Laserfiche, so as soon you put a new document in laserfiche, you will see it in weblink
You can have a workflow that will detect new document and get a weblink link to new specific document (using is Entry ID) and do a what you want with this link
as exemple send it by email to someone, or save that link into a table in a database, etc...
Replies
Hi Amir,
If you're going to host your weblink from a seperate repository, then you'll need to define some criteria around the document which makes it publishable. Perhaps the simplest method would be a field which is called "Publish", and the users can set this to either yes or no/blank. This can then be linked to a starting rule on the workflow to copy this document to the other repository, thus making it available in Weblink.
If you are using Laserfiche Rio, you will be able to install weblink in a test environment first, I would strongly recommend doing this and having a play with workflows/copying docuemnts and firstly come up with a concept of how you are going to control this. Then build this out in your test environment and have a play, also get the users involved and ensure this meets their expectations.
If you haven't done so already I would strongly recomment looking at the workflow CPP's, this will give you some valuable insight into what you'll need to set this up.
Hope this helps point you in the right direction as a starting point.
Hi Chris,
thank you for the answer, but i think that what amir would know is if there is a way to set weblink do i sort of synchronisation from the repository automatically when a document is added.
what i mean is for exemple i have a folder HR in my repository which is published on weblink...when a new employee join the company i add the related documents in that folder (HR which is already published) does weblink automatically publish the new documents or are we obliged to do it manually?
i want to know how does work does weblink pull the docs from the repository or did it copy the docs somewhere
this is the fisrt step.. the second is to generate the link this can be done with workflow i think.
Hi Hanane,
There is no auto publish rules within web link. Everything is controlled through Laserfiche Workflow.
Weblink is a readonly access to all document in Laserfiche, so as soon you put a new document in laserfiche, you will see it in weblink
You can have a workflow that will detect new document and get a weblink link to new specific document (using is Entry ID) and do a what you want with this link
as exemple send it by email to someone, or save that link into a table in a database, etc...
thank you RENE that was what i were wondering