Symptoms
We've migrated K2 artifacts from dev to production with the K2 PandD tool.
The primary developer of the K2 stuff, can't open the K2 designer from inside a SharePoint list/library on the site. She is getting an error pasted below. I don't have any issue doing the tasks she is trying to do. So I am thinking it's some kind of permissions thing...
We are both in the SharePoint site collection Owners group. K2 permissions are setup for this group to be granted "Solution Designer" permissions from the permissions page. The synchronize groups has been run without effect. I also made her an admin and granted export rights under the WorkflowServer node. I haven't yet tinkered with other settings.
Error: displayed in a dialog after clicking on the K2 App button in the library/list
The following location might be invalid. Continue to "/ArtifactPage/ArtifactPage.aspx?isdoclib=trueandsplistid={AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA}andspuser=i:0#.w|denallixcodiandsource=https://portal.denallix.com/apps/Approval/DocumentLibrary/Forms/AllItems.aspxandspoffice365=falseandsplistinternalname=DocumentLibraryandspsitename=Approvalandsettingid=0866beab-6f22-4f6c-b1ab-a4a85bf99e27andspsiteurl=https://portal.denallix.com/apps/Approvalandcategoryid=282"?
Diagnoses
From the trace, it would appear that perhaps user 'K2:DENALLIXCodi' is not able to retrieve the 'Smartforms Designer URL' environment field and as such the browser was not able to build and redirect to 'https://portal.denallix.com/Designer/ArtifactPage/ArtifactPages.aspx'.
Is permissions perhaps configured on the:
- Template level eK2 Workspace > Management > (server:port) > Environment Library > Templates > Default Template]
or
- default environment level eK2 Workspace > Management > (server:port) > Environment Library > Templates > Default Template > Environments > (currentDefaultEnvironment)]
Please try explicitly granting 'K2:DENALLIXCodi' access to these levels if applicable, have this user clear the browser's cache, and re-test.
Resolution
Granting this user rights to the default environment library resolved the issue.