Wednesday, March 31, 2010

spquery and user field

Tuesday, March 30, 2010

Incoming email sharepoint

Monday, March 29, 2010

Saturday, March 27, 2010

web part properties custom

Wednesday, March 24, 2010

MPS Save to server dialog box

After connecting project professional to server 2007 if you still do not get the save to server dialog box when you click on save button,

choose the option below,

Connect Project Professional to Server 2007

Connect Project Professional to Server 2007

Monday, March 22, 2010

Check user in group

private bool IsMember()
bool isMember;
SPSite site = new SPSite(SiteURL);
SPWeb web = site.OpenWeb();
isMember = web.IsCurrentUserMemberOfGroup(web.Groups["GroupName"].ID); web.Close();
return isMember;

Friday, March 12, 2010

sp internal fields

cqwp raw xml

Thursday, March 11, 2010

Wednesday, March 10, 2010

Disable Sharepoint designer on site

Monday, March 8, 2010

Administration Task - Moving Farm environments

Scenario : A web application hosted on a multi server farm needs to be moved to a single server farm using the same shared database instance.

Implementation :
1. Build the single server farm environment from scratch and bring it upto the service pack level of the multi-server farm
2. Create the new web application
3. Install all solutions, perform custom farm configurations required by the web application
4. Detach the databases from the source farm (multi-server) web application.
5. Attach the databases to the destination farm (single server) web application

Test, Test, Test.

Sunday, March 7, 2010

MOPS - Life Cycle

1. Project Manager saves Project plan in MOPS. It is always saved to draft db and not visible in project center and assignments are also not visible

2. After publish -> project data is written to Published and Reporting databases.
If notification service is enabled each resource(Team Members) is sent an email.

3. Team members can update their tasks and submit timesheets(if enabled). These updates are not visible until manager approves them.

4. manager accepts or rejects updates from team members.

**Rules can be set to process updates. These rules cannot be run automatically.

5. After reviewing changes the latest scheduling changes are saved to draft.

6.manager publishes changes.

7. Using Project Center, executives can view all/individual projects in portfolio.
Report analysis can also be done.

1. Status Reports
2. Automated alerts and reminders
3. Outlook Integration
4. Task delegation
5. Ad hoc reporting
6. Issues log
7. Risks log
8. Documents
9. Proposals
10. Resource plans
11. Activity plans
12. Time sheets
13. Deliverables

MOPS 2007 provides 14 cubes OOTB.
Control over specific fields to be introduced as a part of a dimension in a OLAP cube. It also includes task data in cubes.

no default data analysis views ship with the product.

multidimensional view of a project, task and resource data. The relational database structure is 2D. OLAP consists of,
a. preprocessed 3D data
b. typically time-phased and
c. aggregated by business dimension.

MOPS - Infrastructure

1. Stand Alone - does not have analysis service and so you loose reporting capabilities. Not scalable
2. Server farm

Recommended / Based on requirement :
seperate data and application (with NLB and multiple boxes in each.)

1. Draft - All changes until publishing
2. Published - all published content, security and timesheet information
3. Archive - backup project plans
4. Reporting - After project data is published, system write info to reporting db. Near real time information for reporting.

Project Server 2007 - Overview

1. Enterprise capable project management automation system.
2. compliant with PMI
3. used for project assignment and tracking system ootb and customizable business specific configuration
4. Office Project -> .mpp files (local plans, non shared resources, versioning issues with emails, project must be installed on client, cross project dependencies)
5. Solution is Project Server - PWA(web access) and server hosting of project plans

1. project : A temporary endeavor undertaken to create a unique product or service.
has start and end time defined. It is always unique.
2. program : is a collection of related projects
3. portfolio : is a collection of programs/projects withing organization(BU or enterprise)
depends on size of organization
Model these in Project Server

Microsoft Office Project Server 2007 specific terminology:

Enterprise project : Create a project using MS Project client and save it to Project Server db or imported projects

Enterprise Resource : Create / Import resource in Enterprise Resource Pool

Check in / Check out

Resource Pool:
1. contains resources and resource attribution that drive functionality.
2. e.g. resource attribution: dept, location, practice groups
3. Resource substitution wizard : analyzes resources in pool to identify skills and avilability of staff for all projects. they can be used as recommendations or final results in the plan.

Global Overview:
1. Global.mpt file and enterprise global file (Views, Tables, Filters, Groups, Reports etc.)

1. PWA works in SharePoint
2. Queying service only ships data that changed across the network.
Hence it supports WAN and Internet connectivity without bandwidth and latency limitations
3. PSI (project server interface) programming model.
4. Request and Demand Management :
a. Project proposal & Resource Plans - support project request and predict resource demand.
b. Flow: Project Proposal - allows authorized users to enter project request.
MOSS - used to route proposal through approval workflows
Any actor in the workflow can use Resource Plan to apply time phased work demand by resource type and skill set to proposal.
After publish, data populates to portfolio where data analysis tools assist in project selection.
5. Timesheets
6. WSS is bare minimum required for MOPS.

*** Microsoft Office Project 2007 Standard cannot connect to project server whereas MOP 2007 Professional can.

2003 and 2007 are not compatible.
why MOSS is included in EPM suite:
a. document versioning
b. workflow

Thursday, March 4, 2010

Tuesday, March 2, 2010

Edit url for task item

workflowProperties.TaskList.Forms[PAGETYPE.PAGE_EDITFORM].Url returns incorrect url when the following content types are added to workflow task list,

Office SharePoint Server Workflow Task
Workflow Task
Custom Workflow task content type

Created new task list and assigned only the following content types,
Custom Workflow task content type
Office SharePoint Server Workflow Task