cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Saurabh
Level: Powered On

If I refer external css like bootstrap in my custom control and host it in Dynamics, then it breaks Dynamics CE UI, Is it a bug or am I doing something wrong?

In the custom control I downloaded and refered external library and it broke CRM UI, same was the case when I added it as a tag inside control like below:

this.cssTag = document.createElement("link");
this.cssTag.setAttribute("href", "https://somelink");
this.cssTag.setAttribute("rel", "stylesheet");
 
Are we not suppose to embed external CSS like this?
1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: If I refer external css like bootstrap in my custom control and host it in Dynamics, then it breaks Dynamics CE UI, Is it a bug or am I doing something wrong?

Hi @Saurabh 

 

Unfortunately, PowerApps doesn't support external CSS.

If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Best Regards.

Yumia

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: If I refer external css like bootstrap in my custom control and host it in Dynamics, then it breaks Dynamics CE UI, Is it a bug or am I doing something wrong?

Hi @Saurabh 

 

Unfortunately, PowerApps doesn't support external CSS.

If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Best Regards.

Yumia

View solution in original post

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,306)