Sun Java System Portal Server 7.2 Enterprise Sample Guide

Accessing the Desktop

This section has the following subsections:

ProcedureTo Access the Enterprise Sample Desktop

  1. The Enterprise Sample page is available at http://your-server:port/portal-URI/welcome/.

    This is the welcome page for Portal Server samples.

  2. Follow the link on the welcome page.

    The URL http://your-server:port/portal-ID/dt?desktop.suid=uid=anonymousenterprise,ou=People,o=EnterpriseSample,dc=your-dc takes you to the Enterprise Sample portal anonymous desktop.

  3. Login as Mary with password mary, Chris with password chris, or Ed with password ed and observe the difference in the portal content based on their roles.

ProcedureTo Access a Community Directly

  1. Community URL refers to the URL of a community page. Typically, the community URL is http://your-server:port/portal-id/dt?dt.community=CommunityName.

    The Communities home page allows users to browse and/or search communities, view list of their communities, preview and visit interesting communities, and create communities using the community portlets. For more information on the community portlets, see Sun Java System Portal Server 7.2 Technical Reference

    By default, for each community that the user is a member of, they will have a community page that allows the user to interact with the services, leave the community, and remove the community if the user is the owner. The community visitor page allows users to preview a community and join the community.

    Community URLs can be:

    • Bookmarked in a browser.

    • Emailed to another user who can click on the link from their mail reader to access the community.

    • Entered directly into a browser, by hand.

    Community URLs are cross-organization. The same URL will work in any community enabled organization. This allows a user in one organization to send a community URL to a user in another organization. If a community URL is accessed by an unauthenticated user, the user is redirected to a login page and then taken to the community after successfully logging in. The community system home page does not require login. If a user is a member of a community, the community URL will take the user to the community member page. Otherwise, the user will be taken to the community visitor page.

ProcedureTo Access a Container or Channel Directly

  1. Use a specific container or channel reference by using the provider argument to the Desktop login URL:


    http://hostname:port/portal-ID/dt?provider=provider-name
    

    where provider-name is one of the providers. For example, to access the JSP-based tab desktop, in a browser, type:


    http://hostname:port/portal-ID/dt?provider=JSPTabContainer
    • Example of a URL to access a desktop Subtab directly: http://nicp75.india.sun.com:8080/portal/dt?provider=JSPTabContainer&JSPTabContainer.setSelected=WorkContainer/MySubTab The above URL displays a subtab “MySubTab” under WorkContainer.

    • Example of a URL to access a desktop Channel directly: http://nicp75.india.sun.com:8080/portal/dt?provider=FullPageContainer&channel=NewsContainer/EmployeeProfile The above URL displays EmployeeProfile channel under NewsContainer.

    • If no channel is referenced, the Desktop looks in the session for the last channel or container that was displayed. (This is stored in the session.)

    • If no channel is stored in the session, the Desktop looks in a Desktop service attribute for the top-level container to display (Default Channel Name attribute). This happens after an initial login.

    • Once this top-level container is determined, that container draws the containers or channels that it references (through the Selected list), until all of its leaves have been reached.