Access to Portal/Portlet API

Hi,
Does anyone know/have experience with accessing Portlets from external systems (JAVA) ?
I would like to access the content (or application) inside a Portlet...
e.g. The Portal should host the Portlets and I would like to interact with the portlets.
-does an external API exist ?
-any problems signing on to the portal from an external system ?

Hi,
need to add the office 365 exchange online web api in Azure and set the required permissions.
then following this video code we can connect with office apis
http://www.microsoftvirtualacademy.com/training-courses/deep-dive-integrate-office-365-apis-in-your-mobile-device-apps?m=11496
also following url can be referred if we need directly to communicate with office 365 api using Oauth authentication method.
https://msdn.microsoft.com/en-us/office/office365/api/api-catalog
Thanks,
Nitesh

Similar Messages

  • Visual Studio 2005 crashes when referencing ALI 6.5 portal server API

    Visual Studio 2005 crashes when referencing ALI 6.5 portal server API
    We are building new portlets in .NET 2.0 to that access the ALI 6.5 server API and are experienceing the folowing scenario:
    I create a brand new project in Visual Studio (2005 with SP1 on Win2k3 R2 SP2) using the ALI Portal Project template that is provided with the application accelerator 1.1. This portlet will need to perform portal server searches so I begin by adding references to the following assemblies from C:\bea\alui\ptportal\6.5\bin\assemblies:
    openconfig.dll
    opencounters.dll
    opencache.dll
    openhttp.dll
    openssl.dll
    opentempfile.dll
    plumtreeserver.dll
    ptportalobjects.dll
    I then type in something like below to start up the portal server objects.
    protected void Page_Load(object sender, EventArgs e)
    IOKContext context = OKConfigFactory.createInstance("C:\\bea\\alui\\settings\\", "portal");
    PortalObjectsFactory.Init(context);
    this.Response.Write("Portal Objects Initiallized");
    Some moments later Visual Studio will crash. It has happened before I have entered any code, after I have started typing code and on builds. It seems intermittent but usually occurs within a minute of interacting with this Visual Studio project. I actually managed to build once and have had success accessing this page in Explorer to validate the portal server objects are getting initialized and referenced correctly.
    I thought this was a problem with my personal development environment. So I tried this on other machines: another Win2k3 ALI 6.5 dev portal server and another server with Visual Studio 2005 that I installed the 6.5 portal on just for testing this. The exact behavior listed above is occurring on three development machines here (crashing devenv.exe when portal references are made or loading a project with portal references). Since this does not seem to be isolated to a single development machine, is there any course of action that anyone would suggest to help solve this?
    thanks,
    Troy Rackley

    It turns out that this is only a problem with Visual Studio using the ALI templates or creating any projects using the "New... Web site" functionality of 2005. I was a ble to create a C#... ASP.net Web Application project and add the references to the idk and the local portal server APIs manually without devenv.exe crashes.
    So, the work around I have found if your projects needs to access both the portal server API and the remote API is to create the project with:
    New... Project... Visual C#... ASP.NET Web Application
    and NOT
    New... Web Site... ASP.NET Web Site (or ALI Portlet Project)
    Anyone know why this is the case?
    Thanks.
    Troy

  • How to access Sap portal login user in ejb web service

    Hi,
    I wnt to access SAP Portal login user in my ejb application which resides on the same server.
    I am using following code
    try {
         IUser user =null;                         IWDClientUser wdUser = WDClientUser.getCurrentUser();
                                  user = wdUser.getSAPUser();
                             } catch (WDUMException e) {
                                  // TODO Auto-generated catch block
                                  e.printStackTrace();
    Some additional jar files are required for this?
    The same code works fine with webDynpro but not with ejb.
    Thanks in advance     
    Best regards,
    Nilesh

    Thanks for reply.
    I have already added com.sap.security.api in my EJB module project classpath. How to add the same in EJB application Project (application-j2ee-engine.xml)?
    Best regards,
    Nilesh

  • Accessing multiple portals at the same time?

    Is it possible to access multiple portals at the same time?
    For example, what I want to achieve is different properties (layout,
    portlets, look & feel) for different groups of users accessing the same
    portal. The Associated Groups part on the Portal admin page is not
    fulfilling our requirements. So we decided to have different portals for
    different groups of users, all working through one portal, and accessing
    their custom portals. Is this achievable?
    What we are thinking is: put the common functionality in the repository
    portal directory, and the custom portlets/jsps in the group-specific portal
    directories. This way we can customize portal behavior for different groups
    of users. Is this achievable?
    Thanks.
    Amit

    You have to user respective DRILL commands present in WAD to configure the drill operations on multiple characteristics...

  • Support for Portlet API

    Does the BEA Portal Server support portlets written
    to the proposed Portlet API?
    Specifically, I've played with Jetspeed before
    and have some portlets for Jetspeed. How easy
    is it to port those portlets to the Portal Server?
    From what I've gone through so far with the Portal
    Server 7 sampleportal site and looking through the
    sample code, it seems to be very different from
    what I'm used to in Jetspeed.
    I would appreciate any pointers on documentations
    geared more for developers. While the tutorials
    are useful, they are a bit light on customization.
    Lew

    I doubt it since the Portlet API isn't finalized yet, so BEA's API (along
    with others) is still very proprietary.
    My best guess is that it won't be compliant untill one release version after
    the spec has been completly finished and accepted. 1-2 years? And that is
    if BEA decides to conform to the spec at all.
    "Lew Davis" <[email protected]> wrote in message
    news:[email protected]..
    >
    Does the BEA Portal Server support portlets written
    to the proposed Portlet API?
    Specifically, I've played with Jetspeed before
    and have some portlets for Jetspeed. How easy
    is it to port those portlets to the Portal Server?
    From what I've gone through so far with the Portal
    Server 7 sampleportal site and looking through the
    sample code, it seems to be very different from
    what I'm used to in Jetspeed.
    I would appreciate any pointers on documentations
    geared more for developers. While the tutorials
    are useful, they are a bit light on customization.
    Lew

  • 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

  • Access Databag Portal in Webdynpro

    Hi all
    Has anyone been able to access the portal databag object for use in web dynpro ? How is this done?
    Thank you
    Ivo

    Hi Ivo,
    In 2004s <u><b>IWDWebContextAdapter</b></u> is depricated. This interface is replaced with <b>IWDProtocolAdapter</b>.
    You can check<a href="https://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/services/sal/adapter/api/IWDWebContextAdapter.html">API</a> for more details.
    Regards
    Abhilash

  • How to restrict access to portal based on entitlements.

    Hi,
    I am working on weblogic 8.1 portal project. i want to restrict the user to access
    the portal based on the entitlements. However when user try to login he is seeing
    Weblogic Error 403 forbidden page. How to display custom error page, instead of
    weblogic default error page.
    How to programatically check whether user has access to portal or not based on
    entitlements.
    Please give me code.
    regards,
    -chada-

    Chada,
    The 403 is by design. If you want to place a page in front of one or more
    portal desktops and only show links to desktops the current user is entitled
    to, review the attachment.
    -Phil
    "Chada" <[email protected]> wrote in message
    news:3fcd6969$[email protected]..
    >
    Hi,
    I am working on weblogic 8.1 portal project. i want to restrict the userto access
    the portal based on the entitlements. However when user try to login he isseeing
    Weblogic Error 403 forbidden page. How to display custom error page,instead of
    weblogic default error page.
    How to programatically check whether user has access to portal or notbased on
    entitlements.
    Please give me code.
    regards,
    -chada-[login.zip]

  • Can't access to Portal Admin Console.

    Hi all,
    I'm working with WLP 10.2. I've created the ear-file (using maven) and deployed it on server (with Unix-system). The current application works well.
    My current task is a creation portal in streaming mode. Unfortunately I can't access to Portal Admin console for resolving task. I always retrieve "Error 404 (Not found)".
    As I know the admin-tools.war is responsible for Portal Admin Console. I've checked admin-tools.war is running on server (with status "Active").
    I'm using the next path for running Portal Admin Console: {serverhost:port}/{context root of admin-tools}/portal.portal.
    Maybe, Should I set up(correct) application.xml or weblogic.xml?
    Please let me know if you have any ideas.
    Thanks,
    Yuriy

    I think your URL is wrong, try with the following...
    http://{server:port}/{name_your_ear}Admin/portal.portal
    name_your_ear= The name of your Enterprise Application.
    For example,
    http://localhost:7001/DemosEarAdmin/portal.portal
    I hope this helps

  • Internet Access to Portal located in DMZ

    I've seen questions on the forum regarding gaing Internet access to the Oracle Portal located in the DMZ. This answer does not resolve the issue of having multple DADs to access your portal like abc.com and xyz.com. For that see note:162044.1 on metalink. http://metalink.oracle.com.
    If you registered a domain name e.g. abc.com and have the portal up and running in the DMZ. Your local network should be accessing the portal just fine. Your computer name for example is portal. The URL translates into http://portal.abc.com. You opened the ports in the DMZ to allow access and wonder why you get partial portal pages, no login, etc. It's becase users can't resolve the DNS entry for portal.abc.com. Call your ISP and get an "A Record" entry. After a few hours and propogation of the A Record, users on the Internet can successfuly access your site. This A Record should be free.
    Good luck
    Kellan

    Hi,
      You've to open the ITS for internet for accessing things from Portal too. As I've told you in previous post, the request goes directly to ITS server   (http://itsserver.com/scripts..) and not as  (http://myportal.com/scripts..). The idea of having it via Portal will be to mask the URL of ITS , which will not be visible (except for time you click on iview which will display in status bar). In any case, you can directly acces ITS as what you've told, however you give the proxy.
    Regards,
    Siva
    P.S: Award points if you find this useful.

  • How to access a Portal User Info from a J2EE application?

    Hi,
    I have deployed a j2ee application in portal and its running fine.
    from that application i need to assign some roles to some users.i have the user id.
    so my doubt is can i access the portal user info from this j2ee application?i have some servlets in the j2ee application....can i get the portal user info from this servlet?
    plz help me
    regards,
    Visweswar

    Hi,
    Please check out this to get the portal user information from Java -
    WdClientUser class/Interface to aciehve this.
    Please check out these links on the same -
    WDClientUser.getClientUser IUser
    help needed
    Regards
    Lekha

  • Access to office 365 api

    Hi team, 
    i have been building up native applications and has access to Microsoft tenant in azure and there i have already the mobile application. Also i can add the webapi's to my application once when i went to configure tab and hit add on the bottom.
    So from here i can add office 365 exchange online api and set the delegated permissions to required field.
    Also i went through couple of articles and videos which shows how to get access to office 365 api.
    http://www.microsoftvirtualacademy.com/training-courses/deep-dive-integrate-office-365-apis-in-your-mobile-device-apps?m=11496
    As mentioned in video we add the connected service and it sign in to microsoft account and register the app.
    Also add some client id to App.xaml . And when we went to tenant application page we can see the new registered app with a client id.
    Please let me know if i already has the application in azure and i have added the office 365 exchange online api , then shall i need to do above steps or i can directly hit the api service Uri's.
    thanks,
    NItesh

    Hi,
    need to add the office 365 exchange online web api in Azure and set the required permissions.
    then following this video code we can connect with office apis
    http://www.microsoftvirtualacademy.com/training-courses/deep-dive-integrate-office-365-apis-in-your-mobile-device-apps?m=11496
    also following url can be referred if we need directly to communicate with office 365 api using Oauth authentication method.
    https://msdn.microsoft.com/en-us/office/office365/api/api-catalog
    Thanks,
    Nitesh

  • Urgent: cannot access the portal home page because of problem’s language

    I have installed Oracle 9iAS, including infrastructure with language FRENCH_FRANCE.WE8ISO8859P15 and portal and wireless type I don’t have problem for access to http://machine:1810 and http://machine:7779 in French.
    But when I access this url: http://machine:7779/pls/portal, there is a error : java.io.IOException:
    Unsupported character encoding: "ISO-8859-15"
    at oracle.webdb.page.BaseContentRequest.getResponseJavaEncoding(Unknown Source)
    at oracle.webdb.page.BaseContentRequest.getReader(Unknown Source)
    at oracle.webdb.page.PageBuilder.getMetaData(Unknown Source)
    at oracle.webdb.page.PageBuilder.process(Unknown Source)
    at oracle.webdb.page.ParallelServlet.doGet(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:244)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    When I install infrastructure, I select FRENCH_FRANCE.WE8ISO8859P15. I check in sql*plus in the v$NLS_PARAMETERS and NLS_LANGUAGE is FRENCH, NLS_TERRITORY is FRANCE, NLS_DATE_LANGUAGE is FRENCH and NLS_CHARACTERSET is WE8ISO8859P15. It seems all well.
    But I check in the Windows registry, I find that NLS_LANG is FRENCH_FRANCE.WE8MSWIN1252 under under HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE/HOME1 and HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE/HOME2. Then I correct in FRENCH_FRANCE.WE8ISO8859P15 in the Windows registry.
    Also I check in EM web_site in
    To check the DAD settings, in my EM Console, I go to Http Server/PLSQL Properties/DAD status. I correct NLS Language with FRENCH_FRANCE.WE8ISO8859P15.
    Also I correct langinst.cmd under OH/portal/admin/plsql to replace WE8MSWIN1252 with WE8ISO8859P15
    case f:
    setenv NLS_LANG FRENCH_FRANCE.WE8ISO8859P15
    breaksw
    case frc:
    setenv NLS_LANG FRENCH_FRANCE. WE8ISO8859P15
    breaksw
    All that I do is not useful for access the portal home page, thers is always the error java.io.IOException: Unsupported character encoding: "ISO-8859-15"
    I don’t have problem in language English. My page portal is running well in a another machine where I install Oracle9iAS in English, but I have always problem in the machine where I install Oracle9iAS in French.
    I find there are lots of this problem in this forum, but there isn’t a answer. So thanks for anyone to resolve this problem.

    Hello Michael,
    Thanks for your help !
    I think that the problem is in the PlsqlNLSLanguage. But I couldn’t check it now with the version French WE8ISO8859P15, because today I’ve installed oracle902 AS with WE8MSWIN1252 and it functions well. I find the PlsqlNLSLanguage in my $ORACLE_HOME_INFRA/Apache/mod_plsql/conf/dads.conf is FRENCH_FRANCE.WE8MSWIN1252
    , and in my $ORACLE_HOME/Apache/mod_plsql/conf/dads.conf is AMERICAN_AMERICA.WE8MSWIN1252. But I don’t understand why it doesn’t create the language’s problem.
    I will try again in another machine with WE8ISO8859P15.

  • Not able to access the portal on the network - (RedHat Enterprise Linux 5).

    Friends,
    I have installed the portal(7.1) on a linux(RHEL 5) box.I am able to access the portal locally and everything looks fine.
    However when I try accessing the portal on the network...I get "page cannot be displayed" as if the server is not listning on 8080.
    when I do "GET http://rexportal.davita.corp:8080" I get ........
    500 Can't connect to rexportal.davita.corp:8080 (connect: No route to host)
    what does this mean?
    other info:
    1) I have disbaled the firewall by setting SELinux to disabled.
    2)I am able to traceroute to the m/c
    3) can ftp and SSH
    4) When I do "GET http://rexportal.davita.corp" I see a apache server page.It means apache server is accessible at port 80 on the network.
    Can you plz help me resolve this issue.what can prevent my server not being accesible across the network
    Thanks!!
    Deepak.

    I was able to resolve this.! basically It was a firewall issue.
    To help othere here is what I found.
    I had disabled the SELinux utility which should have basically disabled the firewall service but It didnt stop it.
    You can check If the firewall is running with following command on redhat linux.
    service iptables status
    If it is enabled ,you can either stop it by
    /etc/init.d/iptables stop (not recommended -- for security)
    or
    you can add a entry for the port you want to enable by modifying the file
    /etc/sysconfig/iptables
    Hope it might be helpful !
    Thanks,
    Deepak.

  • Use ip address to access the portal

    If there any way to access a portal through ip address instead of fully qualified domain name.  I need to access the portal in my office through an external ip address in a router.  The port forewarding force an ip address even I define a hostname for my router.

    Hi Wing ,
    yes you can , but some pieces of the portal depend on full hostname resolution ( for domain security) . So Single Sign On to backends will not work properly (if at all) plus Javascript will act funnily in your browser (depending on the settings ).
    Also you need to make sure any content in an Iview that is displayed in an Iframe is domain-name resolvable to your browser (e.g. other non-portal hosts ) .
    Much better to go through a Reverse Proxy in the DMZ ..see various posts in the Implementation forum .
    Regards
    Daniel

Maybe you are looking for

  • Adding one object to cube from ODS

    hi guys, i am loading the data from 7 ods objects to 1 cube. in my report i want to see cost center which is there in 2 ods objects but not in all the ods ojects. this cost center info object is not available in the cube too. so when i generate a rep

  • How to pull a Specific files from the local path using SSIS package

    Hi Friends, I have 15 Dealers files .With the Files name as follows 1. ''ACTEST00001_20141112_0408_INV.TXT'' 2. ''ACTEST00002_20141112_0408_INV.TXT'' I will get these files through FTP on Daily basis with changes on date alone. I will have 4 files fo

  • Delete from inline view

    Hello members, No sorry, this is not about key preservation. Instead, I have two tables T1 and T2. I want to delete rows from T1 where primary key is also in T2. I thought that if I select only from T1 then I would delete from T1. But as it turns out

  • Setting host name for non-Apache webserver

    http://www.appdal.com is a website in my Snow Leopard Server. And I have non-Apache webserver running http://appdal.com:8080/ . I want to give host name 'pier' chaing the web host name settings of this But it is not working. What did I do something w

  • Saving photoshop file as screendot file

    Hi, In history (older mac/older Photoshop) I could set and save my own screen settings (screenfrequency / angle / shape) (see Print -> Output -> Screen). Now I have to make again a photo in a very rough screen (as a sort of artistic effect). So I wan