.Hi,
I have the following situation:
I built a dashboard that appear on selecting a specific object (specific class).
In the dashboard I have a form.
Based on user inputs on submit I am creating a document (json) and I want to save that json at selected document (object can have files).
I was looking in the new API and found AddObjectFile method (https://developer.m-files.com/Frameworks/User-Interface-Extensibility-Framework/Reference/gRPC/Interfaces/ObjectOperations/AddObjectFile/) but I cannot understand how I can send file content - I can send title and extenstion but no content file.
I checked then UploadExistingFiles method (https://developer.m-files.com/Frameworks/User-Interface-Extensibility-Framework/Reference/gRPC/Interfaces/ObjectOperations/UploadExistingFiles/) but cannot find the way to pass the file content.
I have a workaround by calling an extension method that can save the file to the object but I am also interested to understand how AddObjectFile method is working,
Thanks,
Viorel