Notifications
Announcements
No record found.
I have a field of type Single Line of Text. I need to retrieve the Maximum Length of that field and use it in my TypeScript File. How do I do it?
Hi,
In JavaScript you can get this by using getMaxLength() function
Xrm.Page.getAttribute("name").getMaxLength();
OR
formContext.getAttribute("name").getMaxLength();
How can I do this in TypeScript?
Same as in Javascript using getMaxLength() function
Check this Link:
mktange.com/.../
medium.com/.../transpile-typescript-modules-for-dynamics-365-simply-using-rollup-js-9fb0f4f3eebd
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Pallavi Phade 98
Tom_Gioielli 60 Super User 2025 Season 2
Gerardo RenterÃa Ga... 43 Most Valuable Professional