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

Question

Question

LF Forms & Custom Toolbar Buttons

asked on May 12, 2015

Hello, 

I am trying to pass a token for the document name into my custom toolbar button, which would represent the form name to be launched. I've had no issues passing tokens to populate metadata within the launched form, but I can't seem to get the right form to launch based on a token. 

Below represents my command configuration for the button...you can see that the %(DocumentName) would represent my form name. Every time I launch this, it just takes me to a pending tasks page. 

C:\Program Files\Google\Chrome\Application\chrome.exe http://localhost/Forms/%(DocumentName)?EntryID=%(DocumentID)

Any ideas to get around this, or is this a potential bug? 

 

0 0

Replies

replied on May 12, 2015

What is the URL you set for the process you wanting to launch? More than likely it is not the document name you are trying to pass in using a token considering a document name would usually contain spaces. Also, I'm not sure what you are trying to do with the EntryID querystring on the end?

0 0
replied on May 12, 2015

The EntryID querystring is working just fine, and my document name is setup to to match the form name exactly, no spaces. 

0 0
replied on May 12, 2015

Forms are not loaded by name. Does your URL match the one displayed in the Publish tab when you edit the process?

0 0
replied on May 12, 2015

I am trying to populate the "EFTReviewProcessing" part of the URL through the Document Name token as previously described. So I select a document, with the name of "EFTreviewProcessing" and click on my custom toolbar button. 

 

 

http://localhost/Forms/%(DocumentName)

0 0
replied on May 12, 2015

Launching Chrome from the command line with a URL works for me. If you're landing on http://localhost/Forms  instead of http://localhost/Forms/EFTReviewProcessing?EntryID=1234, you probably want to look at IIS logs or Wireshark/Fiddler logs to see what the request coming in is and where it gets redirected.

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

Sign in to reply to this post.