Skip to content

Conversation

JanLosenicky
Copy link

@JanLosenicky JanLosenicky commented Jul 9, 2024

Purpose

Xrm.WebApi started to throw exception while sending internal properties like '@logicalName' in create/update requests payload.

Error Message: InnerException : System.ArgumentException: 'logicalName' is an invalid instance annotation name. An instance annotation name must contain a period that is not at the start or end of the name.

image

Approach

Removing internal properties specified in 'recordInternalProperties ' from record object sent to webapi by introducing and using function exludeInternalPropertiesFromPayload(record: Record).

  • Updating related test.

TODOs

  • Automated test coverage for new code
  • Documentation updated (if required)
  • Build and tests successful

@ewingjm
Copy link
Member

ewingjm commented Jul 15, 2024

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants