You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While debugging, I can see that the URL is fully valid, even with a comma. However, after the item is added, the URL in the SharePoint list item is truncated at the comma. For example, if the URL is http://example.com/purpose,scope.aspx it gets saved as http://example.com/purpose in the SharePoint list item.
Url without comma works fine.
Steps to reproduce
Please refer to the screenshot below
Expected behavior
The hyperlink field should contain full url even it has comma in it.
Category
Describe the bug
I am encountering an issue when adding a list item that includes a hyperlink field. I followed the instructions from the PnP Core SDK documentation (https://pnp.github.io/pnpcore/using-the-sdk/listitems-intro.html#adding-list-items) and used FieldUrlValue in my C# function.
While debugging, I can see that the URL is fully valid, even with a comma. However, after the item is added, the URL in the SharePoint list item is truncated at the comma. For example, if the URL is http://example.com/purpose,scope.aspx it gets saved as http://example.com/purpose in the SharePoint list item.
Url without comma works fine.
Steps to reproduce
Please refer to the screenshot below
Expected behavior
The hyperlink field should contain full url even it has comma in it.
Environment details (development & target environment)
Thanks for your contribution! Sharing is caring.
The text was updated successfully, but these errors were encountered: