The workflow is assigned to a Forms Library and sends an email about
assigned task.

---------------------------------------------------------------------------------------
Task assigned by {account} on {date}

To complete this task:

Review {IPdocument}.xml.
Perform the specific activities required for this task.
Edit this task to mark the task as completed.
----------------------------------------------------------------------------------------

The link "Review {IPdocument}.xml" has the following format

http://sharepoint/SiteName/_layouts/FormServer.aspx?XmlLocation={Library}/{IPdocument}.xml

and this is wrong - when you click on it, you get an error message,
because: "The URL {Library}/{IPdocument}.xml is an unsupported
relative URL. Use an absolute URL or prefix with '~sitecollection',
for a site-collection-relative URL."

Any thoughts?

To reproduce this behavior, add a standard "Collect Feedback" as a
workflow and start it (the same issue for custom workflows in
VS.NET)... "Approval" workflow is working fine (the link is correct)

Re: InfoPath(?) sends a wrong link to IP document (workflow, tasks) by wolvie3421

wolvie3421
Mon Feb 26 11:49:25 CST 2007

I think this is a bug in sharepoint. I've found that if you make the
form library to open with the infopath client by default then the
links will be fine. If an end user does not have the client, the form
will be forced to open in the browser and the links will also be
fine.


On Feb 26, 5:30 am, "Alexey Smirnov" <alexey.smir...@gmail.com> wrote:
> The workflow is assigned to a Forms Library and sends an email about
> assigned task.
>
> -------------------------------------------------------------------------=
--=AD------------
> Task assigned by {account} on {date}
>
> To complete this task:
>
> Review {IPdocument}.xml.
> Perform the specific activities required for this task.
> Edit this task to mark the task as completed.
> -------------------------------------------------------------------------=
--=AD-------------
>
> The link "Review {IPdocument}.xml" has the following format
>
> http://sharepoint/SiteName/_layouts/FormServer.aspx?XmlLocation=3D{Librar=
y}/{IPdocument}.xml
>
> and this is wrong - when you click on it, you get an error message,
> because: "The URL {Library}/{IPdocument}.xml is an unsupported
> relative URL. Use an absolute URL or prefix with '~sitecollection',
> for a site-collection-relative URL."
>
> Any thoughts?
>
> To reproduce this behavior, add a standard "Collect Feedback" as a
> workflow and start it (the same issue for custom workflows in
> VS.NET)... "Approval" workflow is working fine (the link is correct)



Re: InfoPath(?) sends a wrong link to IP document (workflow, tasks) by brendan

brendan
Wed Feb 28 20:44:22 CST 2007

On Feb 27, 3:49 am, "wolvie3421" <h...@henryong.com> wrote:
> I think this is a bug in sharepoint. I've found that if you make the
> form library to open with the infopath client by default then the
> links will be fine. If an end user does not have the client, the form
> will be forced to open in the browser and the links will also be
> fine.
>
> On Feb 26, 5:30 am, "Alexey Smirnov" <alexey.smir...@gmail.com> wrote:
>
>
>
> > The workflow is assigned to a Forms Library and sends an email about
> > assigned task.
>
> > -----------------------------------------------------------------------=
----=AD=AD------------
> > Task assigned by {account} on {date}
>
> > To complete this task:
>
> > Review {IPdocument}.xml.
> > Perform the specific activities required for this task.
> > Edit this task to mark the task as completed.
> > -----------------------------------------------------------------------=
----=AD=AD-------------
>
> > The link "Review {IPdocument}.xml" has the following format
>
> >http://sharepoint/SiteName/_layouts/FormServer.aspx?XmlLocation=3D{Libra=
ry}/{IPdocument}.xml
>
> > and this is wrong - when you click on it, you get an error message,
> > because: "The URL {Library}/{IPdocument}.xml is an unsupported
> > relative URL. Use an absolute URL or prefix with '~sitecollection',
> > for a site-collection-relative URL."
>
> > Any thoughts?
>
> > To reproduce this behavior, add a standard "Collect Feedback" as a
> > workflow and start it (the same issue for custom workflows in
> > VS.NET)... "Approval" workflow is working fine (the link is correct)- H=
ide quoted text -
>
> - Show quoted text -

This is definately a bug the task needs to render the full url:

http://site/_layouts/formserver.aspx?XmlLocation=3D/site/library/asdf.xml&O=
penIn=3DBrowser

Not

http://site/_layouts/FormServer.aspx?XmlLocation=3DJournals/asdf.xml
"its missing "&OpenIn=3DBrowser" on the end of the tag."


and if its a sub site location its even worse


http://site/subsite/_layouts/formserver.aspx?XmlLocation=3D/subsite/Journal=
s/asdf.xml&OpenIn=3DBrowser


http://site/subsite/_layouts/FormServer.aspx?XmlLocation=3Dlibrary/asdf.xml
" This doesnt even have the subsite in the string"