Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Multivalue Property

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

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.



3 Answers Found

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

How about just concantenating them together?

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

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.