# What's New: UCC Site Creator 8.4.1.9 → 8.4.2.1

This document covers all changes introduced between the last public release (8.4.1.9)
and the current release (8.4.2.1). Version 8.4.2.0 was an internal milestone and was
never released publicly; its changes are included here.

---

## Updated SPFx Dashboard Package (8.4.2.1)

The bundled `ucc-dashboard-spfx.sppkg` has been updated to version 8.4.2.1.
Deploy the new package using `Deploy-UccDashboard.ps1`, then update existing sites
using `Modernize-UccSite.ps1 -UpdateAppOnly`.

### Fixes

- Fixed an issue where users were unable to view connected questions. Attempting to switch to the parent question previously resulted in an error.
- Resolved an issue where the Call Recording value on the dashboard showed as disabled even when audio recording was enabled.
- Corrected a misleading delete confirmation pop-up when removing an IVR question, which previously suggested that the entire IVR would be deleted rather than a single item.
- Restored version history and "modified by" visibility for list and library items, enabling users to track changes over time.
- Fixed an issue where recordings in subfolders could not be opened in the recording list.
- Resolved an issue where outbound dialer entries were not populating date and time correctly; a date and time picker has now been added.
- Fixed an issue where saving a skill on the modality endpoint did not persist or display correctly.
- Resolved an issue where multiple-line plugin settings were not displayed correctly in the plugin settings.
- Fixed an issue where skills were not fully visible in availability-related dropdowns (previously limited to 100 items).
- Fixed multiple issues with Holidays, primarily caused by incorrect handling of time zones.
- Fixed an issue where the audio file title could not be saved after creation.

### Improvements

- Enhanced the Business Hours Dashboard, now correctly displaying time when using morning and afternoon shift configurations.
- Improved filtering functionality by adding a search box to the filter dropdown for list columns (now aligned with library column filtering).
- Added support for navigating directly to alternate Business Hours and Holiday lists, including a new script parameter that enables creation and access via menu items.
- Added a horizontal scrollbar at the top of each list for improved usability.
- Introduced spreadsheet view, allowing users to edit multiple items, copy/paste from Excel, and work more efficiently in bulk.
- Enabled inline editing for lists to simplify quick updates.
- Added functionality to delete multiple entries in lists and libraries at once.
- Improved the Voicemail list by restoring missing columns (e.g., Delivered, Retry, Processed, Hunt Skill) and enabling editing of relevant fields in the pop-up.

### Changes

- Renamed the "Active" column in the agents list to "Presence Error" for improved clarity.

---

## New: MicrosoftTeamsEndpoint Content Type

A new content type `MicrosoftTeamsEndpoint` is now provisioned on the **Endpoints** list.

### What it does

- Created as a site-level content type in the `AnywhereNow` group
- Added to the Endpoints list and visible on the **New** button
- Field links:
  - `TeamsEndpoint` — required
  - `DisplayName`, `DisplayNumber`, `Hide` — optional
  - `Title` — hidden on the New/Edit form
- `DisplayName`, `DisplayNumber`, and `TeamsEndpoint` removed from the `ModalityEndpoint`
  content type field links to avoid duplication

### How it is applied

Automatically applied by `SchemaUpdates.ps1` on any existing site via:

```powershell
.\Modernize-UccSite.ps1 -SiteUrl "..." -Mode Modernize -SchemaOnly -Force ...
```

New sites receive it automatically during provisioning.

---

## New: `-SchemaOnly` Switch

**Available on:** `Modernize-UccSite.ps1`, `Batch-ModernizeUccSites.ps1`

Skips page recreation and SPFx app update entirely. Only runs schema updates
(new columns, content types) and updates the Version list entry.

**Estimated time:** ~10 seconds per site (vs ~2 minutes for full modernization)

**Use when:** Deploying list schema changes to a large number of already-modernized
sites with minimal disruption.

```powershell
.\Modernize-UccSite.ps1 `
    -SiteUrl "https://contoso.sharepoint.com/sites/ucc/subsite1" `
    -Mode Modernize -SchemaOnly -Force `
    -ClientId "..." -CertificatePath ".\cert.pfx" -Tenant "contoso.onmicrosoft.com"
```

---

## New: `-UpdateAppOnly` Switch

**Available on:** `Modernize-UccSite.ps1`, `Batch-ModernizeUccSites.ps1`

Skips page recreation. Updates the SPFx app installation and runs schema updates.

**Estimated time:** ~20–30 seconds per site

**Use when:** A new SPFx package version has been deployed to the tenant/site collection
app catalog and you want to update app installations across existing sites without
recreating the Home.aspx page.

```powershell
.\Modernize-UccSite.ps1 `
    -SiteUrl "https://contoso.sharepoint.com/sites/ucc/subsite1" `
    -Mode Modernize -UpdateAppOnly -Force `
    -ClientId "..." -CertificatePath ".\cert.pfx" -Tenant "contoso.onmicrosoft.com"
```

---

## New: Voicemails Library — Hunt Skill Column

The `Voicemails` document library now receives a `Hunt Skill` column
(`wsp_ucc_vmd_hunt_skill`, single line of text, not required) via the schema updater.

This column was present in reference deployments but missing from the provisioning
scripts. It is added automatically to existing sites by `SchemaUpdates.ps1` and
included in the `AllItems` view.

---

## Bug Fix: Hide Column Default Value on Endpoints List

The `Hide` column (`wsp_ucc_endpoints_hide`) on the **Endpoints** list had an
incorrect default value of `Yes` (1). It is now correctly provisioned with a
default of `No` (0), matching the reference site configuration.

---

## Upgrade Path from 8.4.1.9

### New sites
No action required — run `UCC.Site.Creator.ps1` as normal. All changes are included.

### Existing sites — recommended sequence

**Step 1:** Deploy the new SPFx package to the tenant app catalog:
```powershell
.\Deploy-UccDashboard.ps1 -TenantUrl "https://contoso.sharepoint.com" ...
```

**Step 2:** Update all existing UCC sites:
```powershell
.\Batch-ModernizeUccSites.ps1 -InputCsv ".\UccSites.csv" -Mode Modernize -UpdateAppOnly -Force ...
```

Or for a single site:
```powershell
.\Modernize-UccSite.ps1 -SiteUrl "..." -Mode Modernize -UpdateAppOnly -Force ...
```

This applies the new SPFx version, the `MicrosoftTeamsEndpoint` CT, and the
`Hunt Skill` column to all sites in one pass.
