Skip to Content
avatar image
Former Member

Info using GetExtensionProperty

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 22, 2015 at 02:20 PM

    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

    Add comment
    10|10000 characters needed characters exceeded