Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

Created Feature: Site Data Service support for GetURLSegments operation [10241]

$
0
0
From https://spservices.codeplex.com/discussions/532169#post1209033

Hi Marc...
This weekend I had the following use case: Get the List name (or ID) for a given List item using its URL. I found that the Site Data service has an operation do this, but does not look like you have it available in SPServices...

No trouble for me :)
I went ahead and created my own Utility to use it - Code here: https://gist.github.com/purtuga/9036747

Feel free to use what you like from it if you decide to add support for this operation into SPServices.. I have tested it in O365 with both SP2010 and SP2013 front ends... I will do some validation of it in SP2007 as well...

/Paul

Viewing all articles
Browse latest Browse all 6517

Trending Articles



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