Skip to Content

Wikipedia (Beta) Search activity

Introduction

A Wikipedia (Beta) Search activity, using its Wikipedia (Beta) connection, retrieves objects from Wikipedia and is intended to be used as a source to provide data in an operation.

Create a Wikipedia (Beta) Search activity

An instance of a Wikipedia (Beta) Search activity is created from a Wikipedia (Beta) connection using its Search activity type.

To create an instance of an activity, drag the activity type to the design canvas or copy the activity type and paste it on the design canvas. For details, see Creating an activity instance in Component reuse.

An existing Wikipedia (Beta) Search activity can be edited from these locations:

Configure a Wikipedia (Beta) Search activity

Follow these steps to configure a Wikipedia (Beta) Search activity:

Step 1: Enter a name and select a language

In this step, provide a name for the activity and select a language. Each user interface element of this step is described below.

  • Endpoint menu: If you have multiple endpoints of the same connector type configured, a menu at the top of the screen displays the current endpoint name. Click the menu to switch to a different endpoint. For more information, see Change the assigned endpoint in Configuration screens.

    • Edit endpoint: Appears when you hover over the current endpoint name. Click to edit the currently selected endpoint's connection configuration.
  • Name: Enter a name to identify the activity. The name must be unique for each Wikipedia (Beta) Search activity and must not contain forward slashes / or colons :.

  • Select a language: This section displays languages available in the Wikipedia (Beta) endpoint.

    • Selected language: After a language is selected, it is listed here.

    • Search: Enter any column's value into the search box to filter the list of languages. The search is not case-sensitive. If languages are already displayed within the table, the table results are filtered in real time with each keystroke. To reload languages from the endpoint when searching, enter search criteria and then refresh, as described below.

    • Refresh: Click the refresh icon or the word Refresh to reload languages from the Wikipedia (Beta) endpoint. This may be useful if languages have been added to Wikipedia (Beta). This action refreshes all metadata used to build the table of languages displayed in the configuration.

    • Selecting a language: Within the table, click anywhere on a row to select a language. Only one language can be selected. The information available for each language is fetched from the Wikipedia (Beta) endpoint:

      • Language: The language's name.

      • Code: The language's code.

    Tip

    If the table does not populate with available languages, the Wikipedia (Beta) connection may not be successful. Ensure you are connected by reopening the connection and retesting the credentials.

  • Optional settings: Click to expand additional optional settings:

    • Continue on error: Select to continue the activity execution if an error is encountered for a dataset in a batch request. If any errors are encountered, they are written to the operation log.
  • Save & Exit: If enabled, click to save the configuration for this step and close the activity configuration.

  • Next: Click to temporarily store the configuration for this step and continue to the next step. The configuration will not be saved until you click the Finished button on the last step.

  • Discard Changes: After making changes, click to close the configuration without saving changes made to any step. A message asks you to confirm that you want to discard changes.

Step 2: Select an endpoint

In this step, select an endpoint. Each user interface element of this step is described below.

  • Endpoint menu: If you have multiple endpoints of the same connector type configured, a menu at the top of the screen displays the current endpoint name. Click the menu to switch to a different endpoint. For more information, see Change the assigned endpoint in Configuration screens.

    • Edit endpoint: Appears when you hover over the current endpoint name. Click to edit the currently selected endpoint's connection configuration.
  • Select an endpoint: This section displays endpoints available in the Wikipedia (Beta) endpoint.

    • Selected endpoint: After an endpoint is selected, it is listed here.

    • Search: Enter any column's value into the search box to filter the list of endpoints. The search is not case-sensitive. If endpoints are already displayed within the table, the table results are filtered in real time with each keystroke. To reload endpoints from the endpoint when searching, enter search criteria and then refresh, as described below.

    • Refresh: Click the refresh icon or the word Refresh to reload endpoints from the Wikipedia (Beta) endpoint. This may be useful if endpoints have been added to Wikipedia (Beta). This action refreshes all metadata used to build the table of endpoints displayed in the configuration.

    • Selecting an endpoint: Within the table, click anywhere on a row to select an endpoint. Only one endpoint can be selected. The information available for each endpoint is fetched from the Wikipedia (Beta) endpoint:

      • Endpoint: The endpoint location.

      • Description: The endpoint description.

    Tip

    If the table does not populate with available endpoints, the Wikipedia (Beta) connection may not be successful. Ensure you are connected by reopening the connection and retesting the credentials.

  • Back: Click to temporarily store the configuration for this step and return to the previous step.

  • Next: Click to temporarily store the configuration for this step and continue to the next step. The configuration will not be saved until you click the Finished button on the last step.

  • Discard Changes: After making changes, click to close the configuration without saving changes made to any step. A message asks you to confirm that you want to discard changes.

Step 3: Review the data schemas

Any request or response schemas are displayed. Each user interface element of this step is described below.

  • Data schema: These data schemas are inherited by adjacent transformations and are displayed again during transformation mapping.

    The Wikipedia (Beta) connector uses the Wikimedia REST API. Refer to the API documentation for information on the schema nodes and fields.

  • Refresh: Click the refresh icon or the word Refresh to regenerate schemas from the Wikipedia (Beta) endpoint. This action also regenerates a schema in other locations throughout the project where the same schema is referenced, such as in an adjacent transformation.

  • Back: Click to temporarily store the configuration for this step and return to the previous step.

  • Finished: Click to save the configuration for all steps and close the activity configuration.

  • Discard Changes: After making changes, click to close the configuration without saving changes made to any step. A message asks you to confirm that you want to discard changes.

Next steps

After configuring a Wikipedia (Beta) Search activity, complete the configuration of the operation by adding and configuring other activities, transformations, or scripts as operation steps. You can also configure the operation settings, which include the ability to chain operations together that are in the same or different workflows.

Menu actions for an activity are accessible from the project pane and the design canvas. For details, see Activity actions menu in Connector basics.

Wikipedia (Beta) Search activities can be used as a source with these operation patterns:

To use the activity with scripting functions, write the data to a temporary location and then use that temporary location in the scripting function.

When ready, deploy and run the operation and validate behavior by checking the operation logs.