on 06-01-2017 1:33 PM
Hi all, I am trying to understand the vba for FMPXLClient.EPMAddInDMAutomation.Download (i.e. the "Download Data" button on in the Data Manager Group tab in Excel). Has anyone written vba with this and had success?
For background, I am trying to download text files that were saved on the server using the Export MD (export master data) Data Manager package. I would like my vba to download the file from the server to the user's local drive so it can be manipulated. Ideas? Thank you.
Just tested on the real system:
Option Explicit
Dim epmdma As New FPMXLClient.EPMAddInDMAutomation
Public Sub ttt()
Dim bytFile() As Byte
bytFile = epmdma.Download("DATAMANAGER", "DATAFILES", "\", "Export_CoA.txt", "")
End Sub
Working fine!
Arguments:
Module: DATAMANAGER
SubModule: DATAFILES
SubFolder: \ (or some subfolder)
File: Export_CoA.txt
Team: empty - for Company team
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
cool! thank you
As far as I remember I was able to do it. But now I don't have connection to the working system - I can't test.
Another option is to export data to aplication server folder mapped to some network folder. Then you can have immediate access to the export file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.