Custom Portlet Banner

I want to be able to assign custom portlet banners to certain portlets. has anyone done this before of are there any examples of this around?

Randy,
What do you mean by "portlet banner"? The tiny bar above each portlet? You can disable portlet titlebars and then display anything you like in the portlet, including a banner. Or are you talking about header portlets? You can use Content Server's "branding" feature to allow a single portlet to be used in multiple locations - on the subportal for mypages, or on a community - and manage its content from content server separately, using PT_ tags (which are dynamic) to control some aspects of the portlet's content while still making it easy to manage. Finally, you can serve up a header portlet from a JSP / ASP page and make it fully dynamic.
- David

Similar Messages

  • Granting Access in custom portlets

    Hi,
    I'm deploing some portlets using PLSQL. Those portlets work's fine. Now i want to grant restricted access to this portlets. The best i can do is function is_runnable return false to users that i don't want to show my portlet.
    Example:
    if wwctx_api.get_userid!= 'PORTAL30' then return false;
    else return true;
    end if;
    Can i use portal funcionality of grant access to, by example applications components or pages or content areas to restric access to my portlets ?
    Thanks
    Pedro Ribeiro

    I realize that this is an old thread, but on the chance there are others like me looking into how to restrict access to custom porlets, I thought I would venture a reply.
    I looked at the current online docs for for Portal Security Services. If you have a need to get down in the weeds these docs will show you what you need to know. But there is a very SIMPLE way to restrict access to your new portlet.
    After you have your new PL/SQL or JAVA porlet in place, just create a new Portal Page using the wizard. Make it a plain page, no banner. Add your custom portlet to the new page. Then PUBLISH THIS NEW PAGE AS A PORTLET. Instead of adding your original portlet to other pages, add this "wrapper page" instead. You can use the grant access tab for the wrapper page to restrict access of the portlet to specific users and groups.
    pmw

  • Custom-portlet-mode doesn't show

    All,
    I created a sample JSR 286 portlet and selected to show about mode (keeping view and edit) default. wizard creates a default about.jsp. However when i added another tag for preview, link to pick preview mode doesn't show in the top right corner (view actions menu) of portlet. Any idea what i am doing wrong.
    Thanks,
    Prasad
    <supports>
    <mime-type>text/html</mime-type>
    <portlet-mode>edit</portlet-mode>
    <portlet-mode>about</portlet-mode> <-- works....
    <portlet-mode>preview</portlet-mode> <-- doesn't work
    </supports>
    <custom-portlet-mode>
    <portlet-mode>about</portlet-mode>
    </custom-portlet-mode>
    <custom-portlet-mode>
    <portlet-mode>preview</portlet-mode>
    </custom-portlet-mode>
    Edited by: Prasad on Dec 7, 2012 8:58 AM

    After i de and register again the portlet producer it showed up.
    However the content of this is being displayed in a completely different page. Do you know how i can keep the response within the same portlet.
    thanks,
    Prasad.

  • Adding a change password link in a custom portlet

    Hi,
    Does anyone know how to add a change password link in a custom portlet? the custom nav UI we have does not show the my account link, we want to hide this complexity for external users, but we still want them to be able to change their password.
    I am expirimenting with using the following link, which seems to work fine, but was wondering if there was a more elegant way to do it using pt: tags?
    <pt:transformer pt:fixurl="off" xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'/>Change]http://servername/portal/server.pt?space=ChangePassword&&control=EditorStart&editorType=10">ChangePassword</a><pt:transformer pt:fixurl="on" xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'/>
    Thanks

    Hrm... this does get ugly... This has come up a few times w/ our users as well, so I am definitely interested in seeing what can be done.
    I don't see any sort of pre-built tag to let you access this directly. To your point, I only found the general account editing / access link - not one directly to password reset.
    Couple of questions / notes
    I tried your option and while it works, I'm concerned by the redirect back to the account page. That seems to violate your requirements on hiding the account options info. When the user hits finish / cancel they're taken to the main "My Account" page.Have you considered securing the other activity spaces so they're not visible from the "My Account" page? Then you could use the built-in tags. Not ideal, I know, but if you're going to be routed back to that screen anyway once you finish/cancel your password change...Have you considered just writing the password reset funtionality into your app? I did this a while back and it was actually pretty simple. Then you can have complete control over the behavior.How I wrote password reset...
    You know the userid in this case, so things are MUCH easier (no need to search to find the specific user)Assumption: users are stored in the plumtree database auth sourceUse the native API (com.plumtree.server). I don't know if you need to impersonate a full admin or not... my code doesGet a handle on the userReset the password with the "SetPassword" methodStore the changeSemi-functional code below - note how you'd never want to store your admin userid / password in here like this (or have it blank...)
    '//create an admin connection Dim ptAdminSession As IPTSession = New Session ptAdminSession.Connect("administrator", "", Nothing)
    Dim sNewPassword As String = ""
    '//start user impersonation Dim ptUserSessionTemp As IPTSession = ptAdminSession.ImpersonateUser(iUserID)
    '//open the user for editing Dim oUser As IPTUser = ptAdminSession.GetUsers().Open(iUserID, True)
    '//reset the password oUser.SetPassword(sNewPassword)
    '//mungle with server context Dim mySC As IPTServerContext = oUser.GetInterfaces("IPTServerContext") mySC.Store() mySC.UnlockObject()

  • Oracle doc says Custom Portlet Mode are not supported

    Is it true that WebCenter does not support JSR 286 custom portlet modes unless they are predefined Oracle-PDK portlet modes?
    http://docs.oracle.com/cd/E17904_01/webcenter.1111/e10148/jpsdg_java_adv.htm#BABEAHHD
    "If you are coding portlets to JSR 286, then you can declare custom portlet modes in the portlet.xml file that map to the extended modes offered by PDK-Java, or to accommodate any other functionality you may want to provide."
    "Arbitrary custom modes that a third party or custom portlet producer offers are ignored and therefore not supported."

    WebCenter does not support custom portlet modes. I've tested and answered this.
    Oracle WebCenter supports a fixed set of custom portlet modes defined by oracle. This is bad.
    Custom portlet modes are a JSR 286 standard. How is it possible that WebCenter does not implement it.
    Therefore, it you have a custom portlet mode such as "viewBooksMode", then you must change every mention of it in your project to "about" or "preview" or "help" or "print".

  • Custom portlet mode-config

    In my Portlet class NewsPortlet i am overriding the doDispatch() method of superclass GenericPortlet if the portlet mode is Config. Like this
    public void doDispatch(RenderRequest req, RenderResponse res) throws PortletException, IOException{
    System.out.println("doDispatch");
    if(req.getPortletMode().toString().equalsIgnoreCase("config")){
    doConfig(req,res);
    super.doDispatch(req, res);
    The above porltet is standalone deployable war file.
    This is exactly as per the JSR 168 spec for the custom config mode.
    Do I need to choose some special themes/layout to get the config mode icon on my portlet or do i need to create my custom theme/layout and do it?

    Hello,
    I don't believe custom portlet modes are supported by the current versions of WLP for JSR168 portlets. Is it possible to map your custom mode onto one of the supported modes "edit", "view" or "help"?
    Kevin

  • CUSTOM PORTLET HEADER/FOOTER

    I need to create custom portlet containers, with custom header, footer and border.(Specifically I need rounded edges without the border.) The portal style editor supports header customization only, which is not enough in my case. Is my path to follow to create my own ContainerRenderer (subclassing DefaultContainerRenderer) and to overwrite renderShowHeader() and renderShowFooter() to staisfy my needs? If I do this, how would I render the minimize, customize, etc links in my own header? If I have third party portlets, I can set their providers to use my container renderer, but I am not sure about the effects of it (eg: the third party provider can't use custom containerrenderer). What other restirictions do I introduce with this solution? Are there any other ways to get the same effect?

    Jens is referring to the PL/SQL API
    PORTAL.WW_PRO_API_PROVIDER.PORTLET_RUNTIME_RECORD
    <P> /**
    <BR> * A record structure containing the details for a portlet during runtime.
    <BR> *
    <BR> * A portlet_runtime_record structure is passed to the show_portlet
    <BR> * procedure of provider implementations.
    <BR> *
    <BR> * The provider should set the values for caching_key, caching_period,
    <BR> * caching_level and caching_invalidation in the show_portlet procedure
    <BR> * if caching is enabled for the portlet.
    <BR> *
    <BR> * @field portlet_template a string, representing the HTML to render the
    <BR> * portlet's custom header and footer. The format
    <BR> * is as follows:<br>
    <BR> * <header> #body# <footer><br>
    <BR> * This field is available with Oracle9<i>i</i>AS
    <BR> * Portal 9.0.2 or later.
    <P> procedure show
    p_portlet_record in out portal.wwpro_api_provider.portlet_runtime_record
    <P>Personally, I haven't been able to get it to work either.
    <P>Thanks,
    <P>Roark

  • How to customize mode_show_about in a custom portlet?

    I have created a custom PL/SQL portlet. I have set the has_help flag to true
    and have created a page under the p_portlet_record.exec_mode =
    wwpro_api_provider.MODE_SHOW_HELP. When you click on the help link from the
    portlet header, the page that you go to doesn't have the same look or feel as
    the previous portal page. For example, my custom logo is not showing nor are
    the banner colors correct, the default Oracle logo and deafulat banner colors
    are appearing. How can I modify the help page so that it has the same look
    and feel as my other pages? Additionally, how can I have the help link open up
    in a pop-up window so that it is not full screen?
    Thanks.
    Adam

    Hi Per A Jorgensen,
    I see what you mean. I just deployed a simple portlet which displays the user-agent header property.
    Here are my observations:
    1. If you access the page as user1 from Mozilla, I see the following:
    Browser Agent:      Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 RPT-HTTPClient/0.3-3 RPT-HTTPClient/0.3-3
    2. If I now access this page from IE, as user1, then I still see my browser agent as:
    Browser Agent:      Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 RPT-HTTPClient/0.3-3 RPT-HTTPClient/0.3-3
    3. If I now access this page from IE, as user2, then i see the following details:
    Browser Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) RPT-HTTPClient/0.3-3 RPT-HTTPClient/0.3-3
    4. Now I access the same page from Mozilla (after logging out of user1) as user2, I see the following:
    Browser Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) RPT-HTTPClient/0.3-3 RPT-HTTPClient/0.3-3
    Hmm.. interesting.. it looks like, whoever access the provider first, fixes the user-agent. I need to investigate more into it to find out information as to why this is happening.
    In the mean-time, you can be rest assured that as long as you dont have multiple user's accessing the portlet as the same user, you will get the correct information.
    thanks,
    Harsha

  • Linking from Custom Store Banner to an article

    Hi,
    We have banners in our Custom Store and we'd like to link from the Banners to specific pages in certain folios.
    The DPS documentation says we should be able to use this kind of link structure:
    [URL Scheme]://v1/folio/[folio name]/[article name]
    So where our app's URL scheme is : com.xxxx.yyy
    and our folioname is: Financial Mail 17012014
    and our article name is: Article on page 6
    we've constructed a link like this:
    <a href='com.xxxx.yyy://v1/folio/Financial%20Mail%2017012014/Article%20on%20page%206'>URL scheme</a>
    Unfortunately we get this alert box: Error We're sorry. This article is currently not available for this device.
    We can successfully link to a custom slot in our app like this:
    <a href='com.xxxx.yyy://v1/slot/Store'>Store</a>
    so i'm guessing our problem lies in the second half of our link. and that our URL scheme is working fine.
    - the folio mentioned is downloaded on the device (iPad)
    - the app is not live - still a dev ipa installed on the device
    Any advice would be appreciated
    Thanks in advance,
    Vauneen

    We figured this one out.
    You must use the Article Name and not the Article Title.
    <a href='com.xxxx.yyy://v1/folio/Financial%20Mail%2017012014/FM1701Page006'>support</a>
    But it seems DPS doesnt handle deeplinking to articles in folios not present on the device very gracefully.
    we presumed DPS would offer either a explanation message or perhaps even an impression (charged to the client like the webhosted pages used for Social Sharing) but neither of these happen if the folio is absent. the user is taken to the Library landing page with no explanation.
    We thought we could tease buyers and promote certain content in our Store Banner, but this doesnt seem so likely now - at least not with a link.
    Perhaps in future this could be a feature?'
    V

  • Adding Customer Portlets To Custom Providers

    Current Situation
    I have a schema name testSchema and I want to create a provider for that schema. The way we do this currently is we have a template that we copy/paste into the our new schema. We then create our portlets for this new provider. However, everytime we want to add a new portlet to this provider we have to manually go into the provider and copy/paste numerous code fragments to associate the new portlet with the provider. This is a laborous process and one small typo can casue hours of grief. IS there an automated way to do this that the whole department is unable to find or is this just the way it has to be done?

    Hello,
    First in the User Interfaces node, under Recruiter and Administrator, there is a customizing node  Define Column Pool
    for Candidate Selection where you enter the new fields you wish to display as well as the description which you wish to be displayed on the screen.You have to assign this column to one or more processes just like how you configure the standard fields. You can do this using the Customizing activity Assign Columns for Candidate Shortlists. Structure RCF_S_CANDIDACY_LIST_PL contains the customer include CI_S_CDCYL which you can then use to add your new fields which you have configured - including the new fields in the context for Web Dynpro component: ERC_C_CAND_SELECT_UI Web Dynpro view: V_PROCESS. After you have done this you can then go to the BAdi ERC_TRXLIST_CDCYL and inlcude the code on how to populate the fields and display the values. This is only possible in SP06 and above.
    Regards,

  • Transport Set Dump doesn´t include custom portlet settings

    Hi,
    I´ve developed various PL/SQL portlets with custom settings.
    When I create the transport set dump everthing works fine.
    Everything is being transported fine but the portlet settings are missing.
    Any idea why this can occur?
    I´m using Oracle Portal 10.1.2.3.0 (Build: 263)
    Kind Regards.

    The PORTLET_PATH param must end with a dot:
    turn PORTLET_PATH constant varchar2(256):= 'oracle.portal.pdk.servicesportlet';
    into PORTLET_PATH constant varchar2(256):= 'oracle.portal.pdk.servicesportlet.';
    and it will work.
    Edited by: José Antonio Sánchez on 20-ene-2011 12:57
    Edited by: José Antonio Sánchez on 20-ene-2011 12:57

  • People Portlet Banner

    Does anyone know of a way that I can edit the banner of the People portlet results page? Specifically, I would like to remove the "Navigator" and "Home" icons.
    I tried editing the "Search Results Page" but that page only controls results from the Search portlet.
    Any help is greatly appreciated!

    Brent,
    Thanks for the response. At this point, I am creating a page
    using the PAGE wizzard and placing portlets such as the
    Scheduler and File Upload portlets packaged with the Portal PDK.
    You gave me an idea on where to look for the Portal Home Page
    source. I can't find it using Navigator. I have found and
    tried to edit the Portal Seeded Portlets from the Portlet
    Repository, however there is no config parameter for including
    the image.
    The Portal Home Page looks nice with the various icons above
    each portlet.
    Regards,
    Kevin

  • Bug: Customizing Convergence banner for a specific domain does not work

    Hi,
    I'm trying to customize the banner for a specific domain, I was following the steps from the documentation but I found that there is a bug relate: Bug #6749263 And I tried to find if the bug was already resolved in convergence 1.0-7.01 and the search in bugs.sun.com gets nothing.
    Does anybody knows if the bug was fixed in convergence 1.0-7.01?
    Thanks in advanced.

    ofonseca wrote:
    I'm trying to customize the banner for a specific domain, I was following the steps from the documentation but I found that there is a bug relate: Bug #6749263 And I tried to find if the bug was already resolved in convergence 1.0-7.01 and the search in bugs.sun.com gets nothing.The bug hasn't been fixed (according to the bug notes).
    Regards,
    Shane.

  • Document submission (KD, Collab, custom portlets, etc)

    I'm investigating the process of submitting documents to the KD using an approval step and was hoping to get some feedback on how others do it.
    Rather than post a laundry list of the problems I'm encountering I was hoping I could just explain my situation (slightly simplified).
    We have 10 departments in the organization.
    Each department has their own KD folder and 3 additional subfolders. (40 folders in total)
    Each department has a document approver who can only approve for their particular set of 4 folders.
    All users need to be able to submit a document for approval to any of the folders.
    Maintaining our KD folder taxonomy is critical to us and we want to prevent approvers from adding/deleting folders.
    I've attempted to solve this problem using collaboration and also with the KD Submit/Approval Utility & Edit mode however there were restrictions which prevented them from meeting our needs.
    This process seems to basic and its so frustrating coming to dead ends with every approach I've taken.
    If anyone can provide guidance I would be very grateful!
    Thanks!
    Geoff
    Geoff Garcia
    Producer, Enterprise Portal
    March of Dimes National Office
    914 997.4275
    [email protected]

    Hmmm. I wonder if this is a "bug" in the way collaboration sets the properties. There are two ways to set properties using the server API in the portal, setting the field value and overriding the value. My guess is that if the override value isn't set and the document is recrawled, the custom properties don't stay because they aren't repicked up from collab (maybe?).
    Solution might be to read the field values from the API and set the override values before the re-indexing happens.
    Here is some sample (untested) source for setting a property (non-override method is commented out):
    IPTCard ptCard = session.GetCatalog().OpenCard(250, true);
    String propValue = "sample value.";
    IPTCardPropertyValues ptPropValues = ptCard.GetPropertyValues();
    IPTCardPropertyValue ptValue = ptPropValues.GetItem(propId);
    if (null == ptValue) { ptValue = ptPropValues.Add(propId); }                              
    ptValue.SetOverrideValue(propValue);
    //ptValue.SetFieldValue(propValue);
    // if the index server isn't up, don't try to index, create the card
    // and inform the user later
    IXPPropertyBag statusBag = session.GetCatalog().GetSearchServerStatus();
    SearchServerStatusInfo statusInfo = new SearchServerStatusInfo(statusBag, "INDEXSTATUS");
    if (XPStringUtility.EqualsIgnoreCase(statusInfo.connectStatus,"OK")) {
         ptCard.SetCardSettings(PT_CARD_SETTINGS.PT_CARD_INDEXONSTORE, 1);
    } else {
         ptCard.SetCardSettings(PT_CARD_SETTINGS.PT_CARD_INDEXONSTORE, 0);
    ptCard.Store();
    ptCard.UnlockObject();
    If you this works it would be good to know at least, even though it would be a hack.

  • Publishing custom flash banner???

    Hi,
    I have made a flash Banner for my friends website. It is
    intended for my wordpress blog and on myspace etc. The dimensions
    are 468x60 and it all works.
    Trouble is I don't know how I would go about embedding it
    into a profile using html or php. I know I would have to load it up
    on to a server and link it from there. I've tried but I keep
    getting error messages. When I looked at how the html is put
    together when I put the swf into a webpage in dreamweaver I get a
    bit lost.
    Is there an easy fix to this problem, i.e. somewhere I
    caninput the swift and have them generate the code for the desired
    profile? Or can you advise where to look for a solution through
    educating myself on the problem
    Thanks

    0k i followed a tutorial and got it up on my myspace profile.
    However, I had a flv in the swf of an old style video as a
    background which doesnot show in the banner. Do I have to upload
    the flv with the swf?
    PS: find attached the code used to embed the flash
    banner

Maybe you are looking for

  • Urgent: regarding the increasing the performance of report

    Hi, I had a report which is displaying the correct data but i execute on PRD Server,it gets Request Time Out.So i want to increase the performance of it.Plzz help me out in doing this. REPORT  ZWIP_STOCK NO STANDARD PAGE HEADING LINE-SIZE 150. TABLES

  • Record has been changed by some other user

    Hi All, i am working on a network when i make some update in my database through a form on first updation it works fine, while on second updation it gives me an error 'Record has been changed by some other user' wile no other user is currently workin

  • How 2 create dynamic internal table and can we pass it to gui_download FM

    HI all,      How can we create a dynamic internal table? I have a requirement where  i have to create an internal table with the no. of fields depending on the selection screen values, i think tat can be possible though dynamic creation only.        

  • Creative Cloud unable to install and Cleaner Tool crashes

    Hi. I really need help. I am working on three different projects i Adobe Premiere CC and I am also using AE and Audition. A few days ago they all stopped working when I started my computer. When I tried to start Creative Cloud it was just a blank win

  • Apple Displays and HDCP?

    I just read an article about how whether the industry goes with blu-ray or HD-DVD, all discs will come with a form of DRM called HDCP that will prevent high-definition video from playing on an unsupported display. From the sound of the article, which