To develop portal components
Hi Friends,
Recently i got access to SAP Enterprise Portal 6.0 server of our parent company in US. Locally i have developed some portal components using Tomcat_PDK and Eclipse.
How to deploy these portal components into the SAP EP?.
Can anybody please explain me the functionality of the tabs available in SAP EP Server homepage?.
Thanks.
Regards,
Tamilarasan.
Hi Tamilarasan,
the first difference between EP5 & EP6 for developers is that there is no PDK beneath th EP. The "PDK" for EP6 is a business package (a role with some content) to import into EP6. From there, you can upload components (PAR files), delete them etc., and you have the doc's that you know from PDK 5.0.
There is also a different Eclipse plugin!
Portal components for EP5 and EP6 differ in many points, for example there is a xml deployment descriptor in EP6 where in EP5 you had the profile property files.
Also some APIs have changed of course.
But you can import EP5 par files into Eclipse with the EP6 plugin, so this would be a starting point.
Hope it helps
Detlev
Similar Messages
-
Reusing of custom developed portal components
Hi, what are the main rules and methods when you want to reuse custom developed portal components from scratch.
We have at least 10 components that will use the same skeleton when we develop them. An example would be a portal application that has 2 states in common with other three components, but the third state is different.
I hope I was clear.
Lucian.One method would be to have all components within the same par file. This will allow you to have a generic constants.java file which contains all of the available states.
Another method would be to use the SharingReference property as part of the component. This would mean creating the initial component with all of the available states. Make sure that this component is shared. Then, every other component can share the classes of the initial component. This works in a similar fashion to using the HTMLb service and classes.
I hope this helps
Darrell -
Advanced Development Techniques for Oracle Portal Components
Hello friends,
I have the following problem. I have a report and a form (on a
view) in the same page, and when I select an item of the report
the form is refreshed with the values associated to the selected
item. The problem is that it makes it with delay, the first
selection doesn't show anything and the remaining sample the
data of the previous selection.
This application has been developed as Ken Atkins explains in
its document "Advanced Development Techniques for Oracle Portal
Components."
Oracle Portal Version: 3.0.9.8.0
Thanks in advance.
This is my code:
-- REPORT --
SELECT '<A HREF="http://mipc/portal30/
ALFONSO.refrescar_contenido?
p_variable=nombre_preferencia&p_variable_valor='||nombre_preferen
cia||'&p_pagina=61">'||Preferencias||'</A>' nombre_link
FROM ALFONSO.PREFERENCIAS
-- PROCEDURE TO REFRESH THE PAGE --
CREATE OR REPLACE PROCEDURE refrescar_contenido(p_varible IN
VARCHAR2,
p_variable_valor IN varchar2,p_pagina IN
VARCHAR2) IS
v_Sesion portal30.wwsto_api_session;
BEGIN
v_Sesion := portal30.wwsto_api_session.load_session
('CONTEXT','SESS_EMP');
v_Sesion.set_attribute(p_varible, p_variable_valor);
v_Sesion.save_session;
owa_util.redirect_url('http://mipc/servlet/page?
pageid='||ppagina||chr(38)||'_dad=portal30'||chr(38)
||'_schema=PORTAL30'||chr(38)||'_mode=3');
END;
-- FORM --
-- ... BEFORE DISPLAYING THE PAGE
alfonso.consulta_preferencia(p_session);
-- PROCEDURE consulta_preferencia --
CREATE OR REPLACE PROCEDURE consulta_preferencia(p_session in
out PORTAL30.wwa_api_module_session) IS
v_RowID VARCHAR2(100);
v_Session portal30.wwsto_api_session;
v_nombre VARCHAR2(40);
BEGIN
v_Session := portal30.wwsto_api_session.load_session
('CONTEXT','SESS_EMP');
v_nombre := v_Session.get_attribute_as_varchar2
('nombre_preferencia');
IF v_nombre IS NOT NULL THEN
BEGIN
SELECT rowidtochar(rowid) INTO v_RowID
FROM ALFONSO.VISTAPREFERENCIAS
WHERE nombre_preferencia = v_nombre;
-- VISTAPREFERENCIAS it is the view in which the form is
based.
END;
-- Tell the component that the query is coming from a link,
and that the rowid
-- is being used to query the correct context record.
p_session.set_value (p_block_name=>'DEFAULT',
p_attribute_name=>'_CALLED_FROM_LINK'
,p_value=>'ROWID');
-- Pass the rowid of the context record to query.
p_session.set_value (p_block_name=>'DEFAULT',
p_attribute_name=> '_ROWID'
,p_value=> v_RowID);
-- Now do the actual query, using the query button
processing in the target module
portal30.wwa_api_module_event.do_event
('DEFAULT','QUERY_TOP',1,'ON_CLICK',True,'',p_session);
-- Save the session information, which includes the
p_session.save_session;
END IF;
END;
/You can make the report with a procedure from which you may call to a form by means of a link. It is a possibility, no??
It is better a example:
TABLE A
campo1 VARCHAR2 (20)
campo2 VARCHAR2 (20)
CREATE OR REPLACE PROCEDURE REPORT IS
v_cursor NUMBER;
sentencia VARCHAR2(200);
vnumfilas NUMBER;
rowid_pref VARCHAR2(18);
v_campo1 <schemaname>.A.campo1%TYPE;
v_campo2 <schemaname>.A.campo2%TYPE;
BEGIN
htp.p('<HTML>');
htp.p('<HEAD>');
htp.p('</HEAD>');
htp.p('<BODY>');
sentencia := 'SELECT rowidtochar(rowid), campo1, campo2 FROM A';
DBMS_SQL.PARSE(v_cursor,sentencia,DBMS_SQL.V7);
DBMS_SQL.DEFINE_COLUMN(v_cursor,1,rowid_pref,18);
DBMS_SQL.DEFINE_COLUMN(v_cursor,2,v_campo1,20);
DBMS_SQL.DEFINE_COLUMN(v_cursor,3,v_campo2,20);
vnumfilas := DBMS_SQL.EXECUTE(v_cursor);
LOOP
IF DBMS_SQL.FETCH_ROWS(v_cursor)=0 THEN
EXIT;
END IF;
DBMS_SQL.COLUMN_VALUE(v_cursor,1,rowid_pref);
DBMS_SQL.COLUMN_VALUE(v_cursor,2,v_campo1);
DBMS_SQL.COLUMN_VALUE(v_cursor,2,campo2);
v_link := '<A href="PORTAL30.wwa_app_module.link?p_arg_names=_moduleid'||chr(38)||'p_arg_values=<form's moduleid>'||chr(38)||'p_arg_names=_rowid'||chr(38)||'p_arg_values='||rowid_pref||chr(34)||'>'||campo1||'</A> '||campo2||' <BR>';
htp.p(v_link);
END LOOP;
htp.p('</BODY>');
htp.p('</HTML>');
END;
the form has to be based on the table A.
I dont know if this example has errors, but have you the idea??
I hope it helps you out.
(Excuse my english) -
Passing Values Between to portal components
Hi All,
Im having 2 portal components in my UI ,in the 1st component user has to select data from dropdownkey and inbox and i need to carry these values and display in 2nd portal component,also user has to select somemore details from the second portal component..,based on all his inputs i need to create a new data in r3 system.
Any codesamples,articles..??
regards,
VinothHi,
This is possible and very easy to implement.
Since version 1 patch 3 of the PDK.NET was released, embedded .NET iViews on the same page are processed together. So you could actually access one portal component from another.
One of the new features of version 2.0 was creating server side events between iViews on the same page <b>at</b> design time Take a look at the following <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/dotnet/pdk%20for%20.net/developer's%20Guide%20PDK%202.0%20for%20.NET/Programming%20with%20PDK%20for%20.NET/Designing%20Portal%20Pages/PPD_Workflow.htm">link</a> .
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/dotnet/pdk%20for%20.net/developer's%20Guide%20PDK%202.0%20for%20.NET/How%20to/PortalServerSideEventing.htm">here</a>is the link to the HowTo illustrating creation of server side events between iView at runtime (this if part of the documentation that comes with the PDK .NET add-in).
Another option is to implement client side events using the EPCM, <a href="https://media.sdn.sap.com/html/submitted_docs/dotnet/How%20to/Portal%20Client-Side%20Eventing.htm">here</a>is the link to that how to.
Regards,
Tsachi -
Pro/cons for dev. environments for Enterprise Portal components
Hi
I am looking for some positives and some negatives that should be considered when a client needs to decide on which development environment to use for Portal development. I am aware of three products, Visual Composer, Web Dynpro and NW Developer Studio.
Is there anyone who can briefly try to explain the positives and negatives with each?
Any feedback is greatly appreciated!
Kind Regards,
Thomas KjelsrudHi Thomas,
first, welcome on SDN!
Then about your question:
The standard IDE for any kind of portal components / applications is the NetWeaver Developer Studio (NWDS). By this, you can develop different things (EJBs etc pp), but also portal specific projects (in the end: PAR files, based on AsbtractPortalComponent, DynPages or JSPDynPages) as well es WebDynpro applications. The latter are able to run standalone (ie not driven by EP, but by WAS J2EE 6.40), but there is also a tight integration into the portal environment.
If this is understood, you know that the question "NWDS or WebDynpro" does not make sense, for WebDynpro is developed through NWDS.
A first overview about this issue so far is https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/exploring java programming models with sap netweaver developer studio.pdf
In that PDF, also the relationship of the tool NWDS and the programming model of WebDynpro is given (even if the term "relationship" may be misguiding, it's more that these two things are to be seen in a comparison, for they use different techniques, are meant for different aims etc.)
The VC is a totaly visual tool to build "applications" for EP mainly based on access to R/3 as backend system, for example. So it's focus is on building UIs which access backend information. That for sure is important for backend integration into EP, but the term "application" does not really fit.
For VC see https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/developing code-free business applications using visual composer - beginner.abst and https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/visual composer - a model-driven development tool for enterprise portal iviews.pdf as an introduction.
Hope it helps
Detlev
PS: Please consider rewarding points for helpful answers. Thanks in advance! -
How to export and import the Portal Components
Hi,
I had developed few components like (Forms, Reports, Frames etc.,) in Oracle Portal release 2. Now, I need to make available all the components on my Client's machine. I like to know how to export and import these components.
If any can help in this, it will be a great help for me...
Thanks in Advance...The migration of any Portal DB provider components, has the following steps.
Assume that you are migrating a form component form_X.
1) Click the export link of the form_x.
(this will take you to create transport screen).
2) Specify a name of the transport set which you are going to create. (eg., "My form_X transportset")
(Since the objects are migrated using a container which is in other words called as 'Transport Set').
3) In that select the export now button.
(this will mark your form component form_X for export).
4) Verify that the status of the transport is 'Extract Complete'
(check with the browse transport screen in Export/Import Portlet under Admin tab).
5) Now, the object information is extracted into transport set tables used by Portal Export/Import Utility.
6) Go to that particular transport set, (browse transport) and download the script available.
7) That script will lead you to various steps,
(create a dump ).
8) In the target instance, import that dump using the same script again.
9) Merge the contents of the dump (form_X information) into any of the application.
(Import option => in the export/import portlet under admin tab).
10) Verify that the status of the transport set is 'Merge Complete'.
Now, the object is migrated and ready for use.
(Here are explaining the export/import process in detail.
You can refer the export/import manuals.
http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/INTERNALPRODDEVFOLDER/TECHREADINESS/CM_PUBLISHING/EXPIMP/EXPORT_IMPORT_LOB0.PPT -
How to export and import Portal Components
Hi,
I had developed few components like (Forms, Reports, Frames etc.,) in Oracle Portal release 2. Now, I need to make available all the components on my Client's machine. I like to know how to export and import these components.
If any can help in this, it will be a great help for me...
Thanks in Advance...
SudheerHi,
I had developed few components like (Forms, Reports, Frames etc.,) in Oracle Portal release 2. Now, I need to make available all the components on my Client's machine. I like to know how to export and import these components.
If any can help in this, it will be a great help for me...
Thanks in Advance...
Sudheer Hi Ravikanti,
Here are two things you can do to get started.. In 9iAS Release 2, Export/Import functionality is provided via a set of export/import utilities included with 9iAS Portal.
1) If you have not had the opportunity yet, a good place to start is to download and review the Oracle9iAS Portal 9.0.2.2 Export/Import FAQ posted on portalcenter.oracle.com.
Here is the URL for the Portal 9.0.2.2 Export/Import FAQ:
http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/OTN_CONTENT/MAINPAGE/DEPLOY_PERFORM/EXPORT_IMPORT_FAQ_1127.HTM
2) For official documentation on Portal 9.0.2 Export/Import, refer to the Task Help in the Online Documentation for Portal Import/Export (accessible from the question mark help icon within the "Browse Transport Sets" wizard.)
Best Regards,
Harry -
Details about Portal components Abstract Portal components, Dynpage etc..
Hi,
I would like to know differences between Abstract portal components, Dynpage, JSP Dynpage and HTMLB.
I am looking for
1) What are these ?
2) what to use when ?
3) How do you differentiate each one of them with other?
4) Sample Examples?
5) Prerquisites to learn
please provide relevent links/docs/info, if you can differentiate them it helps a lot
Regards,
MuraliHi
Have a look at these
http://media.sdn.sap.com/html/submitted_docs/60_sp2_javadocs/runtime/com/sapportals/portal/prt/component/AbstractPortalComponent.html
http://help.sap.com/saphelp_nw04/helpdata/en/19/4554426dd13555e10000000a1550b0/frameset.htm
<a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3217">Java development methodologies (Part I)</a>
Nd lemme knw ur mail id i shall send u docs which will clear it up
Cheers
Swathi
Do offer pts:-)
<a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3283">Java development methodologies (Part II)</a> -
Hi Experts,
what is the meaning and difference of different Portal components in Portal component object like ,
1) AbstractPortalComponent
2) JSPDynPage
3) DynPage
Thanks in advance.Hi Vinay,
It seems, you are a new bee in EP development. These are some of the links which you would like to go through.
[Running an Enterprise Portal|http://help.sap.com/saphelp_nw04s/helpdata/en/19/4554426DD13555E10000000A1550B0/frameset.htm]
[2004s EP Guide|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8a4ecee4-0601-0010-6aa2-9903d650266f]
[More EP|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/library/netweaver/netweaver-developers-guide-2004s/sap%20netweaver%20developer's%20Guide%202004s/Running%20an%20Enterprise%20Portal.ca]
You may want to look at the below thred too..
[Tread|Portal Implementation;
Cheers!!!
Biroj Patro.
Edited by: Biroj Patro on Dec 4, 2009 8:41 AM -
NLS compatibility of portal components
Nice to be back to discussion forums after a long time :)
What are the best practices for building NLS compatible portal components such as Forms, Reports, LOVs. wwnls_api seems to be useful only for custom portlets and dynamic pages. However for Forms created based on tables/views, the field names are all static strings and we don't have anyway of manipulating these strings using wwnls_api.get_string method.
One crude strategy is to maintain a duplicate copy of a component for every language which would not only increase the extensibility but also consumes lot of development time. Can someone suggest a better way?
I went through the following article - but it does not address Forms, Reports etc., translation.
http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/OTN_CONTENT/MAINPAGE/PUBLISH_CONTMGMT/TRANSLATION%20TECH%20NOTE.HTM
Thanks in advance,
Amjad.Hi Amjad,
Good to see you.
I don't think there's an easy way to achieve this. Try to post your question in the Portal Applications forum.
Peter -
How to develop portal application from scratch
Hi,
I am on the process of evaluating sun one portal server in windows environment.
currently i am planning to develop some sample portal application from scratch.
can someone help me how to go about in this with some reference materials/links.
Thanks and Regards,
Senthilportal application means
1- portlets (portlet logic + portlet view)
or
2- channel + provider (original Sun portal components)
have a look at
http://docs.sun.com/app/docs/doc/819-1370
additionally you can develop JSR168 portlets in combination with JSF straight with Sun Creater 2
which is currently available as a free beta version
cheers
/ulf -
I have my solaris 3.0.8 portal environment accessible via https and http connections by using Apache virtual hosts. Ideally I'd like to be able to force an https protocol when users access some sensitive application components. Is this possible? If not, does anyone have any suggestions for a workaround that could produce the same results?
Hi Vali
<b>PORTAL COMPONENT</b>
from user point of view,a component that can be displayed into a portal page.from an apllication development perspective,a plug able to component designed to be executed into a portal environment
<b>PORTAL SERVICE</b>
A component offering a globally accessible function in the portal.the portal runtime development model offeres a way to implement a clear separation between a Service
API and its implementation
A Portal Application contain <i>two types of resources</i> :
1)Web Resources
- Accessible via http / https requests to a web server
- All files Not unber WEb-INF
2)Non-Web Resources
- Not accessible via an http / https request
- All files under WEB-INF
A portal Application can contain:
a) Several portal components and several portal services.Using several sections in DD these components and services are defined
b)only <i>ONE</i> Portal Component
c) only <i>ONE</i> Portal Service
All portal services of a portal application are declared in service sections within the services section
Regards
Chaitanya.A -
Errors Installing Portal Components using 9iAS Enterprise on 8.1.7 SE
We are getting an error installing the Portal Components using
9iAS Enterprise on a 8.1.7 SE database. The log indicates that
the error is:
ORA-00439: feature not enabled: Function-based indexes
Errors encountered in the Install process. Installation Aborted.
While I know that Function-based indexes are not supported in SE
this should not prevent the installation of Portal.
Does anyone have any suggestions?
Thx, PaulIts also working in our case where we have used 8.1.7 Enterprise Edition. We installed 9iAS 1.0.2.0 on NT. So if you have any issues regarding this then let me know.
-
Does anyone know when will the Developer portal be back today, tomorrow ?
When will the developer portal be back ?
How are we ment to deploy fixes and enhancements to our apps? I
They are already provisioned and you can still reach iTC, so I'm not sure there is anything stopping you? -
Hi all
I am new to 9iAS portal. I would like to know how to start to learn and develop portals using 9iAS, any books hints..
And also I would like to know what is PDK??...Using PDK can we develop portals without installing Oracle 9iAS..Where can I find details regarding these??.
Please any help is appreciated..
Thanks a lotHello,
The best start will be to take a look to PortalCenter Web site for overview of the features and benefits of OracleAS Portal.
For development perspective you can use PortalStudio, this is the place where you will find all the information -sample,technical note, how tos, ...- about the PDK.
Regards
Tugdual Grall
Maybe you are looking for
-
How to delete multiple pictures in 3GS?
I have lots of photos in the Photo Stream. How do I delete more than one picture at a time? Don't tell me it's not possible -- it's really stupid if that is prevented by Apple.
-
In acrobat 9 why can it never create a word document from a pdf correctly?
So I have acrobat 9 and because I have lots of issues with editing PDFs in it I occasionally need to convert the pdf into a word to help with the editing. However it never even comes remotely close to converting it correctly. I mean it is not even c
-
When viewing slideshow my photo playlist stops and randomly plays for a view seconds only
When I go to view a slideshow of photos the playlist I assigned to play either doesn't play or randomly kicks in during slideshow. I have assigned several different playlist to my photo slideshow and they all do the same thing. I am connected to a
-
Can I import a tablespace into Oracle 10g Express Edition
I am very new to Oracle 10g Express Edition. We have a server running Oracle Enterprise Edition and we have been creating a transportable tablespace to be imported into a few servers. This works fine for us. I would like to find out if I can import t
-
Solved! Go to Solution.