Skip to main content

Verwendung von Alteryx One-Makros in Designer-Workflows

Insert Alteryx One macros, which are macros saved in your Alteryx One Library into Designer workflows. Designer references the selected macro in Alteryx One instead of relying on its local file path. This reference helps the workflow use the same macro across supported environments.

Bevor Sie beginnen

  • Stellen Sie sicher, dass Sie online sind und Designer auf das Internet zugreifen kann.

  • Sign in to the Alteryx One workspace that contains the macro.

  • Stellen Sie sicher, dass Sie Zugriff auf das Makro haben.

Your active workspace determines which Alteryx One Library Designer uses.

„Makro aus Alteryx One einfügen“

Wichtig

To insert an Alteryx One macro into a workflow, Designer must be in Classic View. This option is not yet available in Modern View.

If you have Designer macros in your Alteryx One Library, you can insert them into a Designer workflow from the canvas.

  1. In Designer, right-click an empty area of the workflow canvas.

  2. Wählen Sie Einfügen > Makro > In Alteryx One durchsuchen aus. Alle Alteryx One-Makros, die bereits in Designer geöffnet sind, erkennen Sie an einem Wolkensymbol.

  3. Suchen Sie im Makro-Browser ein Makro und wählen Sie es aus. Mit den verfügbaren Filteroptionen können Sie die Liste eingrenzen:

    • Select from All, Owned by Me, and Shared with Me.

    • Verwenden Sie das Filter-Symbol (Trichter), um Makros anhand dieser Kategorien anzuzeigen:

      • Besitzer: Makros anzeigen, die bestimmte Benutzer erstellt haben.

      • Shared With: Show macros shared with specific users.

      • Tag: Show macros with specific tags applied.

      • Erstellt von: Makros anzeigen, die bestimmte Benutzer erstellt haben.

  4. Verwenden Sie die Dropdown-Liste in der Spalte Version, um die zu verwendende Version auszuwählen:

    • Select a numbered version to keep the workflow linked to that version.

    • (Default) Select Always Use Latest Version to always use the latest available version. At runtime, the workflow uses the latest version available in the Alteryx One library. The version is selected when workflow execution first reaches the macro and remains fixed for the rest of that workflow execution. This option does not limit selection to published versions.

  5. Select Insert.

Designer adds the macro to the canvas and stores its Alteryx One asset reference and version selection in the workflow.

A cloud icon indicates open macros in Designer that were opened from Alteryx One. You can also insert one of these open macros from Insert > Macro.

Wichtig

Alteryx One macros are currently not available in the Designer tool palette. To use Alteryx One macros in Designer, add them to your workflow with the right-click Insert option.

Makroversion ändern

  1. Klicken Sie mit der rechten Maustaste auf das Makro im Canvas.

  2. „Makroversion auswählen“ auswählen.

  3. Select a numbered version or Always Use Latest Version (if you always want to use the latest available version).

If you select Always Use Latest Version, the workflow can use a newer macro version when one becomes available. Review the workflow after the macro owner publishes an update.

„Referenziertes Makro öffnen“

Double-click an Alteryx One macro on the canvas to open it in a new Designer tab. You can also right-click the macro and select Open Macro.

Designer retrieves the selected macro version from Alteryx One. If Designer is offline, it can open the macro only when that version remains available in the local cache.

„Offline arbeiten“

Wenn Designer offline ist, ist nur Einfügen > Makro > Lokal durchsuchen verfügbar und öffnet den lokalen Dateibrowser. Sie können eine lokale YXMC-Datei einfügen, aber die Alteryx One Library nicht durchsuchen.

Ein bereits im Workflow vorhandenes cloudgehostetes Makro bleibt möglicherweise im lokalen Cache verfügbar. Designer zeigt einen Fehler an, wenn es das referenzierte Makro nicht abrufen kann.

Workflow speichern oder als Workflow-Paket speichern

Workspace Execution

Um ein Designer-Workflow-Paket (YXZP) auszuführen, das auf ein in Ihrer Alteryx One Library gespeichertes Makro verweist, muss Ihre Workspace Execution – Engine-Version 2026.3 oder neuer sein.

Designer behält Alteryx One-Makroreferenzen bei, wenn Sie den Workflow als YXZP-Datei in Alteryx One speichern.

When you save a workflow package as a YXZP file in Designer via File > Save As > Alteryx One:

  • In der Cloud gehostete Makros sind standardmäßig ausgewählt und werden unter Abhängigkeiten verwalten als Referenziertes Cloud-Makro angezeigt. Das Paket behält seine Alteryx One-Referenzen bei. Das Makro erscheint beispielsweise als „Cloud-Makro“ mit dem Speicherort Alteryx One Library\MyMacro.

  • To package Alteryx One macro with your workflow, select Include as a copy from the macro's three-dot menu. This includes an independent copy* of the Alteryx One macro in the package (indicated by "Macro Copy" in the Dependencies list).

  • Make sure users and workspace execution environments can access any macro that remains referenced from Alteryx One.

  • Um den Verweis auf das Makro in Alteryx One wiederherzustellen, wählen Sie im Dreipunktmenü Referenziertes Cloud-Makro aus.

„Makrokopie“

*If you select Include as a copy, the workflow uses the copy of the macro included in the package. Future updates to the original Alteryx One macro won't be reflected in your workflow. To use the original macro again, select Referenced Cloud Macro from the three-dot menu.

When a workflow includes a referenced macro, and you save it to Server, the macro is always included as a copy. Future updates to the original Alteryx One macro won’t be reflected in the workflow.

Lokale Makros: Wenn Ihr Workflow auch Makros verwendet, die auf Ihrem Computer gespeichert sind, wird unter Abhängigkeiten verwalten eine Warnung angezeigt. Wählen Sie Alle hochladen aus, um sie in Ihre Alteryx One Library hochzuladen. Der Workflow verweist dann auf die hochgeladenen Makros. Gehen Sie zu Abhängigkeiten für Workspace Execution verwalten.

You can include a Designer macro as a dependency in a workflow package (.yxzp), but you can't save a package with a Designer macro as it primary asset. Designer displays an error message if you try.

Go to Workflow Management for information about saving workflows and managing package dependencies.