Connect with us and enhance your M-Files experience using Unitfly Toolkit for M-Files. Here’s how to get started.
Hi
I trying to create a object using object creation without a template. I getting this information in the log:
System.Runtime.InteropServices.COMException (0x80040001): The parameter is incorrect. (One source file must be specified when creating a single-file document.)
CoVaultObjectOperations.cpp, 2663, The parameter is incorrect. (One source file must be specified when creating a single-file document.) (0x80070057)
So I know I need to specify which document should created. Setting property "Document" by referencing on the source document dont work. How can I solve this?
Have you an example?
The usecase is simple: We want to copy the document to another class. And there are more usecases we like to implement.
Kind regards
Steve
can you, please, send us a screenshot of your configuration rule so we can investigate further what is the issue here.
Kind regards,
Nina
Hi Nina
I had the wrong configuration. I need to set the type "FromTemplate" with the template "Source". So this fullfill our requirement.
Thank you.
Kind regards
Steve
So, you came to the end of the page. This means you are passionate about technology as we are.
WATCH THE WEBINAR