1. 管理員身份打開Visual Stuidio 2010,新建項目。
2. 選擇空白SharePoint項目,命名MyFirstListDefinition。
3. 部署場解決方案,點(diǎn)擊完成。
4. 右擊項目,添加新建項。
5. 選擇空元素,命名CustomerType,點(diǎn)擊添加。
6. 添加如下黑體代碼到Elements.xml文件中。
7. 點(diǎn)擊F6生成解決方案,成功后部署解決方案。
8. 導(dǎo)航到SharePoint站點(diǎn),網(wǎng)站操作--網(wǎng)站設(shè)置--庫--網(wǎng)站列。你會看到這個Customer Type網(wǎng)站列。
9. 點(diǎn)擊Customers列表(為例)--列表設(shè)置--添加現(xiàn)有網(wǎng)站欄。
10. 在Customers組選擇Customer Type,點(diǎn)擊添加。點(diǎn)擊確定。
|
新聞熱點(diǎn)
疑難解答
圖片精選