Is there a way to for a web service call to query another site?


Badge +3

I am using UserGroup.asmx (GetGroupCollectionFromWeb and GetUserCollectionFromGroup methods) to gather information about users and groups.  Currently I'm running this at the site level for each site.  I'd like to be able to run it as the site collection level, querying each of the subsites.

I saw how to do this with a Query List action.  Is it possible with a Call Web Service action? 

Thank you.

Wendy


4 replies

Badge +8

Yes, Call Web Service action can be used to query from another site. By passing the another site URL in the URL* field, if it is valid then on click on Refresh button it will return the Web methods.

200772_pastedImage_1.png

Userlevel 5
Badge +14

sure, it's possible.

you just will need to identify all the (sub)sites on your own. once you have a (sub)site URL update it to webservice endpoint URL and save to a variable.

then reference that variable in webservice's URL field

Badge +3

Thank you Chaitra, I will give it a try.

Badge +3

Thank you Marian!

Reply