2

Closed

Expose Field Properties in an easy to use manner

description

Nice library! I have been using it for the last few days to great success. Recently I had a need to understand at a more detailed level what type of fields are being used (ex: know when a field is a link or a choice). This got me thinking about the caching roboCAML does on the list properties. I would like to propose something like this
 
roboCAML.getFieldProperties(listName, fieldName)
 
this would then return an object for the specific field (if in the cache it would return that value if not it would download, cache, and then return the data).
 
Thoughts?
Closed Jun 18, 2012 at 7:54 PM by iOnline247
These items have been tested and verified to work.

comments

iOnline247 wrote Jun 7, 2012 at 2:17 PM

Initially I'm thinking of opening up the GetList caching function and simply returning the whole object back as a result.

Would something like this work for you?

roboCAML.GetList("listName");

sample return { listProps: somethingAwesome }

You can then iterate or use "in" on the object to do whatever you want with it.

wrote Jun 7, 2012 at 2:18 PM

wrote Jun 7, 2012 at 2:18 PM

wrote Jun 18, 2012 at 6:47 PM

wrote Jun 18, 2012 at 7:49 PM

wrote Jun 18, 2012 at 7:54 PM

wrote Feb 13, 2013 at 6:22 PM

wrote May 16, 2013 at 2:43 AM