What are benefit of 'Data View' over CAML query?
What are benefit of 'Data View' over CAML Query?
August 21st, 2015 12:13am

Hi,

A Data View is a live, customizable view of a data source that leverages Microsoft ASP.NET technology. SharePoint Designer 2010 retrieves data from a data source in the form of Extensible Markup Language (XML) and displays that data by using Extensible Stylesheet Language Transformations (XSLTs):

https://support.office.com/en-au/article/Create-data-views-in-SharePoint-Designer-d449aca7-547c-4b8e-b970-1993d2b3ed41

You can operate a Data View with the help of the WYSIWYG tools in SharePoint Designer without have to learn about XSL language.

The Query schema of Collaborative Application Markup Language (CAML) is used in various ways within the context of Microsoft SharePoint Foundation to define queries against list data. For example, you can assign CAML query strings to the Query property of several classes in the server and client object models in order to return data, or to method parameters of the Lists web service to work remotely with data. CAML queries are also used in the context of CAML views to return specific data:

https://msdn.microsoft.com/en-us/library/office/ms467521.aspx

It would require developers to master one or more programming languages in order to work with CAML Query.

You will need to make a choice according to the actual scenario.

Thanks
Free Windows Admin Tool Kit Click here and download it now
August 24th, 2015 2:59am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics