About SmartPart usage

本文提供了两种部署智能部件的方法:一种是使用安装向导进行自动化安装,另一种是手动部署。自动化安装通过向导引导完成所有步骤;手动安装则利用 SharePoint 2007 的解决方案框架进行部署。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Author:

Jan Tielens
http://weblogs.asp.net/jan
http://www.codeplex.com/smartpart
http://www.smartpart.info

Setup Wizard:one(Automated) or two(Manual)

Automated Installation (Wizard Based)

The automated installation will make use of a wizard to get the Return of the SmartPart installed.

1.       Extract the contents of the ReturnOfSmartPartv1_3.zip

 

2.       Run SETUP.EXE in the Setup folder.

3.       Accepted the license agreement, and finish all the steps of the wizard.

4.       Activate the feature on your SharePoint Site Collection: navigate to the Site Collection Features Page

Site Actions menu / Site Settings / Site Collection Features in the Site Collection Administration
category:
http://server/_layouts/ManageFeatures.aspx?Scope=Site

Click the Activate button for the
Return of the SmartPart v1.3 feature.

Step 4 can be accomplished as well by executing the following statement in a command prompt:

stsadm.exe -o activatefeature -n ReturnOfSmartPartv1_3 -url http://server

Manual Installation

The manual installation will make use of the Solutions framework of SharePoint 2007 to deploy the Return of the SmartPart. Step number 3 and 4 can also be done from the SharePoint 3.0 Central Administration site. For more information about the Solutions Framework see http://msdn2.microsoft.com/en-us/library/aa543214.aspx.

1.       Extract the contents of the ReturnOfSmartPartv1_3.zip and copy the file Setup/ReturnOfSmartPart.wsp to a folder on your server, for example c:/smartpartinstall

2.       Add the Solution (wsp) to your SharePoint Server Farm: execute the following statement in a command prompt. The location of the STSADM tool is C:/Program Files/Common Files/Microsoft Shared/web server extensions/12/BIN, you should type everything on one single line.

stsadm.exe -o addSolution -filename c:/smartpartinstall/ReturnOfSmartPartv1_3.wsp

3.       Deploy the solution to your SharePoint server, execute following statement in a command prompt:

stsadm.exe -o deploySolution -name ReturnOfSmartPartv1_3.wsp -allcontenturls -local -allowGacDeployment

4.       Activate the feature on your SharePoint Site Collection: navigate to the Site Collection Features Page

Site Actions menu / Site Settings / Site Collection Features in the Site Collection Administration
category:
http://server/_layouts/ManageFeatures.aspx?Scope=Site

Click the Activate button for the
Return of the SmartPart v1.3 feature.

Step 4 can be accomplished as well by executing the following statement in a command prompt:

stsadm.exe -o activatefeature -n ReturnOfSmartPartv1_3 -url http://server

the difference what I found When Deploy the site Webpart is that the quickpart needs .ascx files in wpresource catalogue but the smartpart nees .ascx files in UserControls and for each needs the enough Permissions for folder or virtual path!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值