Project

UltimateHtmlViewer

SPFx web part for hosting HTML dashboards in modern SharePoint pages, with deep-link navigation, inline rendering, security controls, and deployment automation.

Stars13
Forks1
Open issues6
Releasev1.0.31.9
Language: TypeScript Updated: 2026-04-07T23:14:28.0000000+00:00

Curated Examples

Create a local deployment profile

Create a local-only profile for tenant deployment values.

This pattern is useful when you deploy repeatedly but do not want tenant values committed to source control.

It is adapted from scripts/examples/UHV.LocalProfile.example.ps1.

Example

Copy-Item .\scripts\examples\UHV.LocalProfile.example.ps1 .\ignore\UHV.LocalProfile.ps1
. .\ignore\UHV.LocalProfile.ps1

$env:UHV_CLIENT_ID = '<entra-app-client-id-guid>'
$env:UHV_TENANT = '<tenant>.onmicrosoft.com'

$Global:UhvAppCatalogUrl = 'https://<tenant>.sharepoint.com/sites/appcatalog'
$Global:UhvTenantAdminUrl = 'https://<tenant>-admin.sharepoint.com'
$Global:UhvSiteUrl = 'https://<tenant>.sharepoint.com/sites/Reports'

What this demonstrates

  • keeping tenant values in ignore/
  • using placeholders in public documentation
  • preparing values used by the deployment scripts

Source