cancel
Showing results for 
Search instead for 
Did you mean: 

Description of how to export and import add-on for SAP B1 by steps

Former Member
0 Kudos

hello every body, I had created sap b1 form using sap b1 studio and I don't know how to export it as add-on and import it to sap b1, could any one please describe to me in steps how to export it and import it to sap b1 as add-on?

Accepted Solutions (1)

Accepted Solutions (1)

kothandaraman_nagarajan
Active Contributor
0 Kudos

Hi,

Please repost your discussion in SDK forum to get quick assistance.

http://scn.sap.com/community/business-one-sdk

Please close this thread by marking helpful answer.

Thanks & Regards,

Nagarajan

Answers (3)

Answers (3)

Former Member
0 Kudos
Former Member
0 Kudos

could you please clarify what is company connection code, because I'm new in the field

Former Member
0 Kudos

Hi moustafa,

Check Sample SDK Code.

C:\Program Files\SAP\SAP Business One SDK\Samples\COM UI\CSharp\01.HelloWorld

Regards,

Sandeep kr.

Former Member
0 Kudos

Hi Sandeep,

I am trying to develop an addon on a test environment. I have used the SAP B1 studio to create a form reading some data, then imported this form into MS-visual studio to export .ard file using B1DE and finally trying to import it to SAP B1.

the addon doesn't work when I try to setup my file from Add-on Manager it gives me some errors like "connection timed out".

I'm using SAP B1DE v8.8

Visual studio 2010

and SAP B1 v9.0

Regards,


Mostafa Salah.

Former Member
0 Kudos

Hi moustafa ,

Connection timed out means that your add-on is not

connecting back to the UI.

Try this code for DI Company Connection..

Private Sub SetApplication()

        '*******************************************************************

        '// Use an SboGuiApi object to establish connection

        '// with the SAP Business One application and return an

        '// initialized appliction object

        '*******************************************************************

        Dim SboGuiApi As SAPbouiCOM.SboGuiApi

        Dim sConnectionString As String

        SboGuiApi = New SAPbouiCOM.SboGuiApi

        '// by following the steps specified above, the following

        '// Statment should be suficient for either development or run mode

        'sConnectionString = Environment.GetCommandLineArgs.GetValue(1)

        sConnectionString = Environment.GetCommandLineArgs.GetValue(1) '

        'sConnectionString = "5645523035496D706C656D656E746174696F6E3A59313931303035313531383699469FA92C3C9A964A219C5862952A90D911E9" 'Environment.GetCommandLineArgs.GetValue(1)'

        Try

            SboGuiApi.Connect(sConnectionString)

            '// connect to a running SBO Application

            '// get an initialized application object

            SBO_Application = SboGuiApi.GetApplication()

        Catch ex As Exception

            MsgBox("Make Sure That SAP Business One Application is running!!! ", MsgBoxStyle.Information)

            End

        End Try

        SBO_Application.StatusBar.SetText("DI is Connecting now", SAPbouiCOM.BoMessageTime.bmt_Long, SAPbouiCOM.BoStatusBarMessageType.smt_Warning)

    End Sub

Regards,

Sandeep Kr.

Former Member
0 Kudos
Former Member
0 Kudos

Hi Moustafa,

Are trying to install addon. if yes

then goto.

Administration - Add on - Add On Administration

click on Register add on and browse .ard file and click ok.

Administration - Add on - Add On manager

and click pending add ons tab and select your addon and click install button after install addon click installed add-on and select add on and click start.

Regards,

Sandeep kr. 

Former Member
0 Kudos

Thank you Sandeep ,

but when I try to install my add-on sap gives me message 'connection timed out '

Former Member
0 Kudos

Hi Moustafa,

Are using b1de for creating addon.

can u post DI company connection code.

Regards,

Sandeep kr.