Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 Release Wave 2Discover the latest updates and new features to Dynamics 365 planned through March 2021.
Release overview guides and videos Release Plan | Preview 2020 Release Wave 2 TimelineWatch the 2020 Release Wave 1 virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
I have a string data type. In documentation(https://docs.microsoft.com/en-us/dynamicsax-2012/developer/strings) said
Size of data type
- Dynamic or fixed length
I thought dynamic length is the length of unlimited size. But when I try to create a string moe than 250 symbols I get a message like Maximum length is 250 symbols.
Example: str var = @"<any string more than 250 symbols>";
is this a limitation of programing language or I can disable this limitation on Axapta.
Please help to handle this issue.
I'm not aware of such a limitation - I was easily able to assign many thousands of characters to a string variable in AX 2009.
When exactly do you get the error?
I get this error when I'm trying copypaste a string more than 250 symbols to X++ editor.
I get this error when I'm trying copypaste a string more than 250 symbols to X++ code editor.I add a class. Then I add a method. I add to the method a line: str val = @"<here I paste a string. Length of this string mote than 250 symbols>";When I'm trying to paste a string instead fhis<....> to line above I got this error.
I think the maximum length of one line of code is 250 characters in AX2009.
But here I'm able to create a string that is longer than 250 characters:
str myStr = "aifjahadsofhdfoasfhdofdsahfidfhdifhsifshfsifhsihsifghsifgsughidfsghsfighsfdighfgiushgsfighsfigusdhgiyvdvj sjvdjsvosjvsofjsjsogshgohgoshgfsjfosdfjsodfjsdofjsofsjdfosjfosijfosjfosfjsofjosjfsoifjsofsdjfosfjdsofsjofsjofsjodjofsjfos";
myStr += "aoifjollkjlkjlkjlkjlklklkjlkjlkjkjljlkjlkjlkjlkjfhoh";
Business Applications communities