Friday, February 12, 2010

Work around OnTaskCreated activity to get TaskId

Please see:
http://blogs.msdn.com/tejasr/archive/2008/06/19/how-to-work-around-ontaskcreated-activity-to-get-taskid.aspx

Now I can get the taskid, however, emails are sent to the same receiver, or the task owner of the last task created in a replicator activity.

Still trying to figure out how to resolve the email problem.

Tuesday, January 26, 2010

Backup and Restore SharePoint 2007 subsites

2 options:

1. use stsadm export and import. Type stsadm -help import or stsadm-help export for options. When import, make sure to import to a blank site. Also note some data in the subsite can't be exported, such as workflow related data. For example:

stsadm -o export -url http://sitecollection/subsite -filename subsite -includeusersecurity -haltonfatalerror -cabsize 1023

Note the cabsize switch works around the default 25 MB size limit. Also see http://blog.beckybertram.com/Lists/Posts/Post.aspx?ID=28 for a good explanation of moving large subsite.

2. user SharePoint Designer. There seems to be a 25 MB backup limit or bug.