/scripts/ahub.form.attachments.js
1

Modal Form Event handling? (continue)

Oct 12, 2016 at 12:49 PM

123

avatar image

I am following this archived question:

http://archive.sap.com/discussions/thread/3965886

Former Member

"How did you add it to your project references? Did you use the Add Reference -> Assemblies in Visual Studio (recommended)? Or did you browse to the SDK path and added that?"

I added manually, in Visual Studio -> add reference -> browse. The COM category only has the separate dlls for me.

sdk | ui | uiapi | sbo
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

DIEGO LOTHER Oct 13, 2016 at 08:28 PM
0

Hi Szabolcs,

Just an attempt, in your project reference, click on the SAPBusinessOneSDK.dll and in the properties tab, check if the option Embed Interop Types = False, like the image. If no change this option and run again your program.

Hope it helps.

Kind Regards,

Diego Lother


img.png (7.0 kB)
Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Oct 20, 2016 at 05:19 PM
0

Hi Szabolcs,

The SAPBusinessOneSDK.dll is not in the COM section anymore. It's now in the Assemblies section.

Try referencing the one there. I believe the new SDK is installed to the GAC and you might have multiple version on your system.

Referencing from there will take the most up-to-date.

Perhaps that could be the issue?

Pedro Magueija
LinkedIn | Twitter | Blog


sdk-ref.png (21.3 kB)
Share
10 |10000 characters needed characters left characters exceeded
Skip to Content