Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Querystring and REST services

$
0
0

  Hi,

I have a custom list and visual webpart.

I am trying to use the REST services to fetch data from the custom list and showing it in various fields of visual webpart.

The  call to the webpart has a querystring variable. I am trying to get the data from the custom list based on this querystring.

Example: servername/sitename/_vti_bin/ListData.svc/CustomList is my current URL.

The call to visual webpart is like this: servername/sitename/sitepages/testpage?ItemID=01

If ItemID =01, then get the item which matches ItemID in the custom list.

How to change the REST url based on the querystring?

Thanks


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>