Creating portlet programmatically

Hi dev2dev
I want to create portlet programmatically
if there is any hints or package related pls do mail me
Thanks n Regards
Surya
[email protected]

Hi,
I am sure ( although without having testet it myself ) that the administrative EJBs behind the portal administration tool could be used here.
consult the java - doc for theese classes.
Are you sure this is the only solution to the problem ? If you could elaborate on the problem leading to you wanting to create portlets prgrammatically perhaps the community could provide you with another solution if there are any.
- Anders M.

Similar Messages

  • Existing content area as a portlet programmatically?

    Does anyone know how to expose existing content area as a portlet programmatically?
    I have to write a script that would need to create and "expose" existing content areas as portlets.
    Thanks in advance,
    Alex.

    Did you try refreshing your portlet repository? What release of Portal are you currently using? Which version of the PDK? On which platform?
    Thanks,
    Harry
    testing ignore below!
    http://portalstudio.oracle.com

  • Creating Queries Programmatically

    Hi,
    I need to create the queries programmatically using the APIs in my 7.1 Laptop webdynpro application. when I try to use the class QueryRuntime to instantiate the query, the project is not able to reference to the package com.sap.ip.me.api.persist.query.QueryRuntime.
    I want to know how to create the queries programmatically using the above class.
    Regards,
    Priya

    Hi,
    I am sure ( although without having testet it myself ) that the administrative EJBs behind the portal administration tool could be used here.
    consult the java - doc for theese classes.
    Are you sure this is the only solution to the problem ? If you could elaborate on the problem leading to you wanting to create portlets prgrammatically perhaps the community could provide you with another solution if there are any.
    - Anders M.

  • Creating ViewAcessor programmatically

    I have created ViewObject at runtime by providing sql query. Now i want to create ViewAccessor so that i can validate one of the fields in newly created ViewObject but i could not find any help regarding creating ViewAccessor programmatically. Any Help?????

    Hi,
    I am sure ( although without having testet it myself ) that the administrative EJBs behind the portal administration tool could be used here.
    consult the java - doc for theese classes.
    Are you sure this is the only solution to the problem ? If you could elaborate on the problem leading to you wanting to create portlets prgrammatically perhaps the community could provide you with another solution if there are any.
    - Anders M.

  • FM for Create ASN programmatically in SNC (Supplier Network Collaboration)

    Hello,
    I am working in SNC (Supplier Network Collaboration) with version SAP SCM 7.0. I wanted to create ASN programmatically.
    Can anyone tell me the ways possible to create ASN programmatically using purchasing information?
    Thanks & Regards,
    Nitin

    HI Jens,
    In our forum, we discussed topic about BizTalk & SAP Integration before, hope it helps you.BizTalk
    & SAP Integration
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Creating Builds Programmatically LV8.0.1

    Salut.
    From LV8.0.1 help :
    QUOTE
    Creating Builds Programmatically
    You can use the BuildTargetBuildSpecification VI located in the vi.lib\AppBuilder directory to build source distributions programmatically from build specifications. If you have the Application Builder installed, you can use the VI to build stand-alone applications, shared libraries, Windows installers, and zip files programmatically. The VI is not available on the Functions palette.
    Note The LabVIEW Professional Development System includes the Application Builder. If you use the LabVIEW Base Package or Full Development System, you can purchase the Application Builder separately by visiting the National Instruments Web site.
    The BuildTargetBuildSpecification VI creates a build from a build specification that you specify in the Name of build specification input. If you do not specify a build specification, the VI creates builds from all build specifications in the specified LabVIEW project. You must specify the path and filename of the project to use in the Path to project input.
    If you want the VI to create a build from a build specification located in a target that is not My Computer, specify a target in the Name of target input.
    After you run the VI, you can view the path to the completed build files in the Generated files output.
    END QUOTE
    1-
    QUOTE After you run the VI, you can view the path to the completed build files in the Generated files output.END QUOTE
    Does someone know how to also get the created installer files? (i only get the exe output files)
    2- How can i start the build status feedback window when using the BuildTargetBuildSpecification.vi?

    Hi jacemdom,
    I hope you're doing well.  I have tested building an Installer specification on my end, and I am seeing the same results.  The correctly passes in the appropriate build specification reference, but no files are actually generated as you have noticed.  I am currently looking for more documentation for you on the BuildTargetBuildSpecification as it is a relatively new feature.  Regarding the status window with this VI, it looks like that feature is currently unsupported.  I will verify this an update you with what I find.  Have a great day!
    Thaison V
    Applications Engineer
    National Instruments

  • Can i create pdx programmatically in c# ?

    Can i create pdx programmatically in c# ? If yes, then is it must to use adobe sdk for it ?

    I did this using an unpublished API - it took some experimentation but worked great at the end. I used a page template in release 2 of Portal. the idea was that when a user added a project we would programatically create a page for that project. In that manner their portal would end up with several hundred pages, one for each project, that were created and look similar as they added project information for their company. Here is an example from the code using Oracle's API, wwpob_api_page.create_page - if you open up the specification for this package in a pl/sql browser such as TOAD you will see some comments that help explain how to use it:
              p_page_id := WWPOB_API_PAGE.create_page
    (p_id => null
    ,p_parent_id => 1
    ,p_type_id => WWPOB_API_PAGE.PAGETYPE_PORTLETS
    ,p_type_siteid => 0
    ,p_type_value => 1
    ,p_name => p_page_url_info
    ,p_title => v_page_title
    ,p_category_id => null
    ,p_site_id => p_page_group_id
    ,p_plsql_executemode => null
    ,p_username => v_user_name
    ,p_description => v_page_description
    ,p_image => null
    ,p_titleimage => null
    ,p_rolloverimage => null
    ,p_styleid => v_style_id
    ,p_style_siteid => 0
    ,p_exposure => WWPOB_API_PAGE.DONTEXPOSE_AS_PORTLET
    ,p_ispublic => WWPOB_API_PAGE.PAGE_PRIVATE
    ,p_inheritpriv => WWPOB_API_PAGE.OWN_PRIV
    ,p_isready => 1
    ,p_cachemode => WWPOB_API_PAGE.CACHE_MODE_PING
    ,p_cacheexpires => null
    ,p_template_id => p_template_id
    ,p_template_siteid => p_page_group_id
    ,p_allow_style => WWPOB_API_PAGE.NO_PAGE_STYLE
    ,p_allow_acl => WWPOB_API_PAGE.ALLOW_PAGE_ACL
    ,p_istemplate => WWPOB_API_PAGE.PAGE_TEMPLATE_NO
    ,p_dav_id => null
    ,p_init_jspfile => null
    ,p_displaybanner => WWPOB_API_PAGE.SHOW_BANNER
    ,p_region_type => WWPOB_API_REGION.region_type_portlet
    ,p_create_region => true
    ,p_navpage_id => null
    ,p_navpage_siteid => null
    ,p_uitemplate => null
    ,p_template_ispublic => WWPOB_API_PAGE.PAGE_TEMPLATE_PRIVATE
    ,p_use_def_template => false
    ,p_copy_from_template => true
    Good luck - Art

  • Documention for creating portlets using pl/sql???

    Hi,
    can anyone help me get links for any kind of documentation about creating portlets using pl/sql for Oracle Application Server Portal 10g
    thanks
    M

    I think this will help out...
    Check out Chapter 8, "Creating PL/SQL Portlets" in the Oracle Portal 10.1.4 Developer's Guide.
    http://download-east.oracle.com/docs/cd/B14099_19/portal.1014/b14135/pdg_pdk_plsql.htm#BJEFHIBH

  • Creating Items Programmatically?

    Hi,
    What's the easiest way to create items programmatically? Our goal is to push new items (and later business partners & sales orders) into SAP without wasting valuable staff time on this kind of tedious stuff.
    I'm assuming it's not the obvious answer of simply INSERT'ing into the relevant tables (OITM etc)
    Do we need to buy the SDK to do what I'm asking?
    If someone can give me a pointer in the right direction, I'd really appreciate it!
    Many thanks,
    William.

    Hi there,
    I don't really undersand your question. If it is for data take on purposes, you can use DTW. You can use SDK if you need to stuff "automatically". You can write a Windows service that runs in the background, using SDK or an Add-on that will execute in the normal ways.
    Hope this helps.
    Kind regards

  • Error when creating portlet provider

    I tried to call Forms Server application from Oracle Portal as
    external application.
    External application works fine if I execute link in External
    application section.
    Problem arrise when I tried to create Portlet Provider for this
    external application.
    Portlet Provider Implementation style is set to WEB. When I
    choose Applay I get error:
    Error: An error occurred when attempting to call the providers
    register function. (WWC-43134)
    An unexpected error occurred: ORA-29532: Java call terminated by
    uncaught Java exception: java.io.IOException: Unexpected EOF.13
    XML-0121 : (Fatal Error) End tag does not match start
    tag 'INPUT'.
    XML-0121 : (Fatal Error) End tag does not match start
    tag 'FORM'.
    XML-0121 : (Fatal Error) End tag does not match start
    tag 'BODY'.
    XML-0210 : (Fatal Error) Unexpected EOF. (WWC-43000)
    An unexpected error occurred: java.io.IOException: Unexpected
    EOF.13
    XML-0121 : (Fatal Error) End tag does not match start
    tag 'INPUT'.
    XML-0121 : (Fatal Error) End tag does not match start
    tag 'FORM'.
    XML-0121 : (Fatal Error) End tag does not match start
    tag 'BODY'.
    XML-0210 : (Fatal Error) Unexpected EOF.
    at oracle.webdb.provider.web.SoapResponseProcessor.getDocument
    (SoapResponseProcessor.java:123)
    at oracle.webdb.provider.web.SoapResponseProcessor.processSOAP
    (SoapResponseProcessor.java:42)
    at oracle.webdb.provider.web.HttpProviderDispatcher.dispatch
    (HttpProviderDispatcher.java:877)
    at
    oracle.webdb.provider.web.HttpProviderDispatcher.registerProvider
    (HttpProviderDispatcher.java:259)
    (WWC-43000)
    An unexpected error occurred: Unexpected EOF.
    at oracle.xml.parser.v2.XMLError.flushErrors(XMLError.java:208)
    at oracle.xml.parser.v2.XMLError.error(XMLError.java:114)
    at oracle.xml.parser.v2.XMLError.error(XMLError.java:152)
    at oracle.xml.parser.v2.XMLReader.popXMLReader
    (XMLReader.java:380)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement
    (NonValidatingParser.java:968)
    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement
    (NonValidatingParser.java:237)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument
    (NonValidatingParser.java:201)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:169)
    at oracle.webdb.provider.web.SoapResponseProcessor.getDocument
    (SoapResponseProcessor.java:117)
    at oracle.webdb.provider.web.SoapResponseProcessor.processSOAP
    (SoapResponseProcessor.java:42)
    at oracle.webdb.provider.web.HttpProviderDispatcher.dispatch
    (HttpProviderDispatcher.java:877)
    at
    oracle.webdb.provider.web.HttpProviderDispatcher.registerProvider
    (HttpProviderDispatcher.java:259)
    (WWC-43000)
    I found unsolved forum with the same problem on Metalink: Doc
    ID: 57590.996
    How can I solve this problem?
    Is it possible to add external application to portal as a
    portlet without creatin a Portlet Provider?
    Thanks,
    Tomaz Podbersic

    Tom,
    A Connection timeout normally means that it is a valid
    host.domain, but the listener was down or it could not access
    that port.
    You say that you can reach the URL, is it on the same domain?
    Do you need a proxy to contact it. Can the Portal Machine see
    it okay?
    Sue

  • How to create Request programmatically to trigger Approval Process

    My scenario is dificult... I need to start Approval Process when the user want to assign AD Resource to other user without Request service. So I want to create Request programmatically from Event Handler to start Approval Process for Provision Resource request type.
    Is this right Way?

    If you talk of request, you will have to use RequestService. You can use code to work with the RequestService to create the request and the approval for you.
    -Bikash

  • Hide show portlets programmatically

    Hi,
    i have to show/hide one portlet programmatically, how can i achieve this.
    for example if session user data is null the portlet will be shown else hidden.
    Please help.

    Urgent Issue... ..
    Any help Please..

  • How to Deploying a PDK Portlet programmatically?

    I have a portlet that I built using PDK. Now I want to deploy it programmatically. I don't want to use the Jdeveloper wizard or the GUI for Application Server. Is there any way we can deploy the portlet programmatically? any help is really appreciated.

    dcmctl command is normally used to deploy a ear/war file dynamically. As far as registration of providers API's are available for PLSQL i.e. database provider registation(not attempted same for JPDK portlets).

  • Creating Presentations Programmatically

    Hi,
    I would like to know how to create presentations programmatically using PresentationBuilder, PresentationCustomizerContext and Presentation objects.
    Thanks in advance
    Ajesh A

    Hi,
    You can see an example of that in BI Beans samples - open the Java client project. You can donwload the BI Beans samples from here:
    http://www.oracle.com/technology/products/bib/index.html
    You can also generate a BI Beans default Java client class in JDeveloper and look at the generated code. To generate a Java client class, follow these steps:
    1. In JDeveloper create a new workspace
    2. Create a new project
    3. Create a new BIDesigner and specify the connection details
    4. Right click on BI Designer, and in the New Gallerychoose Business Intelligence Beans -> Client Tier for OLAP -> Java client class to generate a default Java client application.
    Hope this helps
    BI Beans PM

  • Need help on creating portlets using JSR268.

    Hi All,
    I want some details about how to create portlets with JSR 268 statndards.
    I am creating portlets with address and location viewer using google maps service.
    how to pass address parameters to the map portlet ?
    thanks
    Gopi

    If you want to pass parameters from one portlet to another, you should use parameters. I am currently working on a blog post that shows these features. I'm hoping to have it finished by the end of the day...
    Meanwhile i can tell you that you need to create parameters in the portlet.xml as shown in this image: https://picasaweb.google.com/yannick.ongena/IPC#5636361095514333538
    Then you need to tell assign that parameter to the portlet as shown here: https://picasaweb.google.com/yannick.ongena/IPC#5636361093578581890
    A thirth thing to do is set the value of the parameter. In your locations portlet you should write following code to set the parameter:
    PortletRequest req = (PortletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();
    req.setParameter("nameOfParameter",value); In your maps portlet you can read the value of the parameter with following code:
    PortletRequest req = (PortletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();
      String param = (String)req.getParameter("nameOfParameter");
      if(param == null)
          return "someDefaultValue";
      return param;You might need to set a partialTrigger on the maps portlet that points to the location portlets. That's it.

Maybe you are looking for