Hi Community
Recently i have been trying to work over the a scenario to move a attachment uploaded in File - (data type) of attribute to Notes Entity in Dynamics CRM
Steps followed :-
- Created a Model Drive App
- Created a new attribute of data type - FILE , added the same on form
- On Create, i need to move the file attached in attribute to NOTES entity in Dynamics CRM
- Created a flow
- Get the records
- Get the file Content
- And on creation of NOTE record with File Content facing Hexadecimal error
- Tried converting the file content to binary and still facing the issue
Error message :-
{
"error": {
"code": "0x80040278",
"message": "Invalid character in field 'document body': '\u0012', hexadecimal value 0x12, is an invalid character.",
"@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionSourceKey": "Plugin/Microsoft.Crm.ObjectModel.AnnotationService",
"@Microsoft.PowerApps.CDS.ErrorDetails.ApiStepKey": "753b8615-ecd8-db11-b397-0019b9204da9",
"@Microsoft.PowerApps.CDS.ErrorDetails.ApiDepthKey": "1",
"@Microsoft.PowerApps.CDS.ErrorDetails.ApiActivityIdKey": "b4fbd92c-a517-4141-8380-1d759052fbc5",
"@Microsoft.PowerApps.CDS.ErrorDetails.ApiPluginSolutionNameKey": "System",
"@Microsoft.PowerApps.CDS.ErrorDetails.ApiStepSolutionNameKey": "System",
"@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionCategory": "ClientError",
"@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionMesageName": "InvalidCharactersInField",
"@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionHttpStatusCode": "400",
"@Microsoft.PowerApps.CDS.InnerError.Message": "Invalid character in field 'documentbody': '\u0012', hexadecimal value 0x12, is an invalid character."
}
}
Tried converting to BINARY as well as Placing the content directly
