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

Question

Question

Passing a parameter to Forms via a link causes a line break when the link is emailed via Workflow.

asked on July 25

I am attempting to pass a parameter to Forms in a link that is being emailed to a user via Workflow. No matter how I format it, it is introducing a line break that causes the link to be broken. Here is the URL:

https://URLRedacted/Forms/LPR?process=%(Project)

The break is always introduced where the question mark is. With the value of %(Project)=OIT-Test Project, it looks like this in the email that's received:

https://URLRedacted/Forms/LPR
?process=OIT-Test Process

And the link does not work.

When created using <a href="https://URLRedacted/Forms/LPR
?process=%(Project)">Click Here</a> the link shows up in the browser like this:

https://URLRedacted/Forms/LPR<br>?process=OIT-Test Process

Notice the extraneous <br> in the middle? I have no idea where it comes from. I've tried doing it as plain text instead of HTML and it looks like this in the browser:

https://URLRedacted/Forms/LPR%0B?process=OIT-Test Process

If you look up %0B, guess what it stands for? It's the URL encoding for the 'newline' character.

I thought maybe something it was peculiar about Outlook but I sent it to GMail as well and got the same result.

Any ideas on how to work around this?

This is in LF12.

0 0

Answer

SELECTED ANSWER
replied on July 25

What is your data source for the "https://URLRedacted/Forms/LPR%0B" text? It seems like you have non-visible characters in that data source, so that is what you'd need to fix. Trace it back.

1 0
replied on July 28

That was it. What I did was take the broken URL and pasted it into Notepad++. It pasted with the line break. I ran the 'trim trailing spaces' macro on it (which might not have been necessary), joined the two lines back together and then copied it back into the email in Workflow. Works fine now. Thanks for the catch!

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.