Archive for January, 2010


Troubleshooting Designer Workflow Errors


SharePoint Designer created workflow will stop before the Send Email action. This may only happen for certain users, therefore, making the issue seem to happen intermittently.

This will show the workflow status as Stopped.

Cause

Send Email action has SharePoint group(s) and/or workflow lookups in the To / Cc line.

Workaround

Make sure each SharePoint group has at least Read permissions for the site.

Additionally, that in the Group Settings area of the Group Page, under Who can view the membership of the group, Everyone is selected.

1. On SharePoint site, click Site Actions -> Site Settings -> Modify All Site Settings.
2. Under Users and Permissions heading, click People and groups.
3. Select appropriate group(s), click Settings -> Group Settings.
4. Under Group Settings area, select Everyone for Who can view the membership of the group, click OK.

JQuery Slider – Links

Posted: January 6, 2010 in JQuery, Links

Jquery sliders code download with demo.

CSS Globe

Buildinternet


Many times, we face a challenge to get unique rows from a CAML query. The problem is CAML query does not have any feature to get the distinct rows. Luckily the Data View has a method to return a Table with distinct rows.

DataView.ToTable(Bool isDistinct, string columnName);

This will return a table with distinct values based on the column name given in the method.

Below is an example how to use this along with the CAML query

query.Query = strQuery;
itemColl = lst.GetItems(query);
dtInOut = itemColl.GetDataTable();
dvInOut = new DataView(dtInOut);
dvInOut.Sort = “Token_x0020_Number Asc”;
dtInOut = dvInOut.ToTable(true, “Token_x0020_Number”);

Here dvInOut.ToTable method will give values from the list with distinct Token_x0020_Number values.


Most of the times you place any custom webpart in your page, you will get error page with the errors like “Error Occured”, “Unexpected Error Occured” etc.

In this case you can’t close the webpart directly because you cant open the page itself.

To close this webparts you must access the webparts maintenance page which is not accessible via a link right now. So just paste the ?contents=1 at the end of the url.

You will get the web parts maintainance page from where you can close the web part.