Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am uploading document programically and passing lookup field value but its not get updated, how to handle this?

share|improve this question
1  
Providing code might help isolate your problem –  PirateEric Feb 4 at 18:28
add comment

2 Answers

For a lookup column you must provide the ID of the item you are referring to.

Thus if the item being lookup has an ID of 3 you must provide that in the hashtable, with lookups to multiple items you must provide the ID and the value separeted by ;# e.g.: 1;#First Item;#3;#THirdItem.

share|improve this answer
add comment

You need have to update the SPList object...

share|improve this answer
    
it's not working buddy. –  MarsMan Nov 1 '11 at 6:15
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.