Skip To Content

Agregar y configurar Abrir página web

El paso Abrir página web se puede utilizar para integrar páginas web y aplicaciones web en ArcGIS Pro y la aplicación web ArcGIS Workflow Manager, lo que permite a los usuarios de Workflow Manager interactuar sin problemas con la página web o la aplicación web.

Cuando el paso se ejecuta en la aplicación web Workflow Manager, la página web o aplicación web definida en el paso se abre en la página Trabajo. La información del paso se muestra en el panel Detalles y se puede minimizar haciendo clic en el botón Minimizar Collapse Panel.

Cuando el paso se ejecuta en ArcGIS Pro, la página web o aplicación web definida en el paso se abre en una vista en ArcGIS Pro.

Nota:

Cuando otra persona está ejecutando este paso, aparece el icono Ejecutándose Running en el trabajo.

When the step is run, the following actions can be performed:

  • The step can be paused by clicking Pause.
  • The step can be finished by clicking Finish.
Nota:

If the step isn't optional, the step must be run or paused at least once before it can be finished.

Configurar el paso

To configure the step, do the following:

Precaución:

Para reducir las vulnerabilidades de seguridad, el paso Abrir página web solo se debe configurar para páginas web y aplicaciones web de confianza.

  1. Create or edit a workflow diagram to access the Step Library panel.
  2. Arrastre Abrir página web desde el panel Biblioteca de pasos a una flecha de conexión de un paso en el lienzo del flujo de trabajo.

    The Step Details panel appears.

  3. Provide a name for the step in the Step Name text box.
  4. Escriba la dirección URL de la página web o aplicación web en el cuadro de texto Dirección URL de la página web.

    También puede usar expresiones de ArcGIS Arcade para proporcionar un valor dinámico. Si el valor Dirección URL de la página web contiene texto sin formato y expresiones de ArcGIS Arcade, tendrá que formatear el texto del siguiente modo:

    'https://webadaptorhost.domain.com/webadaptorname/<BranchVersionedFeatureServiceName>/?versions=' + JobVersion($Job, '<DataSourceName>') + '&extent=' + JobLocation($Job)

    Nota:

    El paso Abrir página web solo admite direcciones URL sin restricciones de integración y aplicaciones web públicas en un portal de ArcGIS Enterprise. No se admiten aplicaciones web protegidas en un portal de ArcGIS Enterprise ni páginas web con contenido mixto.

  5. Si lo desea, configure el ajuste Codificar automáticamente el resultado de Arcade según sea necesario.
    • Si se utiliza una expresión de Arcade para construir cualquier parte de la URL base en el cuadro de texto URL de la página web, desactive la casilla de verificación Codificar automáticamente el resultado de Arcade.
    • Si alguna de las expresiones de Arcade del cuadro de texto URL de la página web devuelve un resultado que incluye caracteres especiales que se deben escapar cuando se convierten en una dirección URL, como un espacio o una barra diagonal, asegúrese de que la casilla de verificación Codificar automáticamente el resultado de Arcade esté activada.
  6. Si lo desea, active la casilla de verificación Abrir en nuevo navegador para abrir la página web o la aplicación web en una nueva ventana del navegador cuando el paso se ejecute en la aplicación web Workflow Manager.
  7. Click the Options tab.
  8. Configure Step Options as necessary.
    • Manual—Run the step manually.
      • Optional—Allow the step to be finished without being run.
    • Automatic—Run the step as soon as it becomes active.
      Nota:

      If your workflow diagram is configured to automatically run a sequence of steps that includes the Evaluate Data Quality or the Run GP Service step, steps that attempt to run after the user token that started the sequence of steps expires will not run automatically. You must have a license for the ArcGIS Workflow Manager Server Advanced role to continue running additional automated steps without manual intervention.

    • Run on a Schedule—Run the step according to a schedule you set.

      Learn more about scheduling options

  9. Optionally, provide help text for the step in the Step Help text box.

    You can also use ArcGIS Arcade expressions to provide a dynamic value for the step help. If the step help contains plain text and Arcade expressions, you'll need to format the text as follows:

    
    'For further assistance, please contact ' + JobCreator($Job) + '.'

  10. Optionally, click the Style tab to change the shape and color of the step.
  11. Optionally, click the About tab and provide a description for the step in the Step Description text box.
    Sugerencia:

    The About tab also contains the step's ID that can be used with dynamic job properties to obtain a step's output. Click Copy Step ID Copy Step ID to copy the step ID to your clipboard.

Return value

When the step is completed, its return value is stored to indicate the result of the step. The return value can be immediately evaluated using paths to determine the next steps in the workflow. You can also retrieve the return value for completed steps throughout the workflow using ArcGIS Arcade expressions. The following table lists the step's return values:

Return valueDescription

S000001

The step completed successfully.

F000001

The step failed to complete successfully.

Valor de salida

When the step is completed, its output value is stored and can be used to determine the path the workflow follows or can be used as inputs for other steps throughout the workflow. The following table shows the step's output value:

SalidaDescripción

<URL>

Devuelve la dirección URL de la página web o aplicación web abierta.

Temas relacionados