4、Q:如何将Project web access中的webpart加入自己的页面 A:在网上看到的资料:
1. Chose the Web Part (e.g. TimesheetPart) from the PWA homepage or the web parts gallery (Project Web Access > Site Settings > Galleries > Web Parts) and Export and Save to your preferred desktop location:
2. Edit the Web Part in Notepad. Find the following property PSIURL (or add if it does not exist) and change it accordingly for instance:
<property name="PsiUrl" type="string"> http://server/PWA</property>
3. Save Web Part update
4. From http://server/sites/project - Site Collection EPM > Web Part Gallery > Upload Document, select TimesheetPart modified earlier.
5. Add Web Part to the page you like (Site Action -> Edit Page)
注意的就是需要把PsiUrl属性配置成第一个属性,同时项目详细信息webpart是不能加入的,可以参照Project SDK自己来写,也比较简单的
11、Q:sharepoint中有哪些属性可以用?
A:使用方法:<SharePoint:ProjectProperty Property="BlogCategoryTitle" runat="server"/> Name
Description BlogCategoryTitle
Category of the current post item. BlogPostTitle
Title of the current post item. Description
Description of the current Web site. RecycleBinEnabled 1 if the recycle bin is enabled; otherwise, 0. SiteOwnerName
User name of the owner for the current site collection. SiteUrl
Full URL of the current site collection. Title
Title of the current Web site. Url
Full URL of the current Web site.