Troubleshooting Teams - setting validDomains

If Content Manager specifies a URL for the Web Client then the Teams integration will include this in the tab links when adding the integration to a channel. If the full web domain is not specified in the Teams integration manifest that was uploaded to install the integration then the process of adding a tab to a channel will fail.

Read More

Troubleshooting Teams / OpenID Connect server connections

A vital element of the Content Manager Teams integration is the ServiceAPI Azure AD authentication setup. For the authentication to work it is essential that the ServiceAPI server be able to communicate with AzureAD, which may require web proxy configuration, adding the server to a white list or some other network configuration. If the server is unable to communicate to Azure AD you may get some confusing errors in the ServiceAPI logs. The PowerShell script below mimics the code used by the ServiceAPI when it first connects to the ServiceAPI allowing you to verify that the basic requirement of connectivity is met before proceeding to other troubleshooting.

Read More

Partial file download

I was asked recently about downloading files from the ServiceAPI using the Content-Range header to support chunked downloads. I was sure that this was supported but it was not working. After some hours of digging I found a problem that caused normal document downloads to ont recognize Content-Range, oddly enough the service to return multiple documents as a zip was working.

Read More

Form Definitions

For anyone wanting to build a user interface in Content Manager the FormDefinition class is essential. Some of the object types allow a form defintionto be created from a the FormDefintion contructor for new or existing objects. For records might also choose to use the RecordType.RecordPropertiesFormDefinition property.

Read More

Documentation updates

Microsoft made some big updates to the Azure Powershell CLI which necessitated changes to the zero footprint office setup script. For those staying on with the older version of the CLI we have retained the older setup script, both can be found in the documentation. We have filled one of the gaps in our documentation with a new document on how to configure ADFS OpenID for native Content Manager, once again see the documentation.

Read More

Teams and Office Installer

As at the date of my publishing this post Content Manage 10.1 is still to be released but those in the beta program will have access to a preview in the near future. To assist in installing the zero footprint Office and Teams integrations there is a powershell script to create the Azure AD app and the related Office365 manifests. In the video below I demonstrate using this script.

Read More

Object Notifier

The Object Notifier is an event based system to notify you when objects in Content Manager have changed, it can be used in a ServiceAPI application to proactively update your UI to refleect changes in the data, this sample implements the Object Notifier in the WebDrawer Record search results.

Read More

Sample OpenAPI Definition File

The swagger definition file that is auto-generated by the ServiceAPI swagger UI is not particularly useful due to its large size and complexity, in fact it often causes swagger tools to crash. For this reason it is better to handcraft an OpenAPI definition file to respresent the portions of the ServiceAPI you need. The sample is in the samples repo, the following video is a run through of making a change to the file and generating test code.

Read More

Zero Footprint Office Integration in CM10

The Content Manager 10 zero footprint office integration is made up of several components. The two videos here demonstrate configuring Azure AD and uploading the Office manifest. In the video I refer to is as the Word manifest but it is the manifest to support Word, Excel and PowerPoint. The first video finishes with the manifest uploaded but not working, in the second video I show the mistakes I made and also the techniques I used to troubleshoot them.

Read More

OpenId for Content Manager 10 in AzureAD

In Content Manager 10 a new OpenId authentication module was added to CM web service applications (Web Client, ServiceAPI and WebDrawer). This module supports authentication for Azure AD, ADFS and Google. Instructions for configuring this can be found in the SDK documentation but if you would like to watch me funble my way through setting up OpenId for Azure AD you can do so in the below video.

Read More

OpenId for Content Manager 10 in ADFS

In Content Manager 10 a new OpenId authentication module was added to CM web service applications (Web Client, ServiceAPI and WebDrawer). This module supports authentication for Azure AD, ADFS and Google. Instructions for configuring this can be found in the SDK documentation but if you would like to watch me funble my way through setting up OpenId for ADFS you can do so in the below video.

Read More

Adding a link in a Power BI Report

How do we create a Content Manager report and link from it to the underlying data? Ideally I would like to be able to link from a chart but the best solution I can come up with is linking from a table. If you have a better solution let me know.

Read More

Web Service Nuget Package

For those who write .Net applications there is a new Nuget package and sample code to simplify the development process. The package contains both .Net 45 and standard assemblies so is of use in most .Net scenarios (e.g. native Windows, .Net Core, Xamarin).

Read More

The Polling endpoint

Logic apps triggers were discussed in a previous post, these triggers rely on the polling endpoint in the ServiceAPI. The polling endpoint is simply a special purpose search designed to support the request/response pattern used by triggers. This pattern expects a response containing records created or updated since the last request.

Read More

Displaying the properties of a Schedule in WebDrawer

At some point since CM 8.3 the method used to determine which properties to display on a page was changed to allow the hptrim.config file to determine which properties are displayed. One omission in this change was the default hptrim.config was not updated to specify which properties to display for a retention schedule. This post describes how to remedy that omission.

Read More