I hit the 10000 Javascript character limit, also trying to use both basic forms and multistep forms, so very inconvenient to have to look for the Javascript in different places
In this post, I read that by adding a 'nosniff' it affects the Web File that was added as Javascript Solved: PowerApps Portal: Storing JavaScripts in web files - Power Platform Community (microsoft.com) -
This makes me wonder whether Web Files is a reliable way of adding files (I'm aware we have to 'fool' the system as it won't allow a direct .js upload)
Where can I add the Javascript safely, so it won't incur problems further down the line? Our website will be externally tested, so nosniff is already in place
I'm not able to use the Blob storage although it sounds like a great option
I believe I read elsewhere you could add it in Webpage, Webfile, I can't find all the steps in writing, can someone please list them thoroughly? Thank you
Scrap that it worked. I just needed some patience.
Hi Guys. I tried to follow this solution with no luck.
I have hit the 10k limit for an advanced form. I removed all the code from the advanced form step and I have created a webfile, and uploaded the note ( javascript code). I have added to the page, the section
script.. type="text/javascript" src="~/cgictpf-policy.js">...script.
I have changed the security settings to allow .js files.
The code is not working on the advanced form step.
Am i missing something from this solution?
AMAZING!!! Thank you so much @EmadBeshai it has certainly fixed it! I added a JS with over 12k characters, such a simple solution, I knew it was possible somehow!
I now have 2 big issues to solve before I can deliver my project, hope I can get it working, it's been 5 months and starting to look bad on me 😞
Thank you once again, you are a life saver! :)))
Hi @inanoffice23 ,
From the Default solution look for the form step table as I elaborated in the above screenshot.
I'm already using this trick in my projects.
Please let me know if you more help.
If this post helps you with your problem, please mark this answer as Accepted Solution.
If you like my response, please give it a Thumbs Up.
Wow! I think that might fix the issue @EmadBeshai ! How did you get the form step to show up in the objects section though? I have been looking to 'add existing' but I can't seem to find how to do that
I do wonder whether the 10000 character limit is there for a reason, or just as a default, this article says multiline columns maximum is 1048576 so in theory good to go as long as I find the magic column 🙂 Column data types in Microsoft Dataverse (contains video) - Power Apps | Microsoft Learn
Hi @inanoffice23 ,
You can increase the JS field limit from the dataverse a shown below
If this post helps you with your problem, please mark this answer as Accepted Solution.
If you like my response, please give it a Thumbs Up.
Thank you @JadyMulqueeney I guess the step missing is go to the copy.HTML and add this piece of code
<script type="text/javascript" src="~/test.js"></script> so it can read the JS
I will come back to this post once I find out if IT allows us to have Web files and render JS properly
From Settings > Admin Center, go to https://admin.powerplatform.microsoft.com/environments
(Doesn't hurt to also enable SVG, if you are planning to upload any SVG files)
Thank you for your reply @Fubar
I guess for now I will stick to attempting to use Web Files and see whether the IT Test has any objections further down the line, I might update the answer once I find out (it will probably take months)
Unfortunately, low/no code only really applies to simplistic implementations.
There are places by design to hold JS, and then also maybe some workarounds, places you can put JavaScript are generally
Also, note not all features are in the site editor, so somethings are still only available in the Management App.
The Argument you can make for JS in different places, is a) in many cases it is by design, b) it is all in the Dataverse instance, c) if you are using the CLI or the Pages Solutions it is all there.
The rest just comes down to the experience of the people working on it and them knowing where to expect to find stuff.
Fubar
62
Super User 2025 Season 2
Lucas001
48
Super User 2025 Season 2
KevinGador
44
Super User 2025 Season 2