Miroslav Kačena’s Post

View profile for Miroslav Kačena, graphic

Head of Microsoft Development at IXTENT • Microsoft Certified Expert • Software Architect

💡 SharePoint Developer Tip When you want to set a Hyperlink field in SharePoint using one of its object models, you can simply set it up using a plain string formatted as: "URL, Description" But what if the URL contains a comma? Do not despair, you can escape it with... another comma! For example, if you wanted to set hyperlink like this: 🔗 URL: <SiteUrl>/Comma,,tose, Inc 🗨️ Description: Comma,,tose, Inc you would use this string: ➡️ "<SiteUrl>/Comma,,,,tose,, Inc, Comma,,tose, Inc" Commatogenic, isn't it? #sharepoint #csom #microsofttechnologies #microsoft365 #comma #informationtechnology #softwaredevelopment #enterprisecontentmanagement #ecm

  • Side-by-side view of the CSOM code from Visual Studio to set hyperlink field and the UI in SharePoint Online with the actual result.

To view or add a comment, sign in

Explore topics