Hi Everyone,
I am currently working in a powerpages project and I am using custom code for every requirement. Recently I have encounter an error while saving custom code in vs code editor. It does not allow me to save and this error is occurring frequently whenever I added new code. This error is not related to my code(I think) and I am also not able to find the solution regarding the error. I have also shared the screeen shot below. Can anyone help me in this?
Hi @RohitAswal ,
As I said in my earlier comment, Web File is best option. Web Templates and Web Files have a completely different purpose. Web Files are using to store your portal assets (css, js, images). And Web Templates provide you with actual HTML code for your pages. You, of course, can write a js code as a part of your Web Template (and you often will) but is not a most reusable scenario if you want to use that code in multiple places. So, better to move in Web Files.
Feel free to ask, if you have any questions and Mark answer as a Solution to enable other users find it.
Thanks,
Saud
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
WarrenBelz
9
Most Valuable Professional
Michael E. Gernaey
9
Super User 2025 Season 1
Rondel
6