Get Eul Excel Template
Zuletzt geändert: 24.05.2026 08:59

Übersicht

Get-EulExcelTemplate #

ÜBERSICHT #

Liest gespeicherte Excel-Templates aus der EULANDA-SQL-Registry.

SYNTAX #

Get-EulExcelTemplate [-Conn] <__ComObject> [[-Table] <string>] [[-Name] <string>]
    [<CommonParameters>]

BESCHREIBUNG #

Pendant zu Save-EulExcelTemplate. Liefert je nach Aufruf:

  • Ohne Parameter: alle Templates aller Tabellen.
  • Nur -Table: alle Templates dieser Tabelle.
  • -Table und -Name: genau ein Template.

Speicherort: \USER\.ALLUSER\PlugIn\EulandaXcel\Templates\<Table>\<Name>\ in der SQL-Registry.

PARAMETER #

-Conn #

Type: __ComObject

Offene ADODB-Verbindung. Caller-owns-Connection.

-Table #

Type: string

Filter auf Tabellenname (optional).

-Name #

Type: string

Template-Name (optional). Setzt -Table voraus.

AUSGABEN #

[PSCustomObject[]] - je Template ein Objekt mit Eigenschaften:

Table (string) Name (string) Description (string) Columns (string[]) Where (string) OrderBy (string) Top (int) IncludeBreadcrumbs (bool) BreadcrumbColumnName (string) KeyColumns (string[]) Mode (string) Language (string) StripHtml (bool) NoAutoSize (bool) WorksheetName (string) SupplierMatch (string) - Adresse.Match des Lieferanten (sprechend, über Mandanten portabel) AutoCreate (bool) MatchStrategy (string[]) BarcodeColumn (string) RecalcEkFromRabatt (bool) SupplierPriceColumns (string[]) IgnoreFieldsOnUpdate (string[]) Type (string) - ‘Export’ / ‘Import’ / '’

BEISPIELE #

# Alle Templates auflisten
Get-EulExcelTemplate -Conn $conn |
  Select-Object Table, Name, Description | Format-Table
# Konkretes Template anwenden
$t = Get-EulExcelTemplate -Conn $conn -Table 'Artikel' -Name 'Standard'
Export-EulToExcel -Conn $conn -Table $t.Table -Path 'out.xlsx' `
  -Columns $t.Columns -Where $t.Where -OrderBy $t.OrderBy `
  -Top $t.Top -IncludeBreadcrumbs:$t.IncludeBreadcrumbs

HINWEISE #

Phase 4 Tier 3 – Vorlagen-Verwaltung für Excel-Pipeline.