Notifications
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.
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.
Tom_Gioielli 108 Super User 2025 Season 2
Jimmy Passeti 50 Most Valuable Professional
Gerardo RenterÃa Ga... 49 Most Valuable Professional