![Empty Rich Text Fields Validation](https://i0.wp.com/www.inogic.com/blog/wp-content/uploads/2024/06/Empty-Rich-Text-Fields-Validation.png?resize=838%2C479&ssl=1)
In the pursuit of enhancing data management within Dynamics 365 CRM, we recently integrated a ‘Rich Text Editor Control‘ into the Description field of the Appointment entity, and inserting text into the description, we observed an unexpected behavior. Upon exporting the data from Dynamics 365 CRM, we noticed that the Description field stored the text along with HTML tags. Surprisingly, even when we cleared the text from the Description field, the HTML tags persisted in the system. This discrepancy became evident when attempting to fetch records with empty Description fields, as the presence of HTML tags prevented these records from being retrieved. Additionally when we wanted to validate if a field of a record Is blank then this discrepancy resulted in inaccurate validation.
In this blog post, we delve into the intricacies of validating whether a Rich Text field truly contains a value using regular expressions in C#.
Let’s consider a use case scenario where a user inputs the…
Source link
More About This Author
![](https://i0.wp.com/365community.online/wp-content/uploads/nsl_avatars/ffc40eb76be49f8a40004d26b7db36be.jpg?fit=48%2C48&ssl=1)
-
Inogic is one of the leading Microsoft Dynamics 365 ISV since 10+ years. Its flagship product Maplytics™ is a market leading certified (CfMD) geo-analytical mapping app. Maplytics empowers Dynamics CRM users across industries with the power of geographical data visualization, route optimization and along the route search with turn-by-turn directions, appointment planner, locational search by radius and shapes with drill-down filters and color-coded pushpins, heat maps, shape layers & territory management.
Inogic is renowned for its high quality and low-cost offshore development services and productivity apps like InoLink: QuickBooks + Dynamics CRM, User Adoption Monitor, Attach2Dynamics, Alerts4Dynamics Click2Export, Click2Clone, Kanban Board, SharePoint Security Sync, Lead Automation & Distribution, Map My Relationships, Auto Tax Calculator, Subscription and Recurring Billing and Marketing4Dynamics.
Array
Dyn365CE26 July 2024Enhanced ‘Selected Row’ Trigger Now Available in Power Automate
Dyn365CE25 July 2024Maplytics Optimizes Routes and Boosts Productivity for T-GREX
Dyn365CE24 July 2024Streamline Multilingual Customer Support using Language Detection Prebuilt Model in Power Automate
Dyn365CE23 July 2024WhatsApp instant messaging vs SMS texting: Deciding Your CRM Messaging Approach!