Posts

Showing posts from July, 2021

Nintex Workflow publish error: System.CodeDom.CodeTypeReferenceExpression is not marked as authorized in the application configuration file

Image
When publishing the Nintex Workflow on SharePoint On-prem, we might get following error: soap:ServerServer was unable to process request. ---> Failed to publish workflow: <Error><CompilerError Line="-1" Column="-1" Text="Type System.CodeDom.CodeTypeReferenceExpression is not marked as authorized in the application configuration file." Solution: As per the Microsoft Docs, below is the solution: Workflow Foundation (WF) will only run workflows when all the dependent types and assemblies are authorized in the .NET config file (or added explicitly via code) under this tree: <configuration> <System.Workflow.ComponentModel.WorkflowCompiler> <authorizedTypes> <targetFx> However, after the update, the following lines are necessary for SharePoint 2013 and beyond: <authorizedType Assembly="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" NameSpace=

SharePoint site collection backup restore with Nintex Forms and Nintex workflows

If you are using the Microsoft SharePoint on-prem with Nintex Forms and Nintex Workflows, there might be a question on how to move the site with forms and workflows to Client environment Or from dev/test/staging environment to the test/production environment. Here are some of the ways and highlights which i hope will help you. If you are planning to move only the Lists- which are having Nintex Forms, then there are few aspects to be considered: If you have only few lists, then you can use List template (.stp) and restore it on the destination environment. This will also have the Nintex forms along with it. However, if you have many Lookup columns in your List, then once you create the List using List template, the lookup column references will be lost. you need to delete all lookup columns and re-create. Moving Nintex forms for already created lists, You can export the Nintex Form xml file and restore it. If you want to move the Workflows, then export the Nintex workflow files (.nwf) f