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

Question

Question

Search Syntax from Hyperlink has Backwards Slash Inputs

asked on September 17, 2020

Hi Everyone,

 

Coming across a strange issue - not sure if anyone else has come across something similar.

 

We have a form with a custom HTML field which includes a hyperlink to a Web Client search URL, which is supplied to the form from a workflow.

 

The link shows the URL it's navigating to, with the proper search syntax. When the link is clicked, it will load into the web client (as expected), however it loads in the syntax with the \ for the repository location backwards (i.e. "\Parks & Recreation\Facilities\Playgrounds" will return as "/Parks & Recreation/Facilities/Playgrounds"), so it returns no results.

 

Screenshot attached of the example - notice the slashes in the query in the wrong direction, but in the correct direction on the hyper link.

 

Thanks!

 

Bryan

Example.png
Example.png (29.88 KB)
0 0

Answer

SELECTED ANSWER
replied on September 17, 2020

Hi Bryan,

I used this post as a guide and was able to replicate your issue, as well as a fix. 

I'm guessing you're using either a Invoke Business Process activity or a Set Business Process Variables activity in your workflow. In the Properties pane of whichever activity you're using, in the Starting Variable Values area, right-click the token you're using to fill your form variable and open the Token Editor. From there, click "Apply Function," and choose the "Encode URI" function. That will allow workflow to pass your search syntax properly so the link in your form works.

Let me know how that goes!

8.3.4
0 0

Replies

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

Sign in to reply to this post.