Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Multivalue Property

  Asked By: Aurelio    Date: Nov 05    Category: Sharepoint    Views: 1024

Is it possible to have a multivalue property for a document that would
contain one or more string values? I would like to store several GUID
strings representing geospatial features that are associated with the
document. The idea would be to query for documents that have a certain
GUID contained in its multivalue property.

Share: 

 

3 Answers Found

 
Answer #1    Answered By: Kalyan Pujari     Answered On: Nov 05

How about just concantenating them together?
{3F2504E0-4F89-11D3-9A0C-0305E82C3301}{AR894E0-3F89-22D3-9A0C-0305E82C33
01}{BB2504E0-6F89-44D3-7A0C-G905E82C33G2}

 
Answer #2    Answered By: Jagdish Joshi     Answered On: Nov 05

Excellent idea; the simpler the better! Do you know of any
limitations as to the string  maximum? Even if it was in the 32K
range, that's quite a few GUID's you could pack into it. I imagine
you're suggestion to concatenate the GUID's together is based on the
capability that Sharepoint could search a string property  to see if
it contains a substring (in this case a specific GUID)? Do you have
any guesses as to the performance of such a query?

 
Answer #3    Answered By: Shara Johnson     Answered On: Nov 05

I believe that properties in a Document Library are limited to 255
characters.

JavaScript has an indexOf function that is quite performant.

 
Didn't find what you were looking for? Find more on Multivalue Property Or get search suggestion and latest updates.




Tagged: