Partager via


Rules for the list name used with ListData.svc

The ListData.svc web service introduced with SharePoint 2010 offers a great option for querying a list to be consumed by JavaScript. The syntax is:

 https://<sharepoint-server>/_vti_bin/ListData.svc/<list-name>

Determining the correct list name may not be obvious and there are a number of rules of which you should be aware. To illustrate we will use an example list named today’s quote.

Use the display name (not the internal name).

image

Check your spelling – list name is case sensitive.

image

Well almost… The first letter of each word is always capitalized.

image

Make sure to remove all spaces.

image

Apostrophes are removed and the character following the apostrophe is capitalized.

image

Comments