cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
GLMSDev
Helper II
Helper II

How to replace Web Resources

Hi,

 

I am exploring Web Resources, I could successfully load HTML file in App. while I was doing this, when i tried replacing same file with new code. It did not allow ?  and I could not delete the file because it was already attached in "site map". I had to detach it and then delete the file and re-attach new HTML file.

 

Here is how i am uploading HTML files. any thoughts on how to efficiently replace files ? 111.PNG

2 ACCEPTED SOLUTIONS

Accepted Solutions
EricRegnier
Super User
Super User

Hi @GLMSDev,

You can replace the current HTML code with updated code. You need to update the current web resource instead of creating a new one and therefore, you won't have these dependencies issues.

2020-04-16_18-20-44.png

Hope this helps! 

View solution in original post

rajyraman
MVP

@GLMSDev- If you are doing this frequently, it is not very efficient to manually open the webresource and update the content. Try using spkl, as it makes it lot easier.

 

https://github.com/scottdurow/SparkleXrm/wiki/spkl

https://www.youtube.com/watch?v=RT0UtB4SpK8

View solution in original post

3 REPLIES 3
EricRegnier
Super User
Super User

Hi @GLMSDev,

You can replace the current HTML code with updated code. You need to update the current web resource instead of creating a new one and therefore, you won't have these dependencies issues.

2020-04-16_18-20-44.png

Hope this helps! 

rajyraman
MVP

@GLMSDev- If you are doing this frequently, it is not very efficient to manually open the webresource and update the content. Try using spkl, as it makes it lot easier.

 

https://github.com/scottdurow/SparkleXrm/wiki/spkl

https://www.youtube.com/watch?v=RT0UtB4SpK8

Thanks. This really looks promising  and quick way to deploy web resources. 

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Users online (3,701)