string camlQuery = "<Where><Eq><FieldRef Name='User_x0020_Name'/><Value Type='User'>" + userDisplayName + "</Value></Eq></Where>";
SPList spList = spWeb.Lists["List Name"];
SPQuery spQuery = new SPQuery();
spQuery.Query = camlQuery;
SPListItemCollection listItemCollection = spList.GetItems(spQuery);
http://www.saturnvibes.com/SharepointProjectServer2007/post/2009/04/16/CAML-query-for-retrieving-ListItems-where-fieldType-is-User.aspx
Monday, 27 September 2010
Wednesday, 22 September 2010
SharePoint: Internet Explorer'da Session Çalışmaması
Sorun: Diğer tarayıcılarda hiç bir sorun olmadan çalışan Session'ının IE'de çalışmaması. Problem, hostname olarak underscorelu bir isim verilmiş olmasından kaynaklanıyormuş.
Örnek: http://sharepoint_site
Çözüm:
SharePoint 2007: Central Administration > Operations > Alternate Access Mappings
SharePoint 2010: Central Administration > System Settings > Configure alternate access mappings
Add Internal URLs ->
Zone = Intranet
Save.
Referans:
http://vspug.com/sean/2007/07/11/internet-explorer-blocks-sharepoint-from-using-session-cookies/
Örnek: http://sharepoint_site
Çözüm:
SharePoint 2007: Central Administration > Operations > Alternate Access Mappings
SharePoint 2010: Central Administration > System Settings > Configure alternate access mappings
Add Internal URLs ->
Zone = Intranet
Save.
Referans:
http://vspug.com/sean/2007/07/11/internet-explorer-blocks-sharepoint-from-using-session-cookies/
Monday, 13 September 2010
Sunday, 5 September 2010
Friday, 3 September 2010
Thursday, 2 September 2010
Wednesday, 1 September 2010
Error: "The list cannot be displayed in Datasheet view for one or more of the following reasons:..."
1. Download and install the 2007 Office System Driver for Data Connectivity Components.
or
2. Install the 2007 SharePoint Services Support, which is available on the Microsoft Office 2007 installation media.
Reference:
http://njbblog.blogspot.com/2010/06/sharepoint-datasheet-view-office-2010.html
Subscribe to:
Posts (Atom)