Using the Browser to Add Custom Actions

The creation of new controls to the ribbon together with the commands that should execute when the control is clicked is often referred to as custom actions. Using the browser, custom actions can be added to the ribbon on the Documents or Items tab of List View pages. They are added to the Quick Steps group, as shown in Figure 15-10.

Use commands in the Quick Steps group to start a workflow instance on a list item or document.

Figure 15-10. Use commands in the Quick Steps group to start a workflow instance on a list item or document.

The ribbon command that allows you to add the custom action to these tabs is displayed on the Library or List tab in the Customize Library or Customize List groups. To make it more confusing, the command you use is called, New Quick Step, as highlighted in Figure 15-11.

Use the New Quick Step command to create custom actions that you can access on the Items or Documents tab.

Figure 15-11. Use the New Quick Step command to create custom actions that you can access on the Items or Documents tab.

When you use the New Quick Step command to add a control, the browser opens SharePoint Designer; it’s SharePoint Designer together with the SharePoint server that actually adds the custom action to the Quick Steps group. That means that you can only use the New Quick Step command if you have SharePoint Designer installed on your computer. In addition, you can only use the New Quick Step command to start workflows.

Tip

INSIDE OUT Custom Actions and SharePoint Designer

If you first open a site in SharePoint Designer and then browse to a list or library, you can create a Custom Action that can do more than start workflows. To change a quick step, you need to use SharePoint Designer. Both of these tasks are described in the next section.

To create a Quick Step, perform the following steps:

  1. Using the browser, navigate to the list or library to which you want to add the Quick Step, and then in the List or Library tab.

  2. On the List or Library tab, in the Customize Library group, click New Quick Step. In a list, this group is named Customize List.

    Your site opens in SharePoint Designer and the Add A Button dialog box appears.

  3. In the Choose What Your Button Will Do section, select the option to either create a new workflow, or work with an existing workflow.

    For a workflow to appear in the Start An Existing Workflow drop-down list, you must have previously added a workflow to your list or library.

  4. In the Define The Label And Image For Your Button section, in the Button Label text box, type the name that will appear below your button on the ribbon.

  5. In the Button Image text box, enter the address for an image for your button, and then click OK.

image with no caption

To modify a quick step, edit the list in SharePoint Designer by clicking Edit List in the Customize List group on the List, Library, or Calendar tab, and then use the details described in the following section.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset