Documentation
Install UltimateHtmlViewer
Build and deploy the UniversalHtmlViewer SPFx package.
Build the package from the repository:
.\scripts\Build-UHV.ps1
Deploy it to a tenant or site app catalog using placeholder tenant values:
.\scripts\Deploy-UHV-Wrapper.ps1 `
-AppCatalogUrl 'https://<tenant>.sharepoint.com/sites/appcatalog' `
-Scope Tenant `
-DeviceLogin `
-ClientId '<client-guid>' `
-Tenant '<tenant>.onmicrosoft.com' `
-TenantAdminUrl 'https://<tenant>-admin.sharepoint.com'
The generated .sppkg is an SPFx package and must be approved through the normal SharePoint app catalog process.