Annotation for workflow activities
.NET Framework 4.5 allows the developer to add annotations to a workflow (see e.g. http://msdn.microsoft.com/en-us/library/hh305735.aspx). Will this be available in future versions of Workflow Designer?
-
Since this is just a feature of the .NET Framework version 4.5 you can actually enable this today, but you need to specifically opt in.
- Make sure you have .NET 4.5 installed on both the Essentials server and machine you use to run Workflow Designer.
- Edit the config file of your Workflow Designer (found here by default):
- C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\Workflow Designer\Geocortex.Workflow.Designer.exe.config
- Add the following app setting:
- <add key="gcx.workflow.designer.targetFramework45" value="true"/>
- Open Workflow Designer and you should be able to add annotations.
Please keep in mind that this will save your workflow .xaml files in a new format that can only be read on machines with 4.5 installed.
--Ryan
0 -
Hi Ryan
I am currently running Workflow Designer v2.18.0.96 and according to Add/Remove Programs section of the Control Panel .Net Framework 4.5 is installed (This is on the server that I am remoting to).
However after making the changes that you suggested there still does not appear to be a right click Add Annotation option (as described in Nico's link) in the WF Designer.
Did you have any further thoughts on how to get this working?
Thanks
Ralph Price
0 -
Thank you for your quick reaction, Ryan.
Same observation as Ralph: some new features are added, but no Add annotation command.
0 -
Hi Ryan
still no joy. This time I tried on our other server with a config file that has the contents of what is below.
There is nothing else that you have installed such as VS2012?
Thanks
Ralph
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<add key="gcx.io.applicationName" value="Geocortex Workflow Designer"/>
<add key="gcx.io.instanceName" value="Default"/>
<add key="gcx.workflow.designer.targetFramework45" value="true"/>
<!--<add key="gcx.io.fileSystem.path" value=""/>-->
</appSettings>
<connectionStrings>
</connectionStrings>
<system.diagnostics>
<trace>
<listeners>
<add name="gcx" type="Geocortex.Logging.LoggingTraceListener, Geocortex.Logging" />
</listeners>
</trace>
</system.diagnostics>
<!--
<system.net>
<mailSettings>
<smtp from="from@xxxxxx.com">
<network host="mail.xxxxxx.com" port="25" password="password" enableSsl="false" userName="user@xxxxxx.com" defaultCredentials="false"/>
</smtp>
</mailSettings>
</system.net>
-->
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="WindowsBase" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="mscorlib" publicKeyToken="b77a5c561934e089" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System" publicKeyToken="b77a5c561934e089" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>0 -
Very strange. Do other .NET 4.5 components appear, such as the Document Outline in the bottom right corner?
--Ryan
0 -
Yes
0
Please sign in to leave a comment.
Comments
6 comments