cancel
Showing results for 
Search instead for 
Did you mean: 

Info using GetExtensionProperty

Former Member
0 Kudos

Hello,  i try to use Company.GetExtensionProperty to obtain value from "Shared Parameters" in my addon released with "Extension manager" but i always obtain an empty string.

            Try

                s = parent.GetAppl.Company.GetExtensionProperty(parent.ConnectionString, SAPbouiCOM.BoExtensionLCMStageType.lcm_deployment, "SQL_PWD")

                MsgBox("lcm_deployment => '" & s & "'")

            Catch ex As Exception

                MsgBox(ex.Message)

            End Try

            Try

                s = parent.GetAppl.Company.GetExtensionProperty(parent.ConnectionString, SAPbouiCOM.BoExtensionLCMStageType.lcm_assignment, "SQL_PWD")

                MsgBox("lcm_assignment => '" & s & "'")

            Catch ex As Exception

                MsgBox(ex.Message)

            End Try

Where i'm wrong ?

Thanks, Matteo

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Renato,

I've also been trying to do this and getting the same results as yourself, pretty much.

I also made a topic about this defining and calling (shared) parameters in add... | SCN

If you figure this out, please let me know.

Edit: I'm on SAP B1 9.1 PL 5 btw