cancel
Showing results for 
Search instead for 
Did you mean: 

Addon Help

Former Member
0 Kudos

Hi,

I want to develop my own add-on. Where can I get the samples. ?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

If you have installed SDK in your computer along with SAP then you need to go to this place:

C:\Program Files (x86)\SAP\SAP Business One SDK\Samples

Here you will find the sample to develop the add-ons like making connection, working with UI, Working with DI.

C:\Program Files (x86)\SAP\SAP Business One SDK\Samples\COM UI\CSharp

At this place you can start with Hello World Sample.

Hope it helps.

Thanks & Regards

Ankit Chauhan

Former Member
0 Kudos

Hi,

Thanks. I am following as you told. But can you please explain what is this connection string ?

0030002C0030002C00530041005000420044005F00440061007400650076002C0050004C006F006D0056004900490056

How to use this ? Do I need to use it exist. ?

Thank You!

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Here you can find it that what is this connection string:

Also you need to use it as it is. You need to go to your project properties-> Go to Debug and paste this connection string to Command Line Argument.

Then you will be able to connect to the GUI.

Hope it helps.

Thanks & Regards

Ankit Chauhan

Former Member
0 Kudos

Hi,

Thanks again for your reply. Please tell me one more thing:

I am getting error as that the type or namespace SAPbouiCOM not found.

While I am seeing that this DLL is already there.

How to solve this ?

Thanks

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Yes, you can get this error.

The reason behind it is that these samples use the old version of COM references. You need to remove that first.

Then right click your project->Add References->Go to COM tab and select the latest version of SAPbouiCOM and SAPbobsCOM according to the version you have installed.

Hope it helps.

Thanks & Regards

Ankit Chauhan

Answers (0)