Tag Info

Hot answers tagged

7

There is a special element which is intended for use with multiple lookup fields: http://msdn.microsoft.com/en-us/library/ff630172.aspx Includes Element (Query) If the specified field is a Lookup field that allows multiple values, specifies that the Value element is included in the list item for the field that is specified by the FieldRef ...


3

Unfortunately, Patrick, I don't think there is a way around this with your current design. The only possible solution I could think of would be to make your categories field "Multiple Lines of Text" but then you lose your lookup ability. Since there are so many categories that are being applied to a document, I wonder if tagging would be a good approach ...


2

Update: I believe I answered 2 questions: the question in the title: "Can an InfoPath 2010 dropdown be populated by a SP List column with multiple choice values?" A: impossible in its original formulation "I have a list with a column that accepts multiple values (a "choice" type with checkboxes) and wish to display the same available choice options ...


2

I did not understand what is "multiple value lookup column from another field". I understood, also having consulted your previous question, that you want Multiple-Selection List Box on lookup field. It works for me. If you want help in particular problem, you should provide more details and in more clear terms how to reproduce it. Having created and ...


2

I'm hoping your question was for a multi-select choice field, where the entries are simply text, not referring items in another list. I was able to guess the answer from this microsoft article If you look under the ListItemCollection resource for "POST request example: Create list item" they show the following: method: "POST", body: "{ '__metadata': { ...


2

here's a code fragment that's similar but 'list.Items.Add() & item.Update()' are missing from your code SPList list = SPContext.Current.Web.Lists["testlist"]; SPListItem item = list.Items.Add(); SPFieldLookupValueCollection fieldValues = new SPFieldLookupValueCollection(); fieldValues.Add (new SPFieldLookupValue(1, "SomeValue1")); // add other ...


1

You can set a MultiValue Managed Metadata field by creating a TaxonomyFieldValueCollection and add this collection to the field by using the SetFieldValue method. First get the managed metadata field A possible way ( there are more ways ) to do this is to get the field by id $field = $item.Fields | ? {$_.Id -eq $fieldId} $tf = ...


1

OOB SharePoint 2010 does not have multi-value refiners. I know of a codeplex project with multi-value refiners but haven't tested it, but you might want to give it a shot. In short it splits the string, eg. red;yellow;blue, and look at it as seperate values. I can't see why this shouldn't work for BCS fields either. Here is a description of how to ...


1

I have met a similar requirement in the past with a term set. Allow users to set keywords on the documents and then show all documents with the keyword in the PageFieldValue. Note that this will only work with multi-value keywords if your CQWP selects from a single library - though you can use a single-value keyword from multiple libraries.


1

Your Query is right.. problem is something else.. I tried it in my environment it is working fine.. try it by using CAML Builder.. it will show you result of you query also.. <Where> <IsNull> <FieldRef Name='DestinationColumn' /> </IsNull> </Where>


1

Lookup fields (which user extends) supports AllowMultipleValues. Then you can do: var multi = field is SPFieldMultiChoice || (field is SPFieldLookup && (field as SPFieldLookup).AllowMultipleValues); Same for Taxonomy


1

The is no OOTB support for having multiple sources. Your options are: Merge List A and List B into one list with different content types Create a BDC model in Visual Studio getting it's data from the two list, create a External Content Type and external list based on that model


1

I would go for NO, not actually possible unless you build your own custom field to merge from 2 lists and display the Union/Intersection of values with appropriate storage of data. Even so, you would have to deal with storing the lookup value (ID#Value) combination which could also generate improper lookup due to duplicates. There is another way to merge ...



Only top voted, non community-wiki answers of a minimum length are eligible