自定义Web部件未显示在所有Web应用程序上 [英] Custom Web Part Not Showing Up on all Web Application

查看:73
本文介绍了自定义Web部件未显示在所有Web应用程序上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Web部件未显示

好的,我对使用Sharepoint进行开发非常陌生,但可以学习.
在Visual Studioe中创建了一个简单的Web部件,以收集联系信息并将其通过电子邮件发送给我.我部署了它,它显示在我的一个Web应用程序(http://sharepointsite或http://www.sharepointsite.com)的可用Web部件中,但没有其他Web应用程序站点显示.
如何使通过Visual Studio部署到所有其他Web应用程序的任何自定义Web部件可用?

我的下一个任务是将该表单的内容保存在列表中,以便我们对其进行其他处理.任何方向将不胜感激.

PS:该表格的工作原理与填写信息并提交表格时一样,它会向我发送电子邮件.是的,我....(:

修改I:

我在Visual Studios中设置了项目,每条代码都可以在codeproject上找到-创建SharePoint的联系表单Web部件.

我使用Visual Studios 2008中的构建"菜单进行了部署.我假设它仅像Sharepoint一样部署到默认的Web应用程序站点,但我确实在默认站点Web部件库中看到了该Web部件,但没有看到其他任何站点. />
如何从VS部署到单个站点,或者如何部署到Sharepoint中的所有站点?我希望能够控制哪些站点获得哪些Web部件.

我能够将.wsp文件添加为解决方案-在服务器上使用stsadm.

我可以在我的默认站点下看到该Web部件,但是看不到另一个站点下的Web部件.

如何部署到其他站点?

在又一个聪明的@ $$告诉我接受培训之前-我已经拥有.现在,我正在尝试应用一些实用的工具,而我正在尝试使用codeproject寻求帮助.

Web Part Not Showing Up

OK, I''m pretty new to Developing in Sharepoint but learning.
Created a simply web part in Visual Studioe to collect contact information and email it to me. I deployed it and it shows up in my available web parts for one of my Web Applicaitons (http://sharepointsite or http://www.sharepointsite.com) but none of my other Web Application sites.

How do I make available any custom web part(s) I deploy through Visual Studios to all other web applications?

My next quest is to save the contents of this form in a list, so we can do other things to it. Any direction would be greatly appreciated.

PS: The form does work as when the information is filled out and the form is submitted it send me the email. Yeah, me.... (:

Modification I:

I setup the project in Visual Studios, per article found here on codeproject - Creating a Contact Form Web Part for SharePoint.

I deployed using the Build menu in Visual Studios 2008. I''m assuming it only deployed to the default Web Application Site as in Sharepoint I do see the web part in my default site Web Part Gallery, but not any other sites.

How can I deploy from VS to individual sites, or how to deploy to all sites in sharepoint? I would like to be able to control which sites get what Web Parts.

I was able to get the .wsp file added as a solution - using stsadm on the server.

I can see the web part under my defualt site, but can''t see the web part under another site.

How do I deploy to additional sites?

Before one more smart @$$ tells me to get training - I HAVE. And am now trying to apply some practical and I''m trying to use codeproject for help.

推荐答案

告诉我要接受培训-我有.现在,我正在尝试应用一些实用的工具,而我正在尝试使用codeproject寻求帮助.
tells me to get training - I HAVE. And am now trying to apply some practical and I''m trying to use codeproject for help.


您是如何部署Webpart的?您是否已将解决方案部署到所有Web应用程序?

我了解您只是在学习,但是SharePoint是一个复杂的野兽,您需要花时间阅读,研究和学习,然后才能尝试使用它.
How did you deploy the webpart? Have you deployed the solution to all the web applications?

I understand you are just learning but SharePoint is a complicated beast and you need to spend time reading, researching and learning before just trying to jump in to it.


请停止您正在做的事情,在SharePoint上接受一些培训,或者至少阅读一本书.当您了解所使用的工具和技术时,很容易避免或解决所遇到的问题.
Please stop what you are doing and take some training on SharePoint, or at least read a book. The problems you are encountering are easily avoided or over come when you understand the tools and technology you are using.


这篇关于自定义Web部件未显示在所有Web应用程序上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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