Announcements
No record found.
It shows an error.
You can't set the value new_refobj.fieldname., which is of type string, to type integer
Hi,
What is your code?
From your description it seems you're trying to set the value rather than getting.
Have you tried:
Xrm.Page.getAttribute("new_refobj").getValue();
Regards,
It is not in the web resource, I am creating a calculated field. I require a formula to get value populated form a string field and store as integer field in the calculated field(whole number type).
unfortunatly that can be done with calculated fields. You can refer to this to take a look at the formula availables:
www.encloud9.com/.../
You can try to achieve your goal by using a js function, take a look at this :
carldesouza.com/.../
Hope it helps!
Please, mark the answer as verified if you find it useful or to close this thread.
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.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
ManoVerse 202 Super User 2026 Season 1
CU11031447-0 100
NeerajPawar 70