Updated workflow to include CSV examples folder

This commit is contained in:
2026-03-17 11:03:23 +01:00
parent ab39e55194
commit 903fa17f8a
2 changed files with 7 additions and 11 deletions

View File

@@ -6057,16 +6057,12 @@ $btnVerOpen.Add_Click({
$btnVerRun.Add_Click({
# --- Gather all selected site URLs ---
$siteUrls = @()
if ($script:_CachedSites -and $script:_CachedSites.Count -gt 0) {
foreach ($s in $script:_CachedSites) {
if ($s.Checked) { $siteUrls += $s.Url }
}
}
if ($siteUrls.Count -eq 0) {
$single = $txtSiteUrl.Text.Trim()
if ($single) { $siteUrls = @($single) }
$siteUrls = if ($script:SelectedSites -and $script:SelectedSites.Count -gt 0) {
@($script:SelectedSites)
} else {
@($txtSiteURL.Text.Trim())
}
$siteUrls = @($siteUrls | Where-Object { $_ })
if ($siteUrls.Count -eq 0) { Write-Log "Site URL required." "Red"; return }
$clientId = $txtClientId.Text.Trim()