on 06-23-2015 12:47 PM
I am trying to develop custom action block which will read excel file and parse it to XML .
I can create java object for my xml pattern but how can i pass this java object to MII?
Please help me in this issue. If possible please send me one sample code for custom action block for which output will be XML.
Thank you !
HI Manjiri,
Rather than write a custom action block, why not use standard functionality with MII and Plant Connectivity (PCo):
1. Deploy PCo on a Windows PC (or MII Server is Windows Server OS), and create an OleDB Source System and Agent instance that can be queried from an MII PCoQuery. You can directly read the Excel spreadsheet and the results will be returned in the standard MII Rowset XML schema.
This option also allows direct connectivity with an Excel file that is on a Windows network even if MII is running on a Non-Windows OS.
Regards, Steve
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manjiri,
Recently I done the same. reading excel file and process it in MII in two steps.
1. write a macro which will convert excel data to XML and place it a shared drive on MII server. (Manual step)
2. write MII transaction to pick the above XML file and process it (you can schedule transaction)
see if this could helpful for you.
Thanks, Eswar
User | Count |
---|---|
13 | |
6 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.