Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Visual Studio Workflow - LookupSPListItemId on a lookup field

$
0
0

Hello,

Im trying to setup a SharePoint 2013 Workflow in Visual Studio, but i'm stuck in one step.

I have to fetch the ID of a SPListItem on the basis of a lookup value. I have the lookupId to find.

I'm using the LookupSPListItemId Component, trying to get the Id of an item containing a specific value in a lookup column.

According to the screen :
- "Chaines de validation" is the pointed list.
- "Direction" is the target field. A lookup field. "EmbaucheDirection" is the internal name, Visual Studio added automatically "EmbaucheDirectionId" because i think it detetcs a Lookupfield Type.

I think the good value to pass through the PropertyValue field must be an integer, the lookupfieldId, but the field only accept a string.

So i'm stuck ! Targeting a simple text field is working. But i cant make working the LookupSPListItemId on a LookupField.

Please help me ! :)

Many thanks,

Sylvain




Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>