Link a parameter to a page (Open page with)

Sometimes a page requires another parameter to enable it to start. A parameter is a variable to which a constant can be assigned for a specific operation. The employee parameter, for example, is used for starting the master card of an employee. You can make references yourself to pages that require a parameter to start. You can do this for all functionalities in InSite and OutSite for which you make a reference to a page. Output parameters are parameters that are recognised by a page and that are used to start another page. The output parameter of the current page is then linked to the input parameter of the page to be opened.

A page has one input parameter and can have multiple output parameters. The parameter passes a value from the page where the visitor is to the pages the visitor can launch.

This is used, for instance, to start an employee's leave requests from an overview of employees.

An employee can retrieve his or her own details, such as the address details and salary details. If the employee click on the My data link, a page is displayed which is linked to the employee's employee code. This is because the Employee input parameter and the Employee output parameter is linked to the My data page.

Example: Functioning of the parameters

A manager can use the Request leave (MSS) function for an employee leave request. To do so, the manager first selects the employee. When the Create leave request (MSS) page is opened, the parameter of the employee is linked to the page. This way, the manager can create a leave request immediately for the selected employee:

Kees Zandbergen is logged on to InSite. He is requesting leave for Charlotte Bakker using the My employees/Request leave function:

Ins_Parameter koppelen aan pagina (10)

He/she selects Charlotte Bakker from the employee list.

Ins_Parameter koppelen aan pagina (20)

When he selects Charlotte Bakker, the value 'CharlotteB' is passed to the output parameter. This parameter is the input parameter for the Crate leave request page (MSS). He now opens this page for employee Charlotte Bakker:

Ins_Parameter koppelen aan pagina (30)

You also see the input parameter for Charlotte Bakker in the page URL:

Ins_Parameter koppelen aan pagina (40)

To link a parameter to a reference to a page:

In this example we link a parameter to a related reference. You can also apply this to a reference in a hyperlink, to a reference to an image in a custom layout, to a fixed list in a banner item and to a part of a page.

  1. Log on and start Site management.
  2. Open the page whose properties you want to change.
  3. Click on: Properties.
  4. Click on: Edit (in the Page frame).
  5.  Click on: New under the Related reference header.
  6. Select a value for Page.

    Here you select a page with an input parameter that matches the output parameter of the current page or a page that does not have an input parameter.

  7. Select a value for Open page with.

    Note:

    This field is only available if more than one output parameter is available. At that moment you can change this field. If only one output parameter is available, it is automatically completed.

    For instance, if you set up a Substitute for an Employee then you can select this substitute.

  8. Click on: Create.
  9. Click on: Publish.

See also

Directly to

  1. Pages and overviews in InSite and OutSite
  2. Maintain a page type
  3. Add a page
  4. Edit a page
  5. Publish a page
  6. Maintain a page
  7. View pages in Profit Windows
  8. Copy a page
  9. Add a related reference
  10. Add an overlay to a page
  11. Change the page properties
  12. Change overviews
  13. Link a parameter to a page
  14. Overview page per selection
  15. Download data
  16. Add a Previous/Next button
  17. Change a view
  18. Delete a page
  19. Structure of page URLs
  20. Configure the URL redirection for OutSite
  21. Change the title of a tab
  22. Add a hyperlink to an e-mail address