0

[Note: originally posted on MSDN]

Hey People,

I’m just working with a basic workflow in SharePoint Designer 2013 and trying to fetch the Enterprise Keywords column from the current item. But I keep getting an error:

System.InvalidCastException: The value ‘d/results(0)/Enterprise_x0020_Keywords’ cannot be read as type ‘String’. at Microsoft.Activities.GetDynamicValueProperty`1.CheckedRead(String propertyName, DynamicItem value) at Microsoft.Activities.GetDynamicValueProperty`1.Execute(CodeActivityContext context) at System.Activities.CodeActivity`1.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager

Currently I’m trying to assign it to a dictionary variable and I’ve also tried a string, with the same results.

Set Variable: dictChannelEnterpriseKeywords to Current Item:Enterprise Keywords

Anyone know how we’re supposed to handle Enterprise Keywords in workflow? Note: I don’t really want to drop into Visual Studio…

Thanks Craig

(Visited 78 times, 1 visits today)
Add a Comment