Sharepoint WSP 解决方案和页面 URL

发布于 2024-07-21 16:15:36 字数 765 浏览 1 评论 0 原文

我一直在研究 wsp 解决方案,并且出现了一个问题,即如何从 sharepoint Web 应用程序中访问位于文件系统上的 aspx 文件。 例如,这是我的 Visual Studio 资源管理器视图...

替代文本 http://abbeylegal.com /downloads/alp%20solution%20image.jpg

您可以看到我创建的 aspx 文件,当我在我的 sharepoint Web 应用程序中浏览到此文件时,URL 为

http://example.org/alplogin.aspx

如果我希望通过更深层次的 URL 访问此网页该怎么办...

例如 http://example.org/adminstration/servererrrors/alplogin.aspx

我需要创建这些虚拟文件夹吗我的 Visual Studio 解决方案可以一对一映射到我想要的更深层次的共享点 Web 应用程序 URL?

I’ve been playing about with wsp solutions and a question has occurred to me about how to access an aspx file that is located on the file system from within the sharepoint web application. For instance, here is my visual studio explorer view…

alt text http://abbeylegal.com/downloads/alp%20solution%20image.jpg

You can see the aspx file I’ve created, when I browse to this file in my sharepoint web application the URL is

http://example.org/alplogin.aspx

What if I wanted this web page to be accessed through a deeper URL…

e.g. http://example.org/adminstration/servererrrors/alplogin.aspx

Would I need to create these dummy folders with my visual studio solution to get a one to one mapping to the deeper sharepoint web application URL I want?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

盛夏已如深秋| 2024-07-28 16:15:36

功能元素清单中的“module”元素应该对此进行描述。 另外,如果您希望将文件部署得“更深”,您可能需要确保您的功能范围为“Web”。 然后,激活特定 SharePoint 站点的功能将导致您的文件被部署为该站点内的页面。

名为如何:配置文件的 MSDN 页面涵盖了这种情况,我认为。

The "module" element in your feature's element manifest should describe this. Also, if you want your files to be deployed "deeper," you probably want to make sure your feature is scoped as "Web". Then, activating your feature for a specific SharePoint site will cause your file to be deployed as a page within that site.

The MSDN page called How to: Provision a file covers this scenario, I think.

痴梦一场 2024-07-28 16:15:36

检查您的 elements.xml 文件。 您可以在其中指定部署 aspx 页面的位置。

Check your elements.xml file. There you can specify where to deploy the aspx page.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文