Skip To Content

Create Job widget in ArcGIS Workflow Manager (Classic)

Disponible avec une licence Workflow Manager.

The Create Job widget is a custom widget that provides web access to ArcGIS Workflow Manager (Classic) Server job creation capabilities through integration with ArcGIS Web AppBuilder.

For more information on the Create Job widget, see GitHub.

Deploy the Create Job widget

The Create Job widget can be used in the following ArcGIS Web AppBuilder environments:

Remarque :

There is currently no support for custom widgets in Web AppBuilder Online Edition.

Deploy with Web AppBuilder Portal Edition

Perform the following steps to integrate the Create Job widget with Web AppBuilder Portal Edition. Custom widgets are supported in Portal for ArcGIS 10.5.1 or later.

Conseil :

Refer to the Web AppBuilder for Portal documentation to familiarize yourself with the widget integration process.

  1. Add the Create Job widget as a custom widget in your portal and share it with groups or your organization.
  2. Create a new Web AppBuilder application and include the Create Job widget in your application.

    The Create Job widget appears under the Custom tab on the Choose Widget dialog box in Web AppBuilder.

  3. Configure the Create Job widget.
    Remarque :

    When using server authentication in a stand-alone server environment, it may be necessary to add the stand-alone server to the list of trusted servers in your portal. For more information about Portal for ArcGIS security, see Configure security settings.

  4. Save and publish your application for use.

Deploy with Web AppBuilder Developer Edition

Perform the following steps to integrate the Create Job widget with Web AppBuilder Developer Edition.

Conseil :

Refer to the Web AppBuilder Developer Edition documentation to familiarize yourself with the widget integration process in this environment.

  1. Install Web AppBuilder Developer Edition using the setup instructions.
  2. Clone the Create Job repository <WebAppBuilderInstallDir>\client\stemapp\widgets\WorkflowManagerCreateJobs to your local drive and copy the WorkflowManagerCreateJobs directory to the Web AppBuilder 2D widget directory.

    For more information, see Custom widget and theme deployment.

  3. Run Web AppBuilder Developer Edition and include the Create Job widget in your application.
  4. Configure the Create Job widget.
  5. Deploy your application.
    Remarque :

    It may be necessary to use and configure a proxy when using Web AppBuilder Developer Edition to deploy your application.

    For additional proxy setup instructions, see Setting up a proxy with Web AppBuilder (Developer Edition).

Proxy errors

If a bad request such as http://host1.domain.com/proxy/proxy.ashx?https://host2.domain.com/arcgis/tokens/&wab_dv=2.6 is returned while accessing services through the proxy, edit the deployed application's env.js file.

  1. Locate the appendDeployVersion function in the env.js file.
  2. Comment out all of appendDeployVersion except the last line.
    function appendDeployVersion(url){
        // if(/^http(s)?:\/\//.test(url) || /^\/proxy\.js/.test(url) || /^\/\//.test(url)){
        //   return url;
        // }
        // if(url.indexOf('?') > -1){
        //   url = url + '&wab_dv=' + deployVersion;
        // }else{
        //   url = url + '?wab_dv=' + deployVersion;
        // }
        return url;
      }

File types

The Create Job widget makes use of several file type extensions. Enable these file types in your web server when deploying the widget: .woff, .woff2, and .eot.

Use the Create Job widget

The Create Job widget opens with a list of job types for which jobs can be created and a search bar for filtering job types. If you have visible job types and the CreateJob privilege, you can use the widget to do the following tasks:

  • Choose a job type from which to create a job. This opens the create job view.
  • Optionally define a job's location of interest (LOI).
  • Optionally populate the job's extended properties.
  • Optionally add a job attachment.
  • Optionally add a note to the job.
  • Click the Submit button to create the job.