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 II
Super User II

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 II
Super User II

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

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

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Users online (2,478)