cancel
Showing results for 
Search instead for 
Did you mean: 

OData CreateEntity Edm.Binary

wailoon_koo
Explorer
0 Kudos
1,997

Hi all,

May I ask if the current OData CreateEntity action supports writing Edm.Binary type? In my Asset Manager application, I can read the Edm.Binary coming from my backend system.

However, while using OData CreateEntity Action, it seems that it is not supporting Edm.Binary data type or there are additional steps required before calling the action?

Below is my metadata for CreateEntity.action. The FormData field is a Edm.Binary type and the value is a valid binary value (for testing purpose it is a simple value of string "test", in my real scenario it is JSON data).

{ "Headers": { "OfflineOData.RemoveAfterUpload": "true" }, "Properties": { "ObjectId": "/SAPAssetManager/Rules/WorkOrders/CreateUpdate/WorkOrderLocalID.js", "ObjectType": "Order", "Uuid": "#Page:WorkOrderCreateUpdatePage/#Control:FormUuid/#Value", "FormUuid": "/SAPAssetManager/Rules/Extensions/Formio/FormioGetSelectedFormUuid.js", "FormData": "dGVzdA==" }, "Target": { "EntitySet": "ZEQ_FORMIODATA_C", "Service": "/SAPAssetManager/Services/Formio.service" }, "ShowActivityIndicator": true, "_Type": "Action.Type.ODataService.CreateEntity" }

Based on the debug console, I do not understand the error "Conversion of format 2 not implemented" and also cannot debug further as the error occur in plugin level ODataManager.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

bill_froelich
Product and Topic Expert
Product and Topic Expert

Currently MDK does not support Edm.Binary field types. We will be adding support for this type in a future release.

Answers (1)

Answers (1)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert

wailoonkvp Edm.Binary field types in latest 4.3 release.