Adding Web Page objects

The Web Page object allows a link to a web address or URL to be added to a user page. This is useful for allowing your users to open a specific website or URL inside Legal Enterprise. Developers can specify a web address or construct a URL by building an expression using variables. The resulting page is then accessible under the associated location in the navigation pane.

Web Page objects can also be extended so that as well as displaying a web page, further actions can be processed. For example, a website could be displayed and then automatically logged into a particular area. To enable this, a series of actions are available for use with Web Page objects.

In addition, pages containing a Web Page object can be set as the default home page, firm-wide, group-wide or per user, so that users are automatically redirected to a specific web page each time they log on.

To add a Web Page object:

Use this procedure to add a Web Page object that displays a website and (optionally) performs further actions.

  1. From the Advanced Page Designer toolbar, click the Web Page button . A blank Web Page object is added to the page.

  1. When the Edit Web Page dialog box opens, click Add. In the Action type drop-down, select GET.

  2. Type "www.irislegal.co.uk" — including the quotes — in the space provided and click OK. Alternatively, you can use the Expression Builder lookup to construct a URL by using variables.

  3. (Optional) Use the following action types to build a list of actions to process once the website has been displayed. This is useful if you want, for example, to automate the process of logging into a website (e.g. RTA Portal). You could even code it to perform a search once logged in. Important In order to use action types you will need to know how to identify the appropriate IDs of the elements on the website you want to use.

  1. Click OK again to update the Web Page object. An entry is inserted into the object block.

  1. Save the page. A shortcut will be visible in the navigation pane, under the location you chose when saving, and clicking it will open the specified web address or URL in the right-hand workspace.

To load Google and search for directions (Example 1):

Use this procedure to configure a Web Page object to open Google Maps and display directions from your office to the address of the currently selected client.

  1. Follow the instructions for adding a Web Page object above.

  2. When the Edit Web Page dialog box opens, click Add and do the following:

  1. In the Action type drop-down, select GET.

  2. In the space provided, type "http://maps.google.co.uk/maps?saddr=

  3. Immediately after that, type your firm's postcode (e.g. WF15 8HG) and &daddr="

  4. Finally, append + postcode_client_default to the end. The complete expression should look like this, where <postcode> is your postcode:

"http://maps.google.co.uk/maps?saddr=<postcode>&daddr=" + postcode_client_default

  1. Click OK to add the action.

  1. Click OK to update the Web Page object and save the page in one of the top level folders, e.g. My Work. The complete action should look like this:

GET:"http://maps.google.co.uk/maps?saddr=<postcode>&daddr=" + postcode_client_default

  1. With a client in context, click the appropriate Web Page shortcut and watch what happens!

To load the RTA Portal and log on (Example 2):

Use this procedure to configure a Web Page object to open the RTA Portal and log on using your firm's user name and password.

  1. Follow the instructions for adding a Web Page object above.

  2. When the Edit Web Page dialog box opens, click Add and do the following:

  1. In the Action type drop-down, select NEW.

  2. In the space provided, type "https://www.rapidclaimsettlement.org.uk" and click OK.

  3. Add a PAUSE action and type 2 into the space provided. Click OK.

  4. Add a SET action and type "ctl00_ContentPlaceHolder1_UsernameTextBox=<user name>" into the space provided, where <user name> is your firm's user name. Click OK.

  5. Add another SET action and type "ctl00_ContentPlaceHolder1_PasswordTextBox=<password>" into the space provided, where <password> is your firm's password. Click OK.

  6. Add another PAUSE action, this time set to 3 and click OK.

  7. Finally, add a CLICK action and type "ctl00_ContentPlaceHolder1_Button1" into the space provided. Click OK.

  1. Click OK to update the Web Page object and save the page in one of the top level folders, e.g. My Work. The complete action should look like this:

NEW:"https://www.rapidclaimsettlement.org.uk"
PAUSE:2
SET:"ctl00_ContentPlaceHolder1_UsernameTextBox=<user name>"
SET:"ctl00_ContentPlaceHolder1_PasswordTextBox=<password>"
PAUSE:3
CLICK:"ctl00_ContentPlaceHolder1_Button1"

  1. Click the appropriate Web Page shortcut and watch what happens!

  1. (Optional) If you wish to extend this example to search for the current matter, you need to add the following steps to the above:

CHECK:"PostForm"
PAUSE:3
GET:"https://www.rapidclaimsettlement.org.uk/cfj-web/faces/pages/search/search.xhtml"
SET:"txtBusinessField1=" + rta_ci_applicationid
CLICK:"button"

To set up a Web Page as the home page:

Use this procedure to set a page containing a Web Page object as the default home page. For more details, refer to Setting default home pages.

  1. In System Setup, select the level at which you want to set up a home page.

  1. Under Home page, type or lookup the name of the user page that contains your Web Page object.

  1. Click Save to store your changes.

Notes