Skip to main content
I have a document lib with a lookup field called "Customer Name". When I try to use that field in the Blackpoint workflow, it adds characters to it. For example, for Customer "Test", Blackpoint renders it as "24;#Test". I thought maybe the 24 was the ID of "Test" in the list of customer names that it's looking up to, but it's not. Additionally, I can't get Smartobjects to work on this. What should I do?

I was able to parse the lookup value using a Reference Event:



  1. Add a Reference Event to an activity.
  2. Add a reference to the Microsoft.SharePoint.dll (c:program filescommon filesmicrosoft sharedinisapi)
  3. Select the Microsoft.SharePoint.SPFieldLookupValue constructor that takes a string value parameter
  4. Map the fieldValue parameter to the lookup field value (formatted as 1;#value)
  5. Assign the LookupValue property to a data field using the Retrieve Value, Execution = After
  6. The data field should now contain the value of the lookup field without the ID

Sorry no screen shots.


Reply