cancel
Showing results for 
Search instead for 
Did you mean: 

Integration of JSR-168 portlet into Portal - Complete Guide

Former Member
0 Kudos

Hi there,

the CE 7.1 is described to be compatible with JSR-168 portlets.

Our Company has developed a JSR-168 portlet which comes as a WAR-File

which can be easily included in other application server and portals (WebShpere, Apache).

But integration in SAP Netweaver fails - I am missing a complete documentation

which describes me the necessary steps to integrate a JSR-168 portlet application

into the SAP Application Server and also how to integrate the GUI into a View of the NW portal.

PLEASE HELP ME!!!

Things I tried - Things I failed:

- Imported a EAR-File into Developement Studio and tried to add it to Server

-> Message "EAR Project: ... should have the SAP specific facet in order EAR to be built."

- Deployement via "Deployement Tool" of Netweaver 2.0 (2004s) worked

and I was able to start app but no integration into NW portal view was possible

(Where is the deployement tool in NW 7.1 CE?!?!?)

- I wanted to create a PAR-File by a WAR-File but dont know how?

- I did not find any iView template which is for my portlet type.

Did anyone out there has the same probs or could help me....

Thanks on advance,

Andi-)

Edited by: Markus Sümmchen on Oct 6, 2008 1:47 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Michael, Hi Diyan,

many thanks for your hints and links (which I read completly).

But sorry - I still not able to build an iView for my portlet app.

I am happy to have my application below the folder "Portlet Applications" (not "Portal Applications").

I tried to call the "Update PCD" command for my portlet - I get a "child not found..." error message!?!?

(Updating PCD for the "guessNumber"- example worked but what to do with this...?)

I do not find an iView template which is seams to be for a portlet application.

Please give me a hint which steps are necessary to :

Michael: ... to create an iView wrapper in the PCD...

Diyan: ...create a new iView out of the exposed portlets...

Again thx on advance!

Andi-)

0 Kudos

Hi Andy,

From the Portlet applicationsyou have to select the portlet you want to use. right click on the selected portlet -> copy. Then go to portal content. Create your Folder. In the folder right-click and paste as PCD object the copied portlet. This will creat the iView containing the portlet. Then everything is like the standard iViews - create page, link to role and so on.

Regards,

Diyan

Former Member
0 Kudos

Hi Diyan,

thanks for your hint!

Now I was able to create the iViews for my portlets and include them on a page.

By the way - this is not very intuitive in NW, if I dont know the whole NW concept.

And context menus are not ergonomic for tasks like this.

Now I focus other problems cause the Portlet-Comunication (Dojo-Framework) seems not to work properly in NW Portal in IE (they work in Firefox).

Starting a new topic....

Bye and thanks,

Andi

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Dijan,

your links are not working at my place - is the server down?

Are these the same links Michael mentions.

Thank you,

Andi

0 Kudos

Hi Andy,

The links are the same. It was my mistake to paste tthe internal links.

Regards,

Diyan

michael_glaun
Advisor
Advisor
0 Kudos

Hi Markus,

There is no complete guide for integration of JSR-168 portlets into a portal; however Diyan is correct.

In a nutshell, once you have deployed your portlet, you use GPAL technology in the SAP NetWeaver Portal of CE to create an iView wrapper in the PCD. All of this done by a portal content admin in the Portal Content Studio. Your deployed portet should be displayed in the "Portlets" repository within the Portal Catalog of the Portal Content Studio.

For conceptual and how-to documentation, refer to the following SAP Help Portal links:

- Generic Portal Application Layer (GPAL) Repositories: http://help.sap.com/saphelp_nwce10/helpdata/en/44/5e93dc35624ddee10000000a1553f7/frameset.htm

- Integrating Applications into the Portal: http://help.sap.com/saphelp_nwce10/helpdata/en/45/90e8bfaec26c4ee10000000a1553f7/frameset.htm

- Working with GPAL Repositories: http://help.sap.com/saphelp_nwce10/helpdata/en/44/5b96b37b6f4de1e10000000a1553f7/frameset.htm

Please let me know if this works for you.

Michael

0 Kudos

Hi Markus,

Try this guide:

http://aiokeh.wdf.sap.corp:50000/SAPIKS2/content_get.sap?TMP_IWB_TASK=PREVIEW2&_CLASS=IWB_EXTHLP&_LO...

And also follow the Working with GPAL Repositories link:

http://aiokeh.wdf.sap.corp:50000/SAPIKS2/content_get.sap?_CLASS=IWB_EXTHLP&TMP_IWB_TASK=PREVIEW2&_LO...

All you have to do is to create a new iView out of the exposed portlets. The rest is just like working with ordinary iViews.

Regards,

Diyan