In my InfoPath-Form I would like to provide the user with a link to a specific SharePoint-Task:
concat("http://intranet.weinmann.com/resultprotocol/Lists/Tasks/EditForm.aspx?ID=", my:SPTaskID, "?Source=http://intranet.weinmann.com/resultprotocol/Lists/Tasks/AllItems.aspx?FilterField1=ProtocolID&FilterValue1=", my:ResultProtocolID)
So I inserted a hyperlink that is partly dynamic and it works (of course) so far so good. It is resolved to this:
http://intranet.weinmann.com/resultprotocol/Lists/Tasks/EditForm.aspx?ID=237&Source=http://intranet.weinmann.com/resultprotocol/Lists/Tasks/AllItems.aspx?FilterField1=ProtocolID&FilterValue1=1
When the task is saved, the user shall be redirected to the Source-Parameter, in this case http://intranet.weinmann.com/resultprotocol/Lists/Tasks/AllItems.aspx?FilterField1=ProtocolID&FilterValue1=1
However the last part "&FilterValue1=1" is interpreted as a parameter of the first URL altogether.
I tried to wrap the Source-Parameter with this " (how do i quote this :-), and single ', but both wouldn't work.
Any ideas?
Thanks!