Loo*_*fer 6 deployment sharepoint solution sharepoint-2007
我不确定我在这里多么愚蠢!
我有一个解决方案,打包一些母版页和布局等,我可以很好地部署,该功能出现在"网站集功能"列表中.但是我想在我的功能旁边添加一个自定义图标.我希望图标位于解决方案包中,因此在部署解决方案时需要将图像放入列表或文件夹中(而不是激活功能).
这可能吗?简单?
所有这些共享点解决方案/ feature.xml/element.xml都有一些我还没想到的东西!
小智 11
这很简单.
Feature.xml示例:
<Feature
Id="21F724AE-9C1C-4F4D-AAE9-7789CA01A7E3"
Title="ACME Lists"
Description="List definitions for the ACME"
Version="1.0.0.0"
Hidden="false"
Scope="Web"
ImageUrl="ACMEImages\acmelogo.png"
xmlns="http://schemas.microsoft.com/sharepoint/">
<!-- other feature file info omitted -->
Run Code Online (Sandbox Code Playgroud)
DDF文件样本:
.Set DestinationDir=IMAGES\AcmeImagesRootFiles\TEMPLATE\IMAGES\ACMEIMages\acmelogo.png
Run Code Online (Sandbox Code Playgroud)
小智 8
在SharePoint 2010中,Microsoft Default图标为:GenericFeature.gif - 31 x 22图像.使用VS 2010和SP 2010,您可以将SharePoint"映像"映射文件夹添加到SharePoint项目中.然后将图像放在此文件夹中.请务必在*.feature对象的"属性"面板中提供图像URL.如上所述,使用图像路径.
| 归档时间: |
|
| 查看次数: |
9362 次 |
| 最近记录: |