Web application bridge - Get started
See also
- Getting started with the Web Application Bridge | HCL WebSphere Portal
- Integrate existing web applications with the IBM Web Application Bridge
Follow steps below if the portal context root (site URL) has not been removed from /wps/portal. If it has been modified, see instead Getting started with the Web Application Bridge | HCL WebSphere Portal
- Set the context root for wp.vwat.servlet.ear:
- Log on to the WAS console and go to...
Applications | Application Types | WebSphere enterprise applications | wp.vwat.servlet.ear | Web Module Properties | Context Root For Web Modules
- Change the context root to /.
To avoid name conflicts, add a rewrite rule using the Apache module mod_rewrite, and provide short vanity URLs.
- Click OK.
- Click Save to save the changes to the master configuration.
- Restart wp.vwat.servlet.ear.
Log on to Portal and go to...
Administration | Portlet Management | Virtual Web Application Manager | Content Provider Profiles | Create Content Provider Profiles
Do not enter < or > into any of the text boxes. There is a known security issue. A user can write a JavaScript to hijack the Virtual Web Application Manager and Web Dock portlets.
- Create the content provider profile.
- Go to the new profile and click...
Add policy
Create at least one policy for the content provider profile.
- Click...
Web Dock Applications | Create Web Dock Applications
- Create the web dock applications.
- Go to the application created.
- Selects one of the following tabs, and then click Edit to configure the web dock settings:
- Web Dock Display Settings
- Client Side IPC for Web Dock
- Server Side IPC for Web Dock
- Plugins
- The content author logs in to HCL WebSphere Portal.
- The content author accesses the site toolbar, and takes one of the following actions:
- Creates a page and adds the web dock application portlet to the page.
- Edits an existing page and adds the web dock application portlet to the page.
To get the web dock application to render on a page, the page must either have the Web Dock profile or a profile that includes the wp_webdock module. Edit the page properties and change the profile or add the wp_webdock module to the profile applied to the page:
- Connect to the theme repository with the fs-type1 connection.
- Go to the theme.
- Open the profile file in the /profiles directory.
- Make a copy of the profile file and give it a unique name.
- Edit the .json file and add the wp_webdock module ID.
- Copy the profile created to the /profiles directory.
- Invalidate the resource aggregator cache to integrate the changes.
Administration | Theme Analyzer | Utilities | Control Center | Invalidate cache
- If a content author experiences issues with viewing the web dock applications, update the user role:
- Log on to HCL WebSphere Portal as the administrator and click...
Administration | Access | Resource Permissions
- Search for the page containing the web dock application.
- Give the content author the correct permissions to the page.
- If the content provider policy is set to use basic or form-based authentication...
- Go to the web dock application and give the content user the correct permissions.
- Go to the credential vault used for the authentication. Give the content user the correct permissions to the credential vault.
Parent Web application bridge