The activity says that if you omit the Export Path, the UI Tree will be exported to the ExportedString Out Argument. However, this doesn’t seem to be accessible in any way. Another user suggested I enter a bug report:
This is a weird activity because for some reason they have set the ExportedString OutArgument to have the [Browsable(false)] tag. This stops the property from being displayed in the Properties window and since its not made available via the activity card its basically made very difficult to access.
Should you need to do it then you can by directly editing the xaml the activity is in.
For example if you have the following xaml code for the activity.
In this one you’ll see the ExportedString attribute is removed and a new node is added to specify that it is outputted to a variable called ‘test’. (Please note this is using a C# project, it should still work as is in a VB.Net project but you can also adjust the node to use the VB syntax.
This now works when you run the workflow to output the value.
I really have no clue why browsable was set to false. Seems like a bug with a very simple fix.