web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Trace Log Missing part of it

(0) ShareShare
ReportReport
Posted on by 587

Hi
I'm having an issue that some times the trace log will not be completed and missing the beginning part
is there any limitation for the length of it

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Nuno Profile Picture
    2,005 on at

    Hi,

    In the TraceLog entity the field Message BLock is string type TextArea format.

    In CRM Text Area fields have a maximum length of 4000 characters.

  • Abbod Hamwi Profile Picture
    587 on at

    Any idea how can i edit it

  • Abbod Hamwi Profile Picture
    587 on at

    I check the metadeta and the length is 1073741823 so i don't think the issue like this

  • Suggested answer
    Nuno Profile Picture
    2,005 on at

    Yes, you're right about the max length but according with metadata that field cannot be updated.

    reas_5F00_plugin.png

  • Abbod Hamwi Profile Picture
    587 on at

    My problem is

    i made a method that will write a trace for an entity but each time an error will be thrown the trace will be different 

    The method expected output is 

    =============
    Entity Logical Name: msdyn_workorder
    Entity ID : bc17fb0d-4e11-e711-813d-5065f38b6482
    Entity Attributes :
    Attribute: msdyn_workorderid ,Type: System.Guid, Value:bc17fb0d-4e11-e711-813d-5065f38b6482
    Attribute: ets_affidavit ,Type: null, Value:null
    Attribute: ets_affidavitorder ,Type: null, Value:null
    <XmlData>
      <msdyn_workorder>
        <Id>System.Guid|bc17fb0d-4e11-e711-813d-5065f38b6482</Id>
        <msdyn_workorderid>System.Guid|bc17fb0d-4e11-e711-813d-5065f38b6482</msdyn_workorderid>
        <ets_affidavit>null</ets_affidavit>
        <ets_affidavitorder>null</ets_affidavitorder>
      </msdyn_workorder>
    </XmlData>
    =============

    but if i got an error first time the output will be

    s :
    Attribute: msdyn_workorderid ,Type: System.Guid, Value:bc17fb0d-4e11-e711-813d-5065f38b6482
    Attribute: ets_affidavit ,Type: null, Value:null
    Attribute: ets_affidavitorder ,Type: null, Value:null
    <XmlData>
      <msdyn_workorder>
        <Id>System.Guid|bc17fb0d-4e11-e711-813d-5065f38b6482</Id>
        <msdyn_workorderid>System.Guid|bc17fb0d-4e11-e711-813d-5065f38b6482</msdyn_workorderid>
        <ets_affidavit>null</ets_affidavit>
        <ets_affidavitorder>null</ets_affidavitorder>
      </msdyn_workorder>
    </XmlData>
    =============

    second time it will be 

    _workorderid ,Type: System.Guid, Value:bc17fb0d-4e11-e711-813d-5065f38b6482
    Attribute: ets_affidavit ,Type: null, Value:null
    Attribute: ets_affidavitorder ,Type: null, Value:null
    <XmlData>
      <msdyn_workorder>
        <Id>System.Guid|bc17fb0d-4e11-e711-813d-5065f38b6482</Id>
        <msdyn_workorderid>System.Guid|bc17fb0d-4e11-e711-813d-5065f38b6482</msdyn_workorderid>
        <ets_affidavit>null</ets_affidavit>
        <ets_affidavitorder>null</ets_affidavitorder>
      </msdyn_workorder>
    </XmlData>
    =============


    not all the time the cutting is equal 

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans