Trace (TraceLog) table/entity reference

A trace log.

Messages

The following table lists the messages for the Trace (TraceLog) table. Messages represent operations that can be performed on the table. They may also be events.

Name
Is Event?
Web API Operation SDK for .NET
Create
Event: True
POST /tracelogs
See Create
Create records
Delete
Event: False
DELETE /tracelogs(tracelogid)
See Delete
Delete records
Retrieve
Event: False
GET /tracelogs(tracelogid)
See Retrieve
Retrieve records
RetrieveMultiple
Event: False
GET /tracelogs
See Query data
Query data

Properties

The following table lists selected properties for the Trace (TraceLog) table.

Property Value
DisplayName Trace
DisplayCollectionName Traces
SchemaName TraceLog
CollectionSchemaName TraceLogs
EntitySetName tracelogs
LogicalName tracelog
LogicalCollectionName tracelogs
PrimaryIdAttribute tracelogid
PrimaryNameAttribute text
TableType Standard
OwnershipType OrganizationOwned

Writable columns/attributes

These columns/attributes return true for either IsValidForCreate or IsValidForUpdate (usually both). Listed by SchemaName.

CanBeDeleted

Property Value
Description Indicates if this trace log can be deleted.
DisplayName Trace CanBeDeleted Flag
IsValidForForm False
IsValidForRead True
LogicalName canbedeleted
RequiredLevel None
Type Boolean
GlobalChoiceName tracelog_canbedeleted
DefaultValue True
True Label Yes
False Label No

CollationLevel

Property Value
Description Indicates the collation level
DisplayName Collation Level
IsValidForForm False
IsValidForRead True
LogicalName collationlevel
RequiredLevel None
Type Integer
MaxValue 2147483647
MinValue 0

ErrorDetails

Property Value
Description
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName errordetails
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 2048

ErrorTypeDisplay

Property Value
Description
DisplayName Trace Error Details
IsValidForForm False
IsValidForRead True
LogicalName errortypedisplay
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 320

IsUnique

Property Value
Description Tells if this traceLog is created uniquely(only one) for the associated entity.
DisplayName Is Unique Trace
IsValidForForm False
IsValidForRead True
LogicalName isunique
RequiredLevel None
Type Boolean
GlobalChoiceName tracelog_isunique
DefaultValue False
True Label Yes
False Label No

Level

Property Value
Description Information about the trace level.
DisplayName Level
IsValidForForm True
IsValidForRead True
LogicalName level
RequiredLevel ApplicationRequired
Type Picklist
DefaultFormValue 1
GlobalChoiceName tracelog_level

Level Choices/Options

Value Label
1 Information
2 Warning
3 Error

MachineName

Property Value
Description
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName machinename
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 320

ParentTraceLogId

Property Value
Description Indicates the parent ID of the trace log.
DisplayName Parent Id
IsValidForForm False
IsValidForRead True
LogicalName parenttracelogid
RequiredLevel None
Type Lookup
Targets tracelog

RegardingObjectId

Property Value
Description Regarding mailbox or email server profile.
DisplayName Regarding
IsValidForForm True
IsValidForRead True
LogicalName regardingobjectid
RequiredLevel SystemRequired
Type Lookup
Targets emailserverprofile, mailbox

RegardingObjectTypeCode

Property Value
Description Type of the regarding object.
DisplayName Regarding Object Type
IsValidForForm False
IsValidForRead True
LogicalName regardingobjecttypecode
RequiredLevel None
Type EntityName

Text

Property Value
Description Text of the trace.
DisplayName Text
IsValidForForm True
IsValidForRead True
LogicalName text
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 2000

TimeZoneRuleVersionNumber

Property Value
Description For internal use only.
DisplayName Time Zone Rule Version Number
IsValidForForm False
IsValidForRead True
LogicalName timezoneruleversionnumber
RequiredLevel None
Type Integer
MaxValue 2147483647
MinValue -1

TraceActionXml

Property Value
Description XML representation of the trace actions.
DisplayName Trace Actions XML
IsValidForForm False
IsValidForRead True
LogicalName traceactionxml
RequiredLevel None
Type Memo
Format TextArea
FormatName TextArea
ImeMode Auto
IsLocalizable False
MaxLength 1073741823

TraceCode

Property Value
Description Error code.
DisplayName Error Code
IsValidForForm True
IsValidForRead True
LogicalName tracecode
RequiredLevel SystemRequired
Type Integer
MaxValue 1000000000
MinValue 0

TraceDetailXml

Property Value
Description XML representation of the trace details.
DisplayName Trace Detail XML
IsValidForForm False
IsValidForRead True
LogicalName tracedetailxml
RequiredLevel None
Type Memo
Format TextArea
FormatName TextArea
ImeMode Auto
IsLocalizable False
MaxLength 1073741823

TraceLogId

Property Value
Description Unique identifier of the trace.
DisplayName Trace
IsValidForForm False
IsValidForRead True
LogicalName tracelogid
RequiredLevel SystemRequired
Type Uniqueidentifier

TraceParameterXml

Property Value
Description XML representation of the trace parameters.
DisplayName Trace Parameter XML
IsValidForForm False
IsValidForRead True
LogicalName traceparameterxml
RequiredLevel None
Type Memo
Format TextArea
FormatName TextArea
ImeMode Auto
IsLocalizable False
MaxLength 1073741823

TraceStatus

Property Value
Description Status about the trace.
DisplayName Trace Status
IsValidForForm True
IsValidForRead True
LogicalName tracestatus
RequiredLevel None
Type Boolean
GlobalChoiceName tracelog_tracestatus
DefaultValue False
True Label Success
False Label Failure

UTCConversionTimeZoneCode

Property Value
Description Time zone code that was in use when the trace was created.
DisplayName UTC Conversion Time Zone Code
IsValidForForm False
IsValidForRead True
LogicalName utcconversiontimezonecode
RequiredLevel None
Type Integer
MaxValue 2147483647
MinValue -1

Read-only columns/attributes

These columns/attributes return false for both IsValidForCreate and IsValidForUpdate. Listed by SchemaName.

CreatedBy

Property Value
Description Unique identifier of the user who created the trace.
DisplayName Created By
IsValidForForm True
IsValidForRead True
LogicalName createdby
RequiredLevel SystemRequired
Type Lookup
Targets systemuser

CreatedOn

Property Value
Description Time the error is created and logged.
DisplayName Created On
IsValidForForm True
IsValidForRead True
LogicalName createdon
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateAndTime
ImeMode Inactive
SourceTypeMask 0

CreatedOnBehalfBy

Property Value
Description Unique identifier of the delegate user who created the trace.
DisplayName Created By (Delegate)
IsValidForForm True
IsValidForRead True
LogicalName createdonbehalfby
RequiredLevel None
Type Lookup
Targets systemuser

ModifiedBy

Property Value
Description Unique identifier of the user who modified the trace.
DisplayName Modified By
IsValidForForm True
IsValidForRead True
LogicalName modifiedby
RequiredLevel None
Type Lookup
Targets systemuser

ModifiedOn

Property Value
Description Time the error is updated and logged for the same regarding object.
DisplayName Last Update On
IsValidForForm True
IsValidForRead True
LogicalName modifiedon
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateAndTime
ImeMode Inactive
SourceTypeMask 0

ModifiedOnBehalfBy

Property Value
Description Unique identifier of the delegate user who modified the trace.
DisplayName Modified By (Delegate)
IsValidForForm True
IsValidForRead True
LogicalName modifiedonbehalfby
RequiredLevel None
Type Lookup
Targets systemuser

OrganizationId

Property Value
Description Unique identifier of the organization associated with the trace.
DisplayName Organization
IsValidForForm False
IsValidForRead True
LogicalName organizationid
RequiredLevel SystemRequired
Type Lookup
Targets organization

RegardingObjectOwnerId

Property Value
Description Unique identifier of the user or team who owns the regarding object.
DisplayName Owner
IsValidForForm False
IsValidForRead True
LogicalName regardingobjectownerid
RequiredLevel SystemRequired
Type Owner
Targets systemuser, team

RegardingObjectOwnerIdType

Property Value
Description Owner type of the regarding object.
DisplayName Owner Type
IsValidForForm False
IsValidForRead True
LogicalName regardingobjectowneridtype
RequiredLevel None
Type EntityName

RegardingObjectOwningBusinessUnit

Property Value
Description Unique identifier of the business unit that owns the regarding object.
DisplayName Owning Business Unit
IsValidForForm False
IsValidForRead True
LogicalName regardingobjectowningbusinessunit
RequiredLevel None
Type Lookup
Targets businessunit

TraceParameterHash

Property Value
Description Stores the hash of the entity object associated with this tracelog. Hash is computed using the object type code and its id.
DisplayName Trace Parameter Hash
IsValidForForm False
IsValidForRead True
LogicalName traceparameterhash
RequiredLevel None
Type Integer
MaxValue 2147483647
MinValue -2147483648

TraceRegardingId

Property Value
Description For internal use only.
DisplayName Trace Regarding
IsValidForForm False
IsValidForRead False
LogicalName traceregardingid
RequiredLevel SystemRequired
Type Lookup
Targets traceregarding

Many-to-One relationships

These relationships are many-to-one. Listed by SchemaName.

lk_tracelog_createdby

One-To-Many Relationship: systemuser lk_tracelog_createdby

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute createdby
ReferencingEntityNavigationPropertyName createdby
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

lk_tracelog_createdonbehalfby

One-To-Many Relationship: systemuser lk_tracelog_createdonbehalfby

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute createdonbehalfby
ReferencingEntityNavigationPropertyName createdonbehalfby
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

lk_tracelog_modifiedby

One-To-Many Relationship: systemuser lk_tracelog_modifiedby

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute modifiedby
ReferencingEntityNavigationPropertyName modifiedby
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

lk_tracelog_modifiedonbehalfby

One-To-Many Relationship: systemuser lk_tracelog_modifiedonbehalfby

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute modifiedonbehalfby
ReferencingEntityNavigationPropertyName modifiedonbehalfby
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

organization_tracelog

One-To-Many Relationship: organization organization_tracelog

Property Value
ReferencedEntity organization
ReferencedAttribute organizationid
ReferencingAttribute organizationid
ReferencingEntityNavigationPropertyName organizationid
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

tracelog_EmailServerProfile

One-To-Many Relationship: emailserverprofile tracelog_EmailServerProfile

Property Value
ReferencedEntity emailserverprofile
ReferencedAttribute emailserverprofileid
ReferencingAttribute regardingobjectid
ReferencingEntityNavigationPropertyName regardingobjectid_emailserverprofile
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

tracelog_Mailbox

One-To-Many Relationship: mailbox tracelog_Mailbox

Property Value
ReferencedEntity mailbox
ReferencedAttribute mailboxid
ReferencingAttribute regardingobjectid
ReferencingEntityNavigationPropertyName regardingobjectid_mailbox
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

tracelog_parent_tracelog

One-To-Many Relationship: tracelog tracelog_parent_tracelog

Property Value
ReferencedEntity tracelog
ReferencedAttribute tracelogid
ReferencingAttribute parenttracelogid
ReferencingEntityNavigationPropertyName parenttracelogid
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: Cascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

One-to-Many relationships

These relationships are one-to-many. Listed by SchemaName.

tracelog_parent_tracelog

Many-To-One Relationship: tracelog tracelog_parent_tracelog

Property Value
ReferencingEntity tracelog
ReferencingAttribute parenttracelogid
ReferencedEntityNavigationPropertyName tracelog_parent_tracelog
IsCustomizable False
AssociatedMenuConfiguration AvailableOffline: True
Behavior: UseCollectionName
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

See also

Dataverse table/entity reference
Dataverse Web API Reference
tracelog