This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.

Issue

When using the "Targeted Release for selected users" option in O365, accessing the K2 App / Artifacts page doesn't load and an error appears: "Invalid URI: The format of the URI could not be determined."

https://docs.microsoft.com/en-gb/office365/admin/manage/release-options-in-office-365?redirectSourcePath=%252fen-us%252farticle%252fSet-up-the-Standard-or-Targeted-release-options-in-Office-365-3B3ADFA4-1777-4FF0-B606-FB8732101F47&view=o365-worldwide

Accessing the K2 Application from the Modern View ribbon bar in Sharepoint might not load.

Invalid URI: The format of the URI could not be determined

Image

Symptoms

When using the "Targeted Release for selected users" option in O365 accessing the K2 App / Artifacts page doesn't load - Invalid URI: The format of the URI could not be determined.

Resolution

Based on the Design Microsoft implements between Classic SP and Modern SP, the implementation of the Ribbon Action bar for Classic SP has been changed to a Command bar in Modern SP, and as K2's SharePoint App uses the Action bar technology to expose Ribbon bar Actions with custom Scripts, those Custom Actions are not supported by the new Modern SP Command bar technology, as MS states for these cases that Classic SP needs to be used to make use of the Actions.

The following article from MS outlines features which will not be supported between classic and modern views:

https://support.office.com/en-us/article/differences-between-the-new-and-classic-experiences-for-lists-and-libraries-30e1aab0-a5cc-4363-b7f2-09e2ae07d4dc

Please use one of these workarounds:

1. Switch to Classic Sharepoint:

Image

2.Remove your account from the "Target release for selected users" list in O365 portal.

We are currently looking into supporting this in the future!