List of pages in the portal

Hi,
Can anybody tell me how to get the list of all pages in the portal using.
Thanks in advance.

To access the DesktopDefinitionManager EJB, look it up in JNDI such as:
import com.bea.netuix.application.manager.persistence.DesktopDefinitionManagerHome;
import com.bea.netuix.application.manager.IDesktopDefinitionManager;
import com.bea.p13n.management.ApplicationHelper;
import com.bea.netuix.application.manager.CustomizationContext;
import javax.naming.InitialContext;
import javax.rmi.PortableRemoteObject;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
// Access the DesktopDefinitionManager EJB
InitialContext context = new InitialContext();
String lookupName = DesktopDefinitionManagerHome.LOOKUP_NAME;
String applicationName = ApplicationHelper.getVersionedAppName();
if((applicationName != null) && (applicationName.length() > 0))
lookupName = applicationName + "." + lookupName;
Object home = context.lookup(lookupName);
home = PortableRemoteObject.narrow(home, DesktopDefinitionManagerHome.class)
IDesktopDefinitionManager portalManager = ((DesktopDefinitionManagerHome)home).create();
The DesktopInstanceManager is in the PortalCustomizationManager EJB-- this can be accessed using the same code as above, but replacing "DesktopDefinition" with "PortalCustomization" everywhere.
Kevin
Edited by: kfrender on Jun 5, 2009 9:08 AM

Similar Messages

  • How to get list of Pages in the Portal using JPDK API

    Hi All,
    I have number of JSP Pages binded in to different different war files deployed in to
    OAS server and also resides inthe portlet repository.Now problem is I would like to show that pages in the one Page as in links format should be in horizontal links using JPDK.
    Please help me out and any related examples which class will be solve the above problem.
    Thanks & Regards
    Sridhar Sabbani.

    Hi Sridhar,
    Do you mean links to portlets dropped onto the portal page? Or do you wish to access the links directly (i.e., access the portlet directly) ?
    thanks,
    Harsha

  • How to delete a Page in the portal

    Hello gurus,
    Could you please tell me how to delete a Page in the portal?
    Thanks in advance for any helps.
    Regards,
    Niki Nguyen

    I've tried that procedure, but it keeps giving me a message below, so it won't allow me to delete the Page, what is the next step?  Please advice.
    MESSAGE:
    An error occurred. Objects could not be deleted.
    Objects in the selected folder or object are currently locked
    Thanks in advance for any helps.
    Regards,
    Niki

  • Bug or feature : Using portlets with edit mode on a page in the portal

    Hi,
    i am using Workshop 8.1 (GA release july) and i have discovered a bug (or a
    feature) with respect to the beta version.
    i have created a simple portlet with a view mode and an edit mode. When i
    place the portlet on the very first page of a one book portal, it works
    perfectly. However, i have a book with three pages and placed the portlet on
    the second page. Now when i put the portlet in edit mode, by clicking the
    edit button, i am directed to the first page of the portal and the portlet
    will not show.
    Inspection learned that the URL generated for the edit button, didn't
    contain the _pagelabel parameter. When i added the parameter manually it
    works fine.
    A final remark is that the buttons in the titlebar have no icons the browser
    can load.
    hope someone can help me out,
    Lodewijk

    Can you please post this question to weblogic.developer.interest.portal
    newsgroup.
    Thanks
    "Lodewijk Spijker" <[email protected]> wrote in message
    news:3f165945$[email protected]..
    Hi,
    i am using Workshop 8.1 (GA release july) and i have discovered a bug (ora
    feature) with respect to the beta version.
    i have created a simple portlet with a view mode and an edit mode. When i
    place the portlet on the very first page of a one book portal, it works
    perfectly. However, i have a book with three pages and placed the portleton
    the second page. Now when i put the portlet in edit mode, by clicking the
    edit button, i am directed to the first page of the portal and the portlet
    will not show.
    Inspection learned that the URL generated for the edit button, didn't
    contain the _pagelabel parameter. When i added the parameter manually it
    works fine.
    A final remark is that the buttons in the titlebar have no icons thebrowser
    can load.
    hope someone can help me out,
    Lodewijk

  • Using a custom login page for the portal

    Hi all,
    I'm currently doing a migration from Plumtree 4.5WS to Plumtree 5.0.4. In the current 4.5WS portal, I'm catering to 3 different login mechanisms due to time-lags in migration of my users' workstations. The 3 mechanisms are:
    1) Smart Card Reader on Windows 95 using TLS (uses a client side ActiveX)
    2) Smart Card Reader on Windows XP using SSL (uses client side ActiveX)
    3) Java PKI Card on Windows XP using SSL (uses server side scripting)
    To cater to the above, we've made customisations to login.asp and dologin.asp and also added a few scripts of our own.
    I now need to migrate these over to Plumtree 5.0 as well. I've thought of 2 ways to do this:
    1) Doing a custom view replacement of the Login View. This however has limitations as I'm not sure how the codes for the above 3 mechanisms will come in, especially 3), which involves server side scripting.
    2) Creating a custom login and exit page. This is probably a much more feasible solution in my case as it allows me to freely create my login pages and exit pages accordingly to cater for the above. However to do this, I need to be able to customize the Log In and Log Off links on the Portal Banner in order to point these to my own login and exit pages.
    Any ideas what is the best (or correct) way to do this?
    Thanks!
    Weng Kong Lee

    AFAIK only one login.jsp is called.
    But you can include logic into that one JSP file.
    If referer = portal.company.com THEN
    else
    This way you can create different look and feel for different virtual hosts.
    Login portlets have the disadvantage that https is not supported
    Ton

  • Changes to the welcome / login page of the portal

    Dear SAP Gurus,
       I've read all possible material on sdn, and I am still struggling with this. We have SP16 on our java server. The Basis team has provided me with the par file from the location
    <J2EE_Engine_Instance>\j2ee\cluster\server<X>\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd.
    com.sap.portal.runtime.logon.par.bak.
    . When i unzip the par file, I can see the two folders portal-inf & meta-inf. Now I am trying to open the par file in nwds and I get the following error message.
    The plugin "com.sap.portal.plugins.config-archiver" caused an exception during the "unpack" operation.
    See the log for more details.
    Invalid CEN header (bad signature) Reason: Sorry an error occured creating the new project.
    I am using a standalone version of nwds which is not connected to the the java server yet.
    1) How do i see the log file in nwds?
    2) SP14 on nwds and SP16 on java server is that what is causing the conflict?
    3) Do I need to upgrade and how do i upgrade
    Points for useful answers and any help is appreciated.
    ~Thanks

    Hi Gattaca,
    Try do this.
    1) Copy the file com.sap.portal.runtime.logon.par.bak
    <J2EE_Engine_Instance>\j2ee\cluster\server<X>\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd\com.sap.portal.runtime.logon.par.bak
    2) Remove the .bak by the file com.sap.portal.runtime.logon.par.bak (just rename)
    3) Copy the files com.sap.portal.runtime.logon_api.jar and umelogonbase.jar
    <J2EE_Engine_Instance>\j2ee\cluster\server<X>\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.runtime.logon\lib\
    4) Open the NWDS
    5) Import the .PAR file (com.sap.portal.runtime.logon.par)
    File --> Import --> PAR file --> Button Next
    Achive file name: (looking for the file com.sap.portal.runtime.logon.par)
    Project Name: com.<companyname>.portal.runtime.logon
    Click Button Finish
    6) Put the files com.sap.portal.runtime.logon_api.jar and umelogonbase.jar into your application.
    com.<companyname>.portal.runtime.logon\dist\PORTAL-INF\lib\
    7) Right Button inside your app --> Export --> PAR File --> Next (Button) --> select your app --> Next (Button) --> Configure servers settings (Button) --> Add.. (Button) --> set the information and OK (Button) --> Apply (Button) --> OK (Button)
    Enable the Include the source code of the portal application and Deploy PAR
    put the password --> Finish (Button).
    Now the application was deployed in portal.
    8) Open the Configtools
    <J2EE_Engine_Instance>\j2ee\configtool\configtool.bat
    9) Click in button "Switch to configuration editor mode.
    10) Configuration --> cluster_data --> server --> persistent --> com.sap.security.core.ume.service
    11) Download the file authschemes.xml
    12) Rename the file authschemes.xml to authschemes_<yourcompany>.xml
    13) Open the file authschemes_<yourcompany>.xml
    14) Change all string "com.sap.portal.runtime.logon" to "com.<yourcompany>.portal.runtime.logon"
    This is the name of your application.
    15) Upload the file authschemes_<yourcompany>.xml in the same path.
    Set to Edit Node --> Right mouse Button inside the com.sap.security.core.ume.service --> Create sub-node --> File Entry (ListBox) --> Upload (Button) --> find the file authschemes_<yourcompany>.xml --> Open (Button) --> Create (Button).
    16) Click in button Switch config tool mode
    17) Global Server configuration --> Services --> com.sap.security.core.ume.service
    18) Change the parameter login.authschemes.definition.file to authschemes_<yourcompany>.xml
    19) Click Set (Button) and Save.
    20) Restart the Portal.
    For check just Rigth Mouse Button inside the image in Logon Page --> Properties
    Look the parameter Address (URL)
    http://<Hostaname>:<port>/irj/portalapps/com.yourcompany.portal.runtime.logon/layout/branding-image.jpg
    Good Luck
    Eduardo

  • Displaying vertical pages in the portal

    Hi ,
    I am creating a portal file and want to render the pages in the book vertically
    rather than horizontal alignment.
    Pls. help me on this .
    Nidhi

    There is an optional attribute on the book called "orientation"
    you may set this to "top", "left", "right", "bottom". However it is up to the
    skeletons: book.jsp and singlelevelmenu.jsp (or multilevelmenu.jsp) to honor that
    property. Currently none of the skeletons do. You can write your own though, start
    by copying one of ours, and create a new look and feel that refers to your skeletons.
    "Nidhi" <[email protected]> wrote:
    >
    Hi ,
    I am creating a portal file and want to render the pages in the book
    vertically
    rather than horizontal alignment.
    Pls. help me on this .
    Nidhi

  • Calling a page without the portal wrap

    I have a portlet with a form in it.
    The form:
    <netui:form action="toggleFavourite" onSubmit="return toggleFavourite(this)">
    If the user has JavaScript DISABLED, the form works like an ordinary form - the page submits itself.
    If the user has JavaScript ENABLED, the "toggleFavourite()" function is called, which submits the form entirely in JavaScript by extracting the target of the form, and calling it in script. This means that the page doesn't have to be reloaded.
    When using the non-JavaScript method, I obviously need the form to submit, and come back with my portal page, including the portlet I submitted from (i.e. exactly as it normally does in WebLogic portals).
    Whe submitting using JavaScript, I don't need the response to include any of the header/footer/pages/other portlets - I just want to return the single page referenced by the Page Flow (i.e. the page specified in the Forward action).
    Is there anything I can add/change in the URL that's submitted in JavaScript to specifically tell the portal server to ONLY return the content within the specific JSP referenced in the Forward action?
    The reason I'm asking this, is that it's a lot slower pulling down the entire portal page, than it would be to just return that single portlet content.
    I hope I've explained this clear enough, but feel free to ask questions.

    Nearly there.
    I can now generate a URL to the portlet, along with parameters to pass in. All that's left to do is trigger the action to make use of the parameters.
    It's beginning to sound very much like a bodge job - like we're trying to do something that hasn't been catered for. I've actually managed to get something working now, using a different bodge. I want to call the current portlet, calling the action "toggleFavourite". I therefore now do this:
    PortletPresentationContext portCtx = PortletPresentationContext.getPortletPresentationContext(request);
    String paramName = portCtx.getInstanceLabel();
    paramName += "_actionOverride";
    String paramValue = portCtx.getPortletUri();
    paramValue = paramValue.substring(0, paramValue.lastIndexOf("/")+1);
    paramValue += "toggleFavourite";
    StandalonePortletURL url = StandalonePortletURL.createStandalonePortletURL(request,response);
    url.addParameter("_nfpb","true");
    url.addParameter(paramName, paramValue);
    String postbackURL = url.toString();
    I then have a form elsewhere in the page, and use JavaScript to take the parameters from the form, and append them to the URL generated above.
    It's working, but it's not pretty!
    Sounds like 9.2 will be the only clean option.

  • Need list of places where the portal configures the exchange host name

    Hello,
    Our exchange server is changing it's host name.
    Can anyone please give me a list of <b>detailed places</b> at the portal, admin tool and config tool where I should apply this change?
    Regards,
    Roy

    it is stored as encrypted nameNo it isn't. It is stored in a format defined in this case by Windows. There is no encryption here.
    I want to know the list of unicode characters which are affecting the file namingIt would be considerably more sensible to find out the characters that are legal in filenames. There are a lot fewer of those ;-)
    Personally I just use the ASCII characters excluding & and /.

  • To Hide Page in the portal based on the requirement

    Hi All ,
    AM newbie to portal environment and have been doing a research for quite some time on portlets and inter communication between portlets(IPC). Am stuck with a scenario in which i have two pages created in a portal and each page has a portlet. Say for example
    Page1 has Portlet A
    Page 2 has Portlet B
    This application is about sending flash cards to end users and viewing it.
    So when the application gets loaded initially , i need Page 1 to be visible and to hide Page 2 ..
    and then the end user will receive a mail in which there will be a link to page 2.. So when the user clicks on the link, only Page 2 should be visible and Page 1 should be hidden..
    Have gone through the concept of backing files but still am not sure about the implementation..
    So i thought the experts here could help me out.. Kindly provide me with the sample code
    Regards,

    Hi,
    Anyone has a solution for this ????

  • Calling another page in the portal

    Hi,
    I have created two pages p1 & p2 in Portal.
    I want to access p2 form p1 ,is there any way for that.if it is possible programitically ,I would appreciate some sample code.
    Thanks
    Ravi

    Hie
    You can do this bye placing a url component created in your DB provider or using the go method (go('Address');)in success event of your form portlet on the page or use the &lt;a href="page address"&gt;Link Text&lt;/a&gt; as your field in your sql report which you will place it in your page as a portlet.

  • How to change the ESS objects, iViews and Pages, translation in the portal?

    Hello everyone,
    I'd like to change the standard SAP translation for iView and Pages in the Portal level. Does anybody knows how to do this?
    My landscape is NW2004s and  ESS  for  ECC 6.0
    Regards
    Luciano

    you can change the standard SAP iViews and Pages using the Portal Content Translation feature of the Portal ( go to Content Administration->Portal Content Translation. Follow the instructions at
    http://help.sap.com/saphelp_nw04/helpdata/en/25/08174082fe1961e10000000a155106/frameset.htm
    all ESS iviews and pages have their content "ready for translation" and you can use the instructions above to translate that content.
    Tiberiu
    please award points if response was useful.

  • Dynamic page information from the portal database?

    Is it possible to get information about existing dynamic pages from the portal database? We're upgrading our portal from 9.0.4 to 10.1.4 and because we will be running the new version on a different platform, we can't run any upgrade scripts and need to build again from scratch. I was hoping I could pull dynamic page information from a portal view or table into a spreadsheet, to save our developers having to click into each dynamic page application in the old version to get the pl/sql code to copy and paste into the new version. The generated dynamic page packages just have api calls, so it may be possible that there's an api to do this. Does anyone know if this is possible, and if so, how to do it? Thanks.

    closing the thread

  • Can you run SQL in the portal and create a drop down list??

    Can anyone tell me if its possible to create a drop down list using sql in the portal?
    Can I create a drop down list of items via sql and then have those same values be used for a discoverer portlet? I am trying to replicate the same concept using parameter values and discoverer worksheets, but through sql. I dont want to have to cut and past lists on the parameter fields. I want to be able to run sql when I post a discoverer worksheet with a parameter and have the values from the sql pass into the worksheet.
    Is that possible???

    I created a lov but i cannot post it on my portlet. When i go to post a portlet, under the db_link, portlet reposistory it does not show.? Also, how do make the connection to the discoverer worsheets to this lov?
    thanks,

  • Not able to view the uploaded PAR file in the portal archive selection.

    Dear All,
    I have modified com.sap.portal.runtime.logon.par and have renamed it to some other name.
    Now I have uploaded the par file.
    The problem is that when choose new from PAR option (to create iview from a par file),I am not able to see the par file in the Portal Archive selection.
    I also want to know that if I am able to call the par file in the iview, can I use this iview to have a portal login.
    Our requirement is that we want to give login page for the portal in the portal home page.The portal home page will be for the anonymous users.
    Kindly try to guide me

    Hi Nitin,
    Check ur Portalapp.xml file. If u have the following code in that just <b>remove</b> them
    <property name="com.sap.portal.pcm.Category" value="platform">
    <property name="inheritance" value="final"/>
    Deploy it again.now u can see that par in ur portal.Refer this thread also
    PAR File not seen
    Regards,
    Tamil K

Maybe you are looking for

  • Unable to play Quick Time movies in web pages

    We have Quick Time 7.0.4 player installed on Mac OS X v10.4, But we are unable to open Quick time movies in web browser from external web sites. It gives us error 'To view this movie, you will need QuickTime 5 (or later)' If we open Quick time movies

  • Hotmail dosen't push after phonecall

    Hi, I have a problem with the new active sync feature of hotmail. If I fetch the mail manual or i.e. every 15 min every thing works well. If I try to let hotmail push mails, it works also well... But, if I have a phone call (or the iPhone is in fligh

  • Error on a input ready query

    Hello SAP Gurus, Can anybody advise on the following error of an input ready query? u2022 Error reading the data of InfoProvider ZIPNA002 - Notification Number DBMAN 305 u2022  Error while reading data; navigation is possible - Notification Number BR

  • Gnome: changing application icon size

    Before gnome 3.10,according to wiki, to change app icon size it was necessary to edit "/usr/share/gnome-shell/theme/gnome-shell.css". From upgrading to 3.10 and now with 3.12,it seems it doesn't work anymore and so I have to keep large icons on my sh

  • Photoshop keeps crashing when I try to save

    Everytime I try to save my work the program crashes. No matter how small of a save. I have restarted my computer several times. What could be the problem?