Sharepoint WSP解决方案和页面URL [英] Sharepoint WSP Solutions and page URL's

查看:136
本文介绍了Sharepoint WSP解决方案和页面URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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…

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

当我在共享点Web应用程序中浏览到该文件时,您会看到我创建的aspx文件.

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

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

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

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

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

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".然后,为特定的SharePoint网站激活功能将导致您的文件被部署为该网站中的页面.

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.

名为如何:提供文件的MSDN页面涵盖了我认为这种情况.

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

这篇关于Sharepoint WSP解决方案和页面URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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