cancel
Showing results for 
Search instead for 
Did you mean: 

XMLCreation for Business One

former_member551008
Participant
0 Kudos

Business One 8.8

Hello Guys We have created all of our forms programatically with no painter or other interface.

We have some XML written documents.

I would like a guide and samples of how to use the xml and create the xml files from scratch so I better understand

I would like this resource to explain the nodes and how they will be read

View Entire Topic
former_member185682
Active Contributor
0 Kudos

Hi Derek,

First, you can use screenpainter add-on or B1 studio to draw your forms and export as xml. I currently use the B1 studio.

Regarding how to work with XML, you can see the sample on SDK folder:

%ProgramFiles(x86)%\SAP\SAP Business One SDK\Samples\COM UI\CSharp\04.WorkingWithXML

Regarding to the forms that you create directly by code, you can retrieve a xml for them easily by code. After you draw your form you can call the following line::

string xml = yourForm.GetAsXML();

After this save the value of xml string in a file, and you can use on the sample WorkingWithXML or in your project.

Hope it helps.

Best Regards,

Diego Lother

former_member551008
Participant
0 Kudos

I do not have the SAP Business One SDK on my computer

former_member185682
Active Contributor
0 Kudos

Hi Derek,

So, you can install. SDK is a part of SAP Business One installation package. On SAP Business One package, there is a folder called package where you can get the SDK installer.

Hope it helps.

Kind Regards,

Diego Lother

former_member551008
Participant
0 Kudos

It does not have the package