Notifications
Announcements
No record found.
Hi All
Current I download a ODataUility from Git, but when I run the ODataClient.tt, it shows me some errors. The following steps are what I done. In the Final, the issue was solved, but in the steps #7 and #8, I changed private const string Edmx = @"<#= escapedEdmxString #>"; However, I do not know this will affect anything or not?
Does anyone meet this issue before, and how to solve the issue? Will change Edmx affect the proxy code?
Is there way we can write the proxy code manually?
Best Regards,
JustZM
Hi JustZM,
The only workaround for now for the string limitation that I know is by shrinking the file yourself,Cut the offending generated Edmx string that is the XML string
Edit the file and remove the edmx string. It should look like this:
private const string Edmx = @"";
Please refer this thread:
[View:https://community.dynamics.com/365/financeandoperations/f/dynamics-365-for-finance-and-operations-forum/365080/getting-error-while-odatautility-build-in-odata-integration-error-cs8103-combined-length-of-user-strings-used-by-the-program-exceeds-allowed-limit-try-to-decrease-use-of-string-literals/962253#962253:750:50]
Hi JustZM ,
You can also utilize edmx trimmer utility available on github instead of generating huge file.
github.com/.../EDMXTrimmer
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.
Martin Dráb 565 Most Valuable Professional
André Arnaud de Cal... 450 Super User 2025 Season 2
Sohaib Cheema 250 User Group Leader