Creating Actions

Actions in Employee Portal are used to issue commands from your Web parts. You can, for example, define an action to create a new line in a header + line Web Part or you can define an action from a list Web Part to open the record in a card Web Part. By using actions in your Web Parts, your users can interact with the data and to navigate between Web Parts.

This topic describes how to define an action that issues a command inside the Web Part. You can read more about defining actions for connecting Web Parts here: Connecting Web Parts.

But before you define an action you must make sure that the following tasks are completed for the Web Part Request that you want to create an action for:

Preconditions

You can get an overview of the all tasks you need to complete to create a Web Part here: Creating Web Parts for Employee Portal.

To Create an Action
  1. Open the EP Web Part Request Card window.

  2. Select the Web Part Request you want to define an action for.

  3. Select the relevant table.

  4. Click Table, Card. The Table window is opened.

  5. Click Table, Actions. The EP WP Table Action List window is opened. Click F3 to create a new line.

  6. In the Type field select the relevant action. In the Target field select Current. Fill in the remaining fields. For Help about a specific field, click the field and press F1.

Images in Actions

When you create you actions for card Web Part, you can align with the SharePoint style by defining an image for the action. For this you can use the images available in SharePoint  for you to point to and use in you Web Parts.

Related Topics

Adding SharePoint Images to Actions

Defining Captions for Actions

Running Reports from Web Parts

Connecting Web Parts