I am getting this error when pushing the code to Power Pages using Visual Code Terminal like this.
It is because of both (Html & JavaScript). Also liquid code is included in that page . Although i have transferred few of the JavaScript code to one of the JS file using portal management , but we can not transfer liquid code to other files.
You don't disclose what you are putting in your Page Copy to make it so large
If JavaScript there is another field that it can be placed, you will see it in the code editor usually next to the file with the Page Copy.
You can also include JavaScript in the Basic and Multi Step forms (use the Portal / PowerPages Management app), and from Web Files
Similarly there are additional fields for CSS and can be included from Web Files.
HTML and Liquid have more limited places but you can also create a Custom Web Template and include it in there, Web Templates can also have JavaScript and CSS also - the Web Page you see is a combination of what is in the Web Template, Web Page (e.g. Page Copy), and the Forms you are using.
Quick update - I've added more than 65535 characters to the Page Copy of a Power Page - but it appears to work just fine? When and where are you getting this error message?
@Shivam_BSSI is the character count exceeded because of HTML or javascript? If it is javascript you could move this to a seperate webfile - as far as I know they don't have this limitation.
If it is text/html you could try moving the content to 1 or more webtemplates (using the power pages management app - not the design studio ) and including these in the page copy instead of adding all of it in the editor directly?
Fubar
69
Super User 2025 Season 1
oliver.rodrigues
49
Most Valuable Professional
Jon Unzueta
43