Add a CSS class to a field on Entity form on Dynamics 365 portals

Posted On November 25, 2019 by Tejesh Sharma Posted in Tagged in

This blog will guide you with how to add custom CSS class to a field on Entity form in D365 Portals.
1. Go to Entity form, refer below image.

2. Open an existing record if exists or create a new record.

3. Click on entity form metadata Tab and then click on new entity form metadata, refer below image.

4. New Entity Form Metadata form opens, select type as an attribute, refer below image

5. Now, select an attribute from option set on which you want to add css class, refer below image.

6. Now in control section, there is an input field named Css class add the class name which you want to add on the field (align-text is the class we have used in our example) and save the form.

7. Now browse the Portal webpage and check the class will be successfully added to the required field.

Share Story :




Enter your email address to follow this blog and receive notifications of new posts by email.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.