Host Print Templates in ArcGIS Web AppBuilder

To configure a Web AppBuilder app to host print templates, you use a VertiGIS Studio Printing widget. You add the widget to the app and configure it to run one or more prints. If you configure the widget to run multiple prints, the user is presented with a list of print templates to choose from.

Configure a Web AppBuilder App to Host Print Templates

This procedure assumes that you have already registered the VertiGIS Studio Printing widgets that allow you to host and run print templates from Web AppBuilder apps. See Prepare the Printing Widgets for Web AppBuilder for information.

To configure a Web AppBuilder app to host print templates:

  1. In Web AppBuilder, configure the app that will host print templates.

  2. Add the Printing widget:

    1. Click Widget to open the Widget panel.

      Open the Widget panel

    2. Click Set the widgets in this controller.

    3. Click the icon to add widgets.

      Add widgets

    4. Select the Printing widget and click OK.

      Printing widget

      The Configure Printing dialog box opens. By default, the widget has a sample print template.

      Sample print template

  3. Configure the Printing widget:

    1. Change the widget's title if you want. The default title is Printing.

      The title is used as the widget's tooltip and as the title of the Print panel.

    2. Change the widget's icon if you want.

    3. Click Add Print, select a print template to host, and click OK.

      Print template added to a Printing widget

      You can open the print template or its ArcGIS item from the Actions menu. Hover the pointer over the Actions column to show the menu and then click a tool:

      •   Edit the print template in Print Designer.
      •    Open the print template's item in your portal.
    4. In the Description box, type a description for the print template.

      The description appears in the Printing panel, under the template's name.

    5. Continue to add print templates to the widget until you have added all the templates you want.

      Printing widget with six print templates and a customized title and icon

      You can remove print templates from the widget: Click Delete in the Actions menu.

    6. If you added multiple print templates to the widget, use the Move Up and Move Down tools in the Actions menu to configure the order that the templates appear to the end user.

    7. When you are satisfied with the configuration, click OK.

  4. Save the app.

    You can add the Printing widget to an app more than once. This is useful if the hosted print templates fall into different categories. For example, suppose you want the app to host three templates for large-format printing and six templates for printing on an office printer. You could add the widget twice, configure different titles and icons for each widget, and divide the print templates between them.

See also...

Run Prints