I'm working on a "Declarative Worflow" with VSTO for SharePoint Online 2013 project and I have two sticking points:
1) Add the link in the email task of task assignment notification:
The assignment of the task sending an email (I can configure the content of this email) but because the task is not yet created I can not retrieve information (url) this task to include in the content of email.
2) Change a list item:
The field type is Hyperlink type
In the Workflow I have an action "Update list item" in which I refered the list and the id of the item and ListItemPropertiesDynamicValue. In ListItemPropertiesDynamicValue two columns present "path" and "value".
In "Path" I put the name of the item and in the "Value" to the desired value (like www.google.fr).
During the execution of the workflow I get an error. On the net I saw that type hyperlink contained two fields (url & description)
So I set the value as stated: "URL, Text"
But it does not change anything, still the error.
I changed the field type in single string. I can well put the url but the display when the url contains a space that looks like wrong.
To solve this problem I wanted to use System.Web.HttpUtility.UrlEncode or String.Replace Or Uri SPEncode
But this is not supported.
1) Add the link in the email task of task assignment notification:
The assignment of the task sending an email (I can configure the content of this email) but because the task is not yet created I can not retrieve information (url) this task to include in the content of email.
2) Change a list item:
The field type is Hyperlink type
In the Workflow I have an action "Update list item" in which I refered the list and the id of the item and ListItemPropertiesDynamicValue. In ListItemPropertiesDynamicValue two columns present "path" and "value".
In "Path" I put the name of the item and in the "Value" to the desired value (like www.google.fr).
During the execution of the workflow I get an error. On the net I saw that type hyperlink contained two fields (url & description)
So I set the value as stated: "URL, Text"
But it does not change anything, still the error.
I changed the field type in single string. I can well put the url but the display when the url contains a space that looks like wrong.
To solve this problem I wanted to use System.Web.HttpUtility.UrlEncode or String.Replace Or Uri SPEncode
But this is not supported.
Have you ever encountered these problems?
Best regards,
Alexandre