Friday, May 18, 2007

Resolving Workflow Status Stopped when sending mail to a Sharepoint Group

There is a mysterious stalemate occurs when you create a normal sharepoint Designer workflow with An action of sending a mail to a sharepoint group. The workflow runs fine when run under Administrator Account but shows status stopped when run under any other account like Contributor etc.

This occurs due to the fact that by default, the visibility of members of sharepoint group is granted only To the members of those group. Any other user outside that group cannot enumerate the members of the group And hence the workflow fails with the status as stopped. To resolve the issue, Go to Sharepoint Group settings And allow Everyone to see the members of group.

This issue engrossed my whole day due to the fact that, there is no error reported when this occurs.

Monday, May 14, 2007

Data View Web Part Problems

Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as Microsoft Office SharePoint Designer. If the problem persists, contact your Web server administrator.

This problem occurs if the site is saved as the template and restored onto another server.
The resolution is given here, I wont repeat to avoid unnecessary redundancy

But in brief, therotically solution is

we have to add curly braces to the list ID

We have to do this before saving the site as site template. There are some five occurences of the site ID which we need to change, we just have to add curly braces to the listID then only designer generates the new list IDs for these webparts.