Upload
brion-carroll
View
89
Download
3
Embed Size (px)
Citation preview
ENOVIA PRODUCT UPLOADER
Developed as a framework to support mass uploading and updating of objects and supporting data.
8/15/2016 ArcherGrey Proprietary & Confidential 2
Design Goals
• Simple Installation
• Ease of Use
• Multiple and Complex Data Scenarios
• Web-Based and Automated Usage
• Accepts Spreadsheet Input Files
• One File - multiple types and relationships
• Supports ENOVIA number generator
• Supports transactions
8/15/2016 ArcherGrey Proprietary & Confidential 3
What is the ArcherGrey Product Uploader?
• It is a small, handy and extendable collection of ENOVIA admin objects, JSPs and JAR files which use the Apache POI (“Poor Obfuscation Implementation” – related to MS Office formats)
• This Java library is used to read, extract, validate and save cells/fields from checked in Excel and/or delimited text files into ENOVIA Business object basics and attributes along with creating, connecting, auto naming, attribute numbering or whatever else you may want to do with them.
http://poi.apache.org
Step 1 – Create a File Template
Select “Manage Templates” and add a new template in the popup window.
Step 2 – Select the New Template
Click on the “BOM_TEMPLATE” item and click on the Open Selected Template menu item to bring up the list of maps for this template.
Step 3 – Select the Input File to Map
Click the “Browse” button and select the input file. After selecting the input file the form will then allow maps to be added.
Step 4 – Create the Maps
Enter the Map Name in the “New Map Name” field and click the “Add New” button. The name of the map must match a valid Schema Type listed in the Input File.
Step 4 – Continued…
Click on the Map item to edit then click on the “Edit Selected Map” toolbar link. A new map item with no mapped fields will look similar to the window on the right:
Step 4 – Continued…
Select a field on the left and the associated input column on the right and click the “Map Selected” button. The chosen entries will be removed and a new entry will be displayed on the bottom to show the mapping. Once all of the applicable fields are mapped, click the “Save Changes” button and then click “Done” to close the window and return to the Template Map Edit page.
Step 5 – Import the data
Once completed, a template can be used to process any input file with the structure defined by the maps. To begin processing, click the Done button.
Data Processing
• Processing is transaction based
• Errors are logged and changes rolled back
• Create or Update detected automatically
• Hook to JPO for complex revision logic
• Processing can be automated / Cron Job
File Templates and Type Maps
• Type Maps are organized under File Templates
• Each schema Type requires a named Map
Template / Map Hierarchy
How a given input file is processed is managed by the chosen Template and the Type Maps associated with it. These are managed by the User Interface.
Installed Components
• agDataMappingFS.jsp
• agDataMappingDialog.jsp
• agDataMappingProcess.jsp
• agDataMappingGetFile.jsp
• agManageMapsFS.jsp
• agManageMapsDialog.jsp
• agManageTemplatesFS.jsp
• agManageTemplatesDialog.jsp
• agProductUploader.jar
• Also XMLBeans, Apache poi, etc.
Simple Installation
The supplied installer program generates and unpacks all of the needed files and scripts. It can also be used to directly install the application.
Questions & Answers Thank You For the opportunity to present
8/15/2016 ArcherGrey Proprietary & Confidential 21
Archer Grey LLC
2650 North Lakeview Ave
Suite 1504
Chicago, IL 60614
603.759.6220
www.archergrey.com
Mobile: Brion Carroll
Business Development
Director
Archer GREY