How add a portlet programmatically in a page ?

Hello,
Are there any way to add a portlet in a page programmatically?
Thanks.

I'm no Oracle Developer. I'm trying to do the same thing.

Similar Messages

  • How to control portlet order in a page ?

    I have a portal page with three column flow layout. Each column contains unique portlet. I want to execute middle column portlet first, left and then right.
    i am setting some session value in middle portlet, i want to use that value in left & right portlets..
    thanks in advance

    In general, it is a better to not depend on the order of rendering of
    portlets in a given page. For example, a portal admin a create a new
    desktop and add those portlets in a different order.
    An alternative is to set those attributes in a pageflow action (not the
    begin action). Would this work for your use case?
    Subbu
    xmlking kumar wrote:
    I have a portal page with three column flow layout. Each column contains unique portlet. I want to execute middle column portlet first, left and then right.
    i am setting some session value in middle portlet, i want to use that value in left & right portlets..
    thanks in advance

  • How to add project summary programmatically to publishing page.

    Let me know how to add project summary webpart to page in sharepoint 2013.

    Hi,
    Okay,
    check those links to add web part using code, try them and change the parameter to the name of the web part
    http://www.stefangordon.com/add-web-part-to-page-programmatically/
    http://blogs.msdn.com/b/tconte/archive/2007/01/18/programmatically-adding-web-parts-to-a-page.aspx
    http://nikpatel.net/2010/11/09/programmatically-add-the-web-part-on-the-sharepoint-web-part-page/https://manojssharepointblog.wordpress.com/2013/03/27/adding-and-removing-web-parts-programmatically-in-sharepoint/
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/1bc7212c-385d-4a89-9b7e-9d37ee762017/add-webpart-on-sharepoint-page-programmatically?forum=sharepointdevelopmentlegacy
    Kind Regards,
    John Naguib
    Technical Consultant/Architect
    MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation
    Please remember to mark your question as answered if this solves your problem

  • How add a watermark to the smartform page

    Hi All,
    Can anybody give me some pointers, how to add a watermark to the page .
    I have to display a water image, when the user trying to see print preview.
    I.e. on certain condition i need to print the water mark on the page .
    I have uploaded the BMP Image from se78,
    In the page, background picture i have added the image. But some how itu2019s coming for me in the foreground only. Where it was supposed to come as background picture.
    I have read some where only the grayscale type image only can come as background picuture.
    I have trying to upload grayscale type image, but its not allowing from se78.
    Thanks in advance

    hi,
    Yes you can add back ground picture based on a condition,
    Or you can dynamically decide which water mark shall appear based on a condition.
    You need to implement respective logic.
    In the INITIALIZATION of global data assign the image name that should prior appear.
    Later, in the CODE of a page, reassign the image name with respect to a condition. But make sure the assigning is done well before a new page is triggered else, that page would continue with the image you mentioned in the INITIALIZATION.
    Suppose the design such that, the page shall contain 10 items, with a image that varies with following page with same number of items.
    In the page, start a counter and track for the number records once the counter is 10, assign the image name.
    As soon as 10 records are printed, a page break is triggered and also a new image assigned to that page.
    Regards
    Sharath

  • Delete portlet programmatically!!!!!!!!

    Hello
    I have to made a procedure to delete a portlet programmatically
    from a page, I haven't found an api to do that.
    Does anybody know if there is an api to delete a portlet from a
    page using PL/SQL?
    Please help me
    Thanks in advanced
    Ana Maria

    Hi Ana,
    last time I checked with Oracle about two months ago, they said
    you can not add and remove portlets to the page programmatically.
    I still believe there is a way to do it. If you look at edit page
    where you can Hide/Delete portlets, Oracle is using JavaScript to
    move protlets. I spent a lot of time to get it done but wasn't
    successful. Instead I decided to manipulate contents of portlets,
    which makes them look like different ones. And, with your
    help, pointing to several different pages if I have to.
    Let me know if you finally manage to hide and display portlets
    using pl/sql api.
    yuri

  • How to add a portlet page without the use of EBCC

    I know that you can add a portal page using EBCC but can a user do this through
    the portal?
    So can a user after logging in, create a portal page and give it a certain name
    that he came up with and then add some portlets in this page?
    Any help on this matter would be appreciated!!!
    Thanks,
    -Saïd

    Jalpesh,
    I believe that the question is more on the user customization side of things.
    Can a registered web site user create their own portal page? Then add already
    created portlets to it. I think that this functionality is like on my.yahoo.com.
    As far as I know the bea portal server doesn’t have this functionality. A user
    may have access to predefined pages and that page has associated portlets. Then
    there is a layer of security associated with all of this called customer entitlements.
    -Travis
    Jalpesh Patadia <[email protected]> wrote:
    Hello Said,
    In WLP 4.0 and WLP 7.0, the each portlet was defined by its own xml
    definition. So to answer your question, I do not think you can create
    new portlets through the JSP Admin Tools.
    What you can do is try to automate the process so that your portlets
    are
    created using a sample portlet xml file and then modify the portal.xml
    so that that portlet is added to its list. You can then data sync your
    portal. To make is visible, you will still have to manually set the
    visible and available attribute to true in the JSP admin tools.
    Thanks,
    Jalpesh.
    Saïd wrote:
    I know that you can add a portal page using EBCC but can a user dothis through
    the portal?
    So can a user after logging in, create a portal page and give it acertain name
    that he came up with and then add some portlets in this page?
    Any help on this matter would be appreciated!!!
    Thanks,
    -Saïd

  • Programmatically creating a page with portlets in it

    Hello!
    I need a little help figuring out how to programmatically create a page and add a couple portlets to it. I have figured out how to create the PageDefinition and that code works great. How can I add 2 portlets (the portlet definitions already exist in the Portal Library) to that page definition?
    I just need a couple hints & maybe some pseudo-code to get me going in the right direction.
    I'm stuck with using BEA 8.1 SP2 at the moment.
    Thanks for any help,
    John

    If you want to add the portlets to the page in the library and effect all instances of the page use the PageDefinitionManager.addPlaceable(...) EJB.
    javadoc
    http://edocs.beasys.com/wlp/docs81/javadoc/com/bea/netuix/application/manager/IPageDefinitionManager.html#addPlaceable(com.bea.netuix.application.manager.CustomizationContext,%20com.bea.netuix.application.identifier.PageDefinitionId,%20com.bea.netuix.application.identifier.PlaceableDefinitionId,%20com.bea.netuix.application.identifier.PlaceholderDefinitionId,%20int)
    If you want to just effect that page on a particulr desktop use the PortalCustomizationManager.addPlaceable(...) EJB
    http://edocs.beasys.com/wlp/docs81/javadoc/com/bea/netuix/application/manager/IPageInstanceManager.html#addPlaceable(com.bea.netuix.application.manager.CustomizationContext,%20com.bea.netuix.application.identifier.DesktopDefinitionId,%20com.bea.netuix.application.identifier.PageInstanceId,%20com.bea.netuix.application.identifier.PlaceableDefinitionId,%20com.bea.netuix.application.identifier.PlaceholderDefinitionId,%20int)
    Chris Jolley
    Portal Architect

  • How to use Custom Search in Dynamic Page or HTML Portlet ?

    Gurus,
    1. I have a tab called My Space in the portal web site, where user gets a personalized view of the content.
    2. I am using custom attributes and custom item types. I have a custom attribute called 'Location', which is a attribute of custom item types.
    3. I have 2 pages - News and Events.
    4. All the content in News and Events page is tagged by the attribute 'Location'.
    5. The requirement is to let the user search the News and Events by Location.
    6. To achieve this I used the Custom Search portlet and the user can select the attribute Location and see the resultant News and Event items by location in the Search portlet.
    7. The requirement is to present the News items and Event items in separate regions on the page and show only the first 5 News and Event items in the result and show a More link which would guide the user to rest of the News and Event items.
    8. Eventually there may be more content other than News and Events tagged by location. If so, the requirement is to create a new region and display the new content.
    9. How would I do this using custom search ? I was thinking if there is anyway I could use the custom search api (where can i find it ?) in the HTML portlet or Dynamic page and submit the result to IFRAMES in each region and show the output ?
    Pls advise.
    Thanx a bunch.

    I would suggest that you use two custom search portlets; one for the news items and one for the events items. Switch the custom search portlets to "AutoQuery" mode and add the relevant criteria. On the results display tab of the the "edit defaults" screen, choose to show just 5 items.
    To add a link to show the user mode results, I'd create two new pages that have just a single custom search portlet on it that is customised to show more of the results and maybe has the pagination links enabled.
    Then I'd add two "Page Link" items underneath the two news and events portlets on the first page in an item region.
    I'm sure there are other ways of doing this as well. Hope that helps to get you started.

  • How to deploy my .WAR as a portlet, not a new page.

    Hi,
    I already know how to deploy my war file in the Portal. But How can I deploy it as a portlet?
    I have tried deploy a simple helloworld.jsp into sample provider. And it works. But when I try to create a new provider (which already config .properties , and provider.xml file). It always gives me "404 Not found" error.
    Oracle support said it must be something wrong with setting problem. But we havn't solve this problem yet.
    Can anyone give me a help or advice?
    help~~~~ please

    hi Harsha,
    Thanks for help.
    I post my instruction to deploye my war file. It was from Oracle support. But it still doesn't work well.
    Could you check?
    Thanks a lot
    1.Go to the Middletier ORACLE_HOME
    2.Go to ORACLE_HOME\j2ee\OC4J_Portal\applications\jpdk\jpdk\htdocs\
    3.Create a folder called test
    4.Copy your jsp files under this "test" folder
    5.Go to ORACLE_HOME\j2ee\OC4J_Portal\applications\jpdk\jpdk\WEB-INF\deployment
    6.Copy the file sample.properties which is there to a file called test.properties
    7.Edit test.properties and make the following changes:
    serviceClass=oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter
    loaderClass=oracle.portal.provider.v2.http.DefaultProviderLoader
    showTestPage=true
    definition=providers/test/provider.xml
    autoReload=true
    testPageURI=/htdocs/testpage/TestPage.jsp
    8.Go to ORACLE_HOME\j2ee\OC4J_Portal\applications\jpdk\jpdk\WEB-INF\providers
    9.Create a folder called test
    10.Create a file called provider.xml and put the contents as follows:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <?providerDefinition version="3.1"?>
    <provider class="oracle.portal.provider.v2.DefaultProviderDefinition">
    <localePersonalizationLevel>none</localePersonalizationLevel>
    <session>true</session>
    <defaultLocale>en</defaultLocale>
    <preferenceStore class="oracle.portal.provider.v2.preference.FilePreferenceSt
    ore">
    <name>prefStore1</name>
    <useHashing>true</useHashing>
    </preferenceStore>
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
    <id>1</id>
    <name>MyJsp</name>
    <title>MyJsp</title>
    <shortTitle>MyJsp</shortTitle>
    <description>This portlet is a sample implemented by Me.</description>
    <timeout>40</timeout>
    <timeoutMessage>MyJsp timed out</timeoutMessage>
    <showEdit>false</showEdit>
    <showEditDefault>false</showEditDefault>
    <showPreview>false</showPreview>
    <showDetails>false</showDetails>
    <hasHelp>false</hasHelp>
    <hasAbout>false</hasAbout>
    <acceptContentType>text/html</acceptContentType>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <renderContainer>true</renderContainer>
    <contentType>text/html</contentType>
    <showPage>/htdocs/test/test.jsp</showPage>
    </renderer>
    </portlet>
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
    <id>2</id>
    <name>MyJsp2</name>
    <title>MyJsp2</title>
    <shortTitle>MyJsp2</shortTitle>
    <description>This portlet is a sample implemented by Me.</description>
    <timeout>40</timeout>
    <timeoutMessage>MyJsp2 timed out</timeoutMessage>
    <showEdit>false</showEdit>
    <showEditDefault>false</showEditDefault>
    <showPreview>false</showPreview>
    <showDetails>false</showDetails>
    <hasHelp>false</hasHelp>
    <hasAbout>false</hasAbout>
    <acceptContentType>text/html</acceptContentType>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <renderContainer>true</renderContainer>
    <contentType>text/html</contentType>
    <showPage>/htdocs/test/test1.jsp</showPage>
    </renderer>
    </portlet>
    </provider>
    11.In the above change the name of the jsp files from test.jsp and test1.jsp to whatever the name of your jsp file is
    12.Test that the following provider test page comes up:
    http://midtier:port/jpdk/providers/test
    (It should show the name of the 2 portlets above)
    13.If there is a 500 Internal server error, restart OC4J_Portal and try again
    14.Once you get the test page above, go to Portal and register the provider.
    Give the URL as http://midtier:port/jpdk/providers
    and the Service Id as urn:test
    15.Add the portlet to the page.

  • How do I add a tracking code to my page?

    I want to add a tracking code to my page but iWeb doesn't seem to allow it. I copied the html code from a 3rd party site (Google Analytic) and tried pasting into the html widget in iWeb but when I check the tracking report it keeps telling me the code has not been installed. I have tried placing the text block at various places on the page and still no luck. The directions at Google Analytic tell me where I need to paste it into the html code but to do that I need an html editor or a text editor that can read html.
    Am I doing something wrong with the html widget? If a tracking code can't be added with a widget is there a way I can edit the source code directly? A text editor, maybe? I tried Word but but it wouldn't open the page.
    Thanks for any help!
    Rikki

    There's a way to add Google Analytic to pages without having to edit the page. It's a little bit of work but it's a one time process. Read about it here: http://www.wyodor.net/blog/archives/2010/05/entry_316.html
    Or you could add StatCounter to each page to get not only the number of hits but lots more information:
    Click to view full size
    This tutorial describes how to add it: Old Toad's Tutorial #13 - Adding a StatCounter as an HTML Snippet.
    OT

  • How do I add an electronic signature to a pages document

    how do I add an electronic signature to a pages document?

    Sergio
    Glad you stepped in and elucidated my inadequate explanation.
    Step by Step explanations of the problem will get Step by Step instructions, but its been a week and the O.P. hasn't elaborated on what they actually want.
    You may consider it a horrible answer, what was your opinion of the question?
    Peter
    PS I looked hard but couldn't find a reference to Preview in my post.

  • How I add a LIBRARY ITEM to a page layout, top/bottom ?

    how I add a LIBRARY ITEM to a page layout, top/bottom ? in
    dwmr mx 2004 and cs4 ?

    Have you looked at the DW help file - it will explain all
    about library items :-)
    Nadia
    Adobe® Community Expert : Dreamweaver
    Unique CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    CSS Tutorials for Dreamweaver |
    http://www.adobe.com/devnet/dreamweaver/css.html
    Book: Ultimate CSS Reference (aff link) |
    http://www.sitepoint.com/launch/005dfd4/3/133
    http://twitter.com/nadiap
    "lse987" <[email protected]> wrote in
    message news:gpsvtt$t5q$[email protected]..
    > how I add a LIBRARY ITEM to a page layout, top/bottom ?
    in dwmr mx 2004 and cs4 ?

  • I can no longer  add a scanned document to a pages document since the recent update , how to fix ?

    I can no longer add a scanned document to a pages document since the recent pages upsoftware update . Any ideas on how to resolve this ?

    What is the format of the document(s)?
    What exaclty happens when you try?\
    Have you tried the Numbers forum?
    https://discussions.apple.com/community/iwork/pages

  • How to add (multiple) cursors programmatically in an XY graph?

     how to add (multiple) cursors programmatically in an XY graph?
    I am building an XY graph. then I would like to add cursors at certain locations (positioned on x axis) I determine through a program.
    How can I add cursors programatically?
    Thank you.

    Initialize a cluster array (CrsrList type) with as many cursors as you think you would ever need.   Setup your cursors dynamically, then delete the unused cursors (array elements) and then update your CursorList property.
    Message Edited by vt92 on 03-20-2009 04:04 PM
    "There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
    Attachments:
    cursors.PNG ‏5 KB

  • How to add a picture to the login page only

    Hi,
    I'd like to add a picture to my login page (without changing the standard template).
    Can anyone tell me how to do this?
    Thanks.

    user 601980,
    Please, have a look here:
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/apex/f?p=107:7
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

Maybe you are looking for

  • Keyboard doesn't appear in Messages+ on HTC M8

    My keyboard doesn't appear when I try to type a message in Messages+.  It appears when I type in the to box.  Instead of the keyboard I have a box lets you send gifts, photos, audio, etc.  I've tried restarting numerous times with no effect.  Has any

  • How to avoid dependance between output digital port with a PCI 1200 daq card?

    Hello, I don't manage to fix the state of a line on one port (PA0 for ex) without change the state of another line of another digital port (PB0 for ex) I use a PCI 1200 Daq card with Labview 5.0.1 (under Windows 98) How to configure a robust state (h

  • Netweaver SR3 on Linux Enterprise 10 - Which JDK Version

    Hello experts, we are facing problems installing Netweaver SR3 (Java) on Linux Enterprise. The problem is that the step Import Java Dump hangs and the installation does not continue. According to other forum threads one problem might be a wrong JDK v

  • Controlling "Log apply" on Logical standby.

    Hi, We are going Live with logical standby ina day or two, and suddenly found what seems to be a potential problem in the near future. Despite issuing the command ALTER DATABASE START LOGICAL STANDBY APPLY IMMEDIATE;Logs are not getting applied immed

  • Dbms_java, & java.policy

    where is the documentation of dbms_java utility package on site & how do i read or know the current policies is there any api's which can help or table where the policy name & values are stored null