Overview
For Nintex Approval Task, you will have emails text. Under the email you would add a link to respond to the task such that the link would open the InfoPath Form over the browser.
Issue
Email link to open the form, tries to opens the InfoPath form with rich client as supposed to Browser.
Diagnosis
I have noticed some flakiness with the link in the task email where the reference to “{Common:ItemUrl}” embed the link.
I have noticed in one of our build, clicking on the link tried to download the InfoPath file and open with the Rich InfoPath Client as supposed to open in browser. Below is the link.. and next to it is the HTML snippet of the email..
Email HTML
<P style="MARGIN: 0in; FONT-FAMILY: Arial; FONT-SIZE: 10pt">Click </FONT><property style="COLOR: blue; TEXT-DECORATION: underline" title=Hyperlink contentEditable=false refText="here" link="true" refLink="{Common:ItemUrl}">here</property> to review and respond to the task</P>
Below is the Working link:
.xml">.xml">https://webmail.MyCompany.com/owa/redir.aspx?C=9255f52eea184a3ab087aadad9d7b0da&URL=http://<FileUrl>.xml%26OpenIn%3dbrowser
HTML
<P style="MARGIN: 0in; FONT-FAMILY: Arial; FONT-SIZE: 10pt">Click </FONT><property style="COLOR: blue; TEXT-DECORATION: underline" title=Hyperlink contentEditable=false refText="here" link="true" refLink="{Common:ItemUrl}">here</property> to review and respond to the task</P>
As you can see I had highlighted in the working link the addition of “&OpenIn=Browser” is present at the end of the link. While you will also notice that the HTML snippet is the same.
Well its simple setting that is causing this issue. If you look over the Forms libraries Advanced Settings, you will see that Browser-enabled Documents is set to use the client application.
Simply switch this over to Display as Web Page.
Now any email notifications that get generated after this setting will add the “OpenIn=Browser” query parameter to the link url.
No comments:
Post a Comment