Tagged Questions
0
votes
1answer
19 views
Retrieve reference for list from Lookupfield
I have a sharepoint 2007 and in a document library eventhandler: in ItemUpdating, i would like to be able to retrieve the value by id's from lookupfield. So with other words i have to get the ...
0
votes
0answers
14 views
Retrieving the SPLookupFieldCollection with particular ID's
The situation is following:
I have this kind of string = 58;#value;#59;#value2;#60;#value3;....
So as you see this is just if i do:
SPFieldLookupValueCollection collection= new ...
0
votes
1answer
346 views
Modifying XSL for multi lookup field
I'm trying to create custom XSLT for a multi lookup field, based on this article.
When changing disable-output-escaping to yes I can see the html I want to modyify:
<a ...
3
votes
4answers
10k views
How to set ListItem Lookup Field value
How do I set a ListItem's Lookup field using code?
SPFile file = list.RootFolder.Files.Add(destUrl, iStream, true);
SPListItem item = file.Item;
item["DocumentID"] = DocID.ToString();
...