Hi
I have an issue setting a hyperlink field with Set-PnPListItem as documented.
I do something like:
Set-PnPListItem -List Project_list -Identity 4 -Values @{"GitURL" = "https://test.com/PRJ007/,GITPRJ007"}
And would expect the field to be added as
Field: GitURL
URL: https://test.com/PRJ007
Display Text: GITPRJ007
But what I get instead is:
Field: GitURL
URL: https://test.com/PRJ007/,,GITPRJ007
Display Text: https://test.com/PRJ007/,GITPRJ007
Any idea?
2.9.1611.0
You missed out a space after the comma in the URL.
Set-PnPListItem -List Project_list -Identity 4 -Values @{"GitURL" = "https://test.com/PRJ007/, GITPRJ007"}
Most helpful comment
You missed out a space after the comma in the URL.
Set-PnPListItem -List Project_list -Identity 4 -Values @{"GitURL" = "https://test.com/PRJ007/, GITPRJ007"}