jeffersyuan
29th September 2017, 12:24
Hi, All,

Does somebody know how to publish a custom BOD to ION ?

I had created a BOD via Infor Stuio, and run test, everything goes well.
Also generated in LN.

However, I don't know how to publish it to ION, so ION can process it.
I found some piece of document about to put XSD and xml file to ION server. But I don't understand how to generate the XSD file and xml file.

Does somebody know it?
Thanks.
Jeffers

bhushanchanda
3rd October 2017, 13:04
Hi,

Check this thread (http://www.baanboard.com/baanboard/showthread.php?p=203808#poststop) and see if it helps you.

jeffersyuan
9th October 2017, 07:31
hi, Bhushan,

Thanks a lot for your input.
You are right, in the DAL or UE, we should put code to generate BOD.

However, my question is, via Infor LN Studio, I had created the BOD program, and implemented to ERP Ln server.

But in the ION server, I need to register the BOD to let ION know it. In some documents or threads said, it's necessary to the XML and XSD file to ION server. However, how to generate the XML file and XSD files?

Thanks.
Jeffers



Hi,

Check this thread (http://www.baanboard.com/baanboard/showthread.php?p=203808#poststop) and see if it helps you.

bhushanchanda
9th October 2017, 11:11
You can take a look at the standard XSD and XML files and edit them as required for your BOD. The XSD basically contains the information of the fields in the BOD in terms of name, datatype etc while the XML contains the name of noun, type of BOD and some other information.

Study the existing files, modify them according to your need and use it to make your own XSD and XML files.

jeffersyuan
16th October 2017, 09:21
Hi, bhushanchanda,

I had added the code on DAL level.
However, in the BOD monitor bobod1200m000, I cannot find it.
Any ideas on it?
Thanks.

Jeffers
Hi,

Check this thread (http://www.baanboard.com/baanboard/showthread.php?p=203808#poststop) and see if it helps you.

bhushanchanda
16th October 2017, 13:30
Have you placed the XML and XSD files? Is your BOD registered in session (bobod1100m000) ? Also, you will need to trigger the BOD from your sesion/UI? It will be better if you can tell us what your BOD does and when does it gets triggered.

jeffersyuan
21st October 2017, 06:40
Hi, bhushanchanda,

I had found the bod message in ION server. However, it shows strange:
No title for the BOD message, the standard BOD has title in ION one view.
And if I link the BOD to a file system, it shows no destination. The standard BOD does not have this issue.
Any ideas on it?

Thanks.
Jeffers


Have you placed the XML and XSD files? Is your BOD registered in session (bobod1100m000) ? Also, you will need to trigger the BOD from your sesion/UI? It will be better if you can tell us what your BOD does and when does it gets triggered.

Renegade
8th May 2023, 17:33
Hi,
which infor document gives details on steps performed to publish a newly made BOD. I am not yet finding it in bobod1100m000

OmeLuuk
11th May 2023, 19:42
There must be some documents in the Infor Documentation Library.

If you find your BOD in ttadv7500m000 (where Studio should have put it) and the BOD is checked in (teams - end activity) and the BOD is in your working package-VRC, you should be able to insert it into bobod1100m000.

What I found to be the most tricky part was to create a zipfile containing the BOD layout to upload it in ION Data Catalog / Object Schemas. Feel free to download and compare one of the other Object Schemas in the Data Catalog to get an idea of what is in the ZIP file. Because only when the fields are known you can build logic in ION.

The way I currently work my way through that is:
1) In Studio on the Interface Perspective, on the Interface Definition run the Proxy Generator / WSDL and pick up the file created in the \output\out\WSDL directory.
2) Edit this file:

Remove all lines NOT containing xsd (or only keep contents of the <wsdl:types> node)
Remove all "xsd:" occurrences
Change:<xsd:element name="Result" type="bo:Message"/> into <xsd:element name="BOD_NAME" type="bo:Message"/> where BOD_NAME obviously is the name of your interface definition (so without BOD).
Add an XMLheader tag like <?xml version="1.0" encoding="UTF-8" standalone="no"?>
Save this file in ./BOD/BOD_NAME/BOD_NAME.xsd

3) There is another XML file in the ZIP file by the name of ./BOD/BOD_NAME/BOD_NAME.xml with a contents similar to this:<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:NounMetadata xmlns:ns2="http://schema.infor.com/InforOAGIS/2">
<Noun>
<NounName>BOD_NAME</NounName>
<IDXPath>/*/DataArea/BOD_NAME/NAME_OF_UNIQUE_INDEX_FIELD</IDXPath>
<SupportedVerbs>
<SupportedVerb>Sync</SupportedVerb>
</SupportedVerbs>
</Noun>
</ns2:NounMetadata> where NAME_OF_UNIQUE_INDEX_FIELD is the interface identifier for the built interface.
4) Then pack the .\BOD\ folder into BOD_NAME.zip and upload it in the Data Catalog\Object Schemas.
5) Resolve any errors preventing the import.

Renegade
30th August 2023, 15:28
Just seeing your reply! When I had to generate xml/xsd, i made a flat structure of xml nodes/values. And Add to Data Catalog and let it generate xsd either by adding manually or from data. I chose 'manual' and in the end, it did generate xsd. this was the template got into Data Catalog. But am yet to publish successfully. So, i have not successfully executed the full life cycle yet ! :)

OmeLuuk
31st August 2023, 10:42
Just seeing your reply!
:cool: Better keep an eye on the forum after dropping a post ;)