You are viewing limited content. For full access, please sign in.

Question

Question

Invoke Forms Process from a select document in repository

asked on September 18, 2019

Can  Laserfiche Forms process be invoked from a document stored in the repository?
Please could you help me with this, I need to derive a document stored in Laserfiche for the attention of a user through a form in forms.
I hope you can help me.
Thank you, Lourdes.

0 0

Replies

replied on September 19, 2019

Yes

Use in a WF a Generate a URL Token Activity will generate a token with link to the repository document for the Starting Entry or any other Entry.

You write a Starting Rule for the work to Start the WF when a new Document in a specific folder or make the workflow a Business Process available to a user in the repository to click on a Document and Right Click Start Business Process 

Use Invoke Business Process Activity to the Forms server and Form to Start

You use the Form server, User Form and a Form Field to receive the token.

The form will appear in the Forms Inbox!

I created a form called "test new with" single line text field say "ViewDoc"

You pass the token to the form so that the use clicks on the link. Use on the Form

Layout to use a Custom HTML

<a href=%ViewDoc>New Doc for you</a>   or 

use JavaScript/CSS to create an iframe container. to display ViewDoc token

example

$(document).ready(function() {
$("#q5").click(function(){
   $('.frame1').remove();
   var test = $("#q10 input").val();
  var mypath ="lfmobile://1.46.172.128:8070/laserfiche/index.aspx?db=Willowstone#id='"+test+"';view=pages"
              $('#q11').append("<iframe src='"+mypath+"' width=100% height=400px name='frame1' id='frame1'class='frame1'></iframe>");
});
});

 

I hope this has been helpful

David

WF starts a Form.JPG
0 0
replied on September 19, 2019

You can also use the custom tabs feature of the web client to embed a starting form in the right pane. If you use the starting form URL, you can pass in document parameters to the starting form automatically like the entry ID and/or document metadata. 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.