AlexaCRM / dynamics-webapi-toolkit

Dynamics 365 Web API Toolkit for PHP
MIT License
77 stars 58 forks source link

PHP upload - "The file attribute value sent ... is not a valid Guid" #48

Closed marineadz closed 3 years ago

marineadz commented 3 years ago

Successfully updated an image field type in Dataverse using the toolkit with ( 'cds_field_name' => base64_encode('/path/to/file.ext')) ) (file is checked for mime, etc. first, but that gives you the basic version)

Tried the same with a file field type (testing with a .png file) and get the error "The file attribute value sent ... is not a valid Guid".

Are file submissions supported, or have I missed something else?

georged commented 3 years ago

@marineadz would you mind sharing the code? It's not possible to tell anything from the fragment.