cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cwwhite1
Helper I
Helper I

Model App - Form Customization

Hi - I am wondering if there's any way to format section headers on a model driven app form? I am looking to make the header of each section within my form a different color. Any help would be appreciated! Thanks!!

1 ACCEPTED SOLUTION

Accepted Solutions
dpoggemann
Super User
Super User

Hi @cwwhite1 ,

 

You would need to utilize JavaScript to accomplish this type of customization.  The FormContext (https://carldesouza.com/using-formcontext-in-dynamics-365/) should give you access to this at the Sections level.  https://docs.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/reference/formcont... 

 

The following page also shows example of hiding or showing a section, not specifically what you are asking but think it will get you along the way.

https://ravindarreddykasarla.com/2019/08/13/the-most-used-javascript-methods-for-dynamics-crm-v9-x/ 

Hope this helps. Please accept if answers your question or Like if helps in any way.
Thanks,
Drew

View solution in original post

3 REPLIES 3
dpoggemann
Super User
Super User

Hi @cwwhite1 ,

 

You would need to utilize JavaScript to accomplish this type of customization.  The FormContext (https://carldesouza.com/using-formcontext-in-dynamics-365/) should give you access to this at the Sections level.  https://docs.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/reference/formcont... 

 

The following page also shows example of hiding or showing a section, not specifically what you are asking but think it will get you along the way.

https://ravindarreddykasarla.com/2019/08/13/the-most-used-javascript-methods-for-dynamics-crm-v9-x/ 

Hope this helps. Please accept if answers your question or Like if helps in any way.
Thanks,
Drew

Hi @cwwhite1 ,

 

Could you please check the following link for changing the color of your Section...

http://sumedha8.blogspot.com/2013/07/change-colour-of-fonts-sections-and-tabs.html

 

Please let us know if you were able to solve the issue with this....hope this helps...

 

Thank you.

 

PMDY

 

cwwhite1
Helper I
Helper I

@Pavan_Mani_Deep @dpoggemann - thanks so much for the help! Was able to use javascript on load to change the headers!!

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Users online (5,379)