使用Javascript获取Web应用程序下的站点列表 [英] Get a list of sites under the Web Application using Javascript

查看:60
本文介绍了使用Javascript获取Web应用程序下的站点列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道我如何使用JavaScript查询Web根目录(site.domain.com)并返回所有子站点的列表吗?看来以前曾问过这种类型的问题,但我看不出专门针对网络根目录的任何结果.谢谢 提前. -JC

Does anyone know how I can use JavaScript to query the web root (site.domain.com) and return a list of all the sub sites?  It looks like this type of question was asked before, but I don't see any result specifically to the web root.  Thanks in advance. -JC

SP  2013前提条件

SP 2013 On premise

推荐答案

嗨约瑟夫,

这是您的答案:

https://sharepoint.stackexchange.com /questions/171053/list-all-subsites-with-rest-api

https://sharepoint.stackexchange. com/questions/92589/retrieving-subsites-from-parent-web-using-rest


select = ServerRelativeUrl,Title"
select=ServerRelativeUrl,Title"


这篇关于使用Javascript获取Web应用程序下的站点列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆