cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

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
Highlighted
Community Support
Community Support

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
Highlighted
Community Support
Community Support

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
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Top Solution Authors
Top Kudoed Authors
Users online (8,543)