on 2005 Dec 27 3:50 PM
hi, anybody knows how does work the add - on Screen Painter and development project???, like manuals or something that help me understand it..
Thanks and regards
Christian
Hi Louis
and you know something about the add - on development project ? , for what it is ? how can i use it?
Thanks for your helps
Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christian
I'm not sure what development project you are talking about? Don't think i've seen it.....if you more specific i can give a better answer. But there are a lot of samples from SAP. If you just look through all of them you'll see that it is simple to use the sdk. The samples are usualy installed with the sdk install. It's in the same directory as sdk installation.....C:\Program Files\SAP Manage\SAP Business One SDK\Samples. But i would suggest you look at samples that are in 2005, there SAP has more samples and have better examples on how to use there objects.
Hope this helps
i did find the development project on the screen painter help and says : Having created and stored your new form in SBO Resource File format (.srf), you must manually include it in your Add-on development project.
and if i´ll wanna add more code on the forms .. what is the tool for doing? .. sorry my english is no so well..
Thanks Louis
Hi Christian,
Do you mean that you want to do some run time modification to the form you created with Screen Painter?
If the answer is yes, firstly, you need to add the SRF file to your project. Then, you should load the form, catch the form instance and do the modification. Please try the sample code below.
Dim oXMLDoc1 As MSXML2.DOMDocument
Set oXMLDoc1 = New MSXML2.DOMDocument
'// load the content of the XML File
Dim sPath As String
sPath = CurDir
oXMLDoc1.Load (sPath & "" & FileName)
'// load the form to the SBO application in one batch
SBO_Application.LoadBatchActions oXMLDoc1.xml
'// Get the added form object by using the form's UID
Set oForm = SBO_Application.Forms.Item("MySimpleForm")
'//Then you can modify the form.
HTH,
Nick
Christian:
I believe I understand your question.
The screen painter is a tool to draw some forms to be used inside SAP Business One. If you believe you need a new screen in SBO to show or enter data, you can build the screen with the screen painter.
The result of the screen painter is just a dummy xml file with the fields, buttons, labels, just like a plain HTML file.
Now, if you want the buttons to make actions, the fiels to show data, then you have to build an Addon development project.
The addon development project is any application that will interact with the SBO. To build this application, SAP provides the SDK or software development tools.
So you enter to the microsoft visual studio (or any other IDE) creates a project, add the components provided by SAP, load the xml file created with screen painter, add some code, and in the end, build the ADDON.
Hope this answer your question.
Harold Gómez
Hi Christian
I myself hev not seen any manuals. In the sdk training there is a bit on it.....but seeming you don't know anything about it im assuming you've not been on the sdk course. The screen painter is a add-on that works from inside sbo. So install it like you would do with any add on inside sbo "Administration->add ons->add on administration". Once it has been installed. You must make sure the add on is connected. Then go to the top to "tools->screen painter". Oce you are in there its straight forward and you design your form. then when you done it will save it as an xml form that you'll load in your code.
Hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
104 | |
10 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.