Here I want to describe what steps need to be done if the data of a Custom Business Object shall be uploaded.
For this task we choose the service integration via XML File Input.
At the end we will be able to upload the data even periodically.
Here is a very simple Custom BO with some fields at the Root node and a sub node with a 1 to n multiplicity.
If you want not only a simple upload (= Create) but also an update (= Modify) you should provide an Alternative Key for the Root node.
There is even a navigation association based on a relationship code (which is a custom code list data type).
Have this Custom BO active before the next step.
First choose from the context menu of the Custom BO the entry “Create Service Integration”.
Second in the upcoming window select the radio button “XML File Input” and press “Next”.
Now the fields for the basic information (e.g. receiving BO) are already filled. You may adjust only the integration name.
In the next window you can select the elements of the Custom BO which shall become part of the XML file so they can be uploaded.
As we want to do mass upload we set the flag “Mass Processing”.
Now we need to define how the Custom BO instance can be identified in case of update. For sub nodes this is done via a combination of fields.
Finally save the Service Integration and activate it.
A WebDAV folder is created which you need later to place the XML files in.
If you re-open the Service Integration you will be able to download the XSD schema definition from the “General” tab.
Use the XSD from above to create your XML files.
Go to the “Application and User Management” -> “File Input”
and create a new run based on the previous created Service Integration.
Finally set it to Active (via “Actions” button), save, and close it.
Switch to the “Unprocessed Files” query and press “Add” to add your XML file to the WebDAV folder.
Upload your file with the upcoming dialog
If you need this upload to be executed periodically you can also map the WebDAV folder to you system.
Now your uploaded file is listed under the unprocessed files.
Switch to the “Active Runs” query, select your File Input Run and press the “Schedule” button.
You can schedule it to start immediately or plan it for a later start or even run it periodically.
Via the button “View Jobs” you can verify if and when the job has been executed.
An OWL will now list the uploaded instances.
That's all, folks.
Horst
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
38 | |
19 | |
13 | |
13 | |
10 | |
10 | |
10 | |
8 | |
8 | |
8 |