Hello,
I am working on a few service methods that attach files to DAX from a C# application and also to open the attachments. As per our business we have two ways that we need to be able to attach files.
- Attach files into DocuRef. I found the class and the method that does this via AIF custom service.
The class is : DocuActionArchie and the method is add(). This method expects two parameters(docuRef, _fileControlName) . I was able to successfully attach txt files that we need to be able to attach using the class and the method. The files are stored some where in our network and that solved my problem
-
Now, I want to be able to open the attached files using the above steps. Are there any out of the box classes and methods that I can use like we have one above to attach the files?
-
There is another way that we need to be able to attach files , in which case it is only for the users to open the files from a network folder and not from DAX like we did in step 1. For instance I am working on a new vendor creation AIF service request method that the third party (C#) application users use to create a new vendor creation request. That request is received by our DAX Accounting team and process it. In that process the C# application needs to attach some document that provides additional information that is used by our DAX team.
I have looked at the DPDocumentHandling class and its saveWebDocument() and saveWebDocumentClient() methods. It seems like it may be good for the Business connector API and not for the custom AIF services. So, I am wondering are there any out of the box class and methods that I can use to for this?
Any related links or code snippet would help me with what I am trying to do.
Thanks in advance!
Dave