Skip to main content
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Is there away to include certain files into custom visual only in edit mode?

Hi,

 I was developing a custom visual and I was developing a custom editor view for it, lets say my complete editor code lies editor.js. I want to include this editor.js only in the edit mode, becoz loading this editor.js in view mode is unnecessary and increases the load time of the visual.

 

 

Thanks,

Praveen N

1 REPLY 1
v-viig
Honored Contributor II

Hi Praveen,

 

You can include this file dynamicaly from another server by adding a script tag.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

Helpful resources

Announcements
Top Kudoed Authors
Users online (6,086)