RE: Adding Links to WorkItems using WorkItems.xml



Hi Steve,

I am willing to help. :) But first, I want to clarify the question. Do you
mean that you want to add links to documents which are located at "Windows
SharePoint Services" folder in process template folder when a new project
is created? If it is not the question, could you please explain the
question in more detail? Thanks.

The documentation about this topic is in here: Windows SharePoint Services
Process Template Plug-in
(http://msdn.microsoft.com/en-us/library/ms243868.aspx).

First, you should find the Windows SharePoint Services xml file, which is
named WssTasks.xml and is located in the Windows SharePoint Services folder
in the process template folder hierarchy.
In the XML file, specify one or more tasks and their dependencies. There
are three key tasks to specify: which site template to use, which document
libraries to create, and which folders and files to copy into the document
libraries. For an example of tasks specifying a simple project portal, see
the WssTasks.xml file in the MSF for Agile Software Development process
template.

For your convenience, I put a simple sample here for you to understand.
------------------------------------------------------------
<tasks>
<task id="SharePointPortal" name="Create Sharepoint Portal"
plugin="Microsoft.ProjectCreationWizard.Portal" completionMessage="Project
site created.">
<dependencies />
<taskXml>
<Portal>
<site template="VSTS_MSFAgile" language="1033" />
<documentLibraries>
<documentLibrary name="Process Guidance" description="Process
Guidance for the team documents" />
</documentLibraries>
<folders>
<folder documentLibrary="Process Guidance" name="Supporting
Files" />
</folders>
<files>
<file source="Windows SharePoint Services\Process
Guidance\Supporting Files\AboutRoles.htm" documentLibrary="Process
Guidance" target="Supporting Files/AboutRoles.htm" />
</files>
</Portal>
</taskXml>
</task>
</tasks>
------------------------------------------------------------
Site template is defined in your Windows SharePoint Server, which is not
included in process template.
Site language a locale id to indicate which language version of the site
template to use. The English version is 1033.

DocumentLibrary is used to categorize your documents. You could specify its
name like "Requirements", "Test", "Development" etc.
Folder is a sub-entry under DocumentLibrary, so you must specify its
"documentLibrary" attribute. With folder, you could well group files.
File is a link between source files with project portal website. Below is
the detail description about its attributes.
------------------------------------------------------------
source:
A relative path to the local copy of the file. Generally, the source path
name always begins with Windows SharePoint Services.

documentLibrary:
The name of the document library into which the file will be copied.

target:
A relative path to the target on the project portal where the file is
copied.

queryId:
Specifies the name of a work item query that is bound to the file. When
the file is opened for the first time, it is populated with the results of
running the query. This attribute is optional, and the specified query must
exist in the workitems.xml file. queryId only applies to .xls and .mpp
files.
------------------------------------------------------------

Please let me know if you have any problem when implementing this feature.
I will be more than happy to be of assistance.

Regards,
Hongye Sun (hongyes@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://support.microsoft.com/select/default.aspx?target=assistance&ln=en-us.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

.