cancel
Showing results for 
Search instead for 
Did you mean: 

Reach the welcome.jsp or productlist page directly from external applicatio

Former Member
0 Kudos

All,

I created a home page specific to certain users which will have same catalogs(hardcoded) as that of b2b application.This home page will be called from an external application.once the user landed on that page and on clicking of the catalog the user will be redirected to the b2b catalog directly without logging in(as he has already logged into his application)

Need inputs on how to achieve this

Thanks in advance

Murali.K.N

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

yes you can do this. Instead of loading seperate home page just modify login.jsp as your home page.

This will make your work much easier.

Regards,

Sateesh Chandra

Former Member
0 Kudos

Hi

Thanks sateesh and Eswar

Now we decided to login to B2B from homepage .Then from login page I need to go to product detail page directly based on the product selected in the home page(ofcourse the home page has the products available in B2B application)

scenario

ExternalApplication--


>homepage
>B2blogin page
--


>productDetailsPage

Is this possible.

Murali.K.N

Former Member
0 Kudos

Hello Murali,

The B2B scenario is kind of special in few things. One, the user must have logged in before it can do something. Next mandatory thing is, a Sold-To should be known to the application. There are other things like

  1. Shop-Id,

  2. Catalog,

  3. Catalog Variant etc.

also play important vary important role before yuo can actually show Product details page.

First let's discuss Sold-To. When you logon in B2B scenario, you logon as the "Contact Person" to a Sold-To partner. This is a m:n relation. But, if there is only one Sold-To to a Contact Person, then the B2B application is smart enough to avoid that selection screen.

Well, before you can select the Sold-To, yuo have to select a Shop. This can be theoretically hardcoded in the URL parameter. So, we can assume that it is covered for this discussion. I am not sure what technical and business issues yuo may have to attain this. You have to address them separately later.

Next is catalog, catalog variant. Assume that they are not an issue - because say, you have configured automatic catalog determination. But, to get the product details, one needs the catalog ID, catalog Area / sub Area details before ISA can retreive the basic information from TREX and backend.

If you go to the standard B2B catalog search list page, or the B2C catalog page, please see the URL behind the product link in those pages. Your "home page" should have the links to products very similar to what you see in those pages. Now you have to figure out how you are going to do that. This is going to be a tough one for you.

But if you have a solution for the above issue too, then it will be a very easy task for you to go and tweak the WEB-INF/config.xml.

Can we know what your "External Application" is? Let me guess, is it an external catalog?

Cheers,

Easwar Ram

http://www.parxlns.com

Ash_ok
Contributor
0 Kudos

Hi Murali,

Adding to Easwar's observations -

You could derive the catalog GUID, catalog area GUID and the product GUID and link the URL generated to the product to be clicked in the external applictaion.

However, as Easwar mentioned, the B2B webshop would push in the login.jsp page if the URL is triggered. The actions behind the login .jsp would then proceed through another path and you would lose the values on the URL you triggered from the external application. To get around this problem, you would have to tweak the actions through a new path to go through to the product detail page.

We did something similar for a B2C ISA.

Cheers,

Ashok.

Former Member
0 Kudos

You can not do this in B2B application without logging on. Well, if your "other" application and E-Commerce are running under portal with SSO (single-sign on), then what you want can be tried.

Easwar Ram

http://www.parxlns.com

Former Member
0 Kudos

Hi,

For your contact person please assign only one SoldTo and maintain only one Catalog. Then the application will directly go to welcome.jsp insted of select soldto and catalog.

And if you want to go directly to Catalog page just use forward parameter in url. This value is available in this action.


<action path="/b2b/forwardToAction" type="com.sap.isa.isacore.action.GetForwardAction">
	<forward name="shopexist" path="/b2b/selectsoldto.do"/>
	<forward name="soldtoexist" path="/b2b/selectcatalog.do"/>
                <forward name="catalogexist" path="/b2b/startPage.do"/>
</action>

Just add it to which action you have to forward with the name.

Regards,

Sateesh Chandra