cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the XCM configuration data in the B2B Application

Former Member
0 Kudos

Hi All,

i need XCM Configuration data in the B2B multiple sold to page is there any method to get the scenario and shop names where configured in the XCM http://localhost:54000/b2b/b2b/init.do?scenario.xcm=MYR3SHOP34&shop=MYSHOP34

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You should use "UserSessionData" object and use method "getCurrentConfigContainer()" this method return object of class "ConfigContainer"

You can use method "getScenarioName()" to get the current XCM scenario name "MYR3SHOP34"

UserSessionData.getCurrentConfigContainer().getScenarioName() will return "MYR3SHOP34"

You can access value of  different part of the XCM configuration with class "ConfigContainer".

To get Shop detail you need to use "BusinessObjectManager" class method "getShop()"

I hope this info will help you.

Ashish

Answers (0)