Skip to main content
Nintex Community Menu Bar

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

  • Mar 13, 2017 12:06 PM UTC
  • 4 replies
  • 24 views
  • Translate All

Forum|alt.badge.img+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

Forum|alt.badge.img+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

Translate

Forum|alt.badge.img+14
  • Scholar
  • Mar 13, 2017 1:41 PM UTC

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

Translate

Forum|alt.badge.img+3
  • Author
  • Mar 13, 2017 6:33 PM UTC

Thank you Chaitra, I will give it a try.

Translate

Forum|alt.badge.img+3
  • Author
  • Mar 13, 2017 6:34 PM UTC

Thank you Marian!

Translate