Medhat Elmasry
home
Feed Me!
Jun
24
How to unsubscribe (or remove) yourself from a SharePoint 2007 alert?
Categories:
SharePoint 2007
In SharePoint one can subscribe to any document libraray or list to be sent alerts when changes occur such us additions, deletions, and updates. This is done by choosing "Actions" => "Alert Me". If one wishes not to recei...
0 Comments
|
0 Link to this post
Mar
6
Enabling Entity Framework (ADO.NET Entity Data Model) in a SharePoint 2007 web.config file
Categories:
SharePoint 2007
The Entity Framework is considered to be the modern day successor to "LINQ to SQL". If you wish to use this technology in a SharePoint 2007 web part you will need to tweak your web.config file to accomodate the new assemblies that are as...
0 Comments
|
0 Link to this post
Mar
3
How can you get the thumbnail for an image in your SharePoint picture library?
Categories:
SharePoint 2007
This is much easier than I had imagined. At first I thought I need to do some programming with the SharePoint Object Model APIs. It turned out to be nothing of the sort. Let us assume that you have a photograph located in your picture library ...
0 Comments
|
0 Link to this post
Nov
26
Getting around SharePoint 2007 not allowing database Integrated Security
Categories:
SharePoint 2007
The problem is becuase of a line in web.config in WSS root folder which is: <tagMapping> <add tagType="System.Web.UI.WebControls.SqlDataSource, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" ...
0 Comments
|
0 Link to this post
Nov
26
Enabling security trimming using role attribute in web.sitemap
Categories:
SharePoint 2007
I have figured out how to trim the menu items on the web page.I need to add the following element to the web.config file <siteMap defaultProvider="XmlSiteMapProvider" enabled="true"> <providers> <add name=&quo...
0 Comments
|
0 Link to this post
Nov
26
Download tracking with WSS 3.0
Categories:
SharePoint 2007
WSS 3.0 does not have a mechanism for tracking who downloads which files with authenticated users. When I got confronted with this task, I decided to create a web user control that reads all the files in a document library and subsequently display...
0 Comments
|
0 Link to this post
Oct
22
How to programatically delete a SharePoint 2007 field belonging to a list or document library?
Categories:
SharePoint 2007
Here's the code for deleting a field named "phone" in list "myList" on a site with URL http://mysite/: try { using (SPSite sitecollection = new SPSite("http://mysite/")) { using (SPWeb web = sitecoll...
0 Comments
|
0 Link to this post
Oct
21
How do you break up a long SharePoint 2007 survey?
Categories:
SharePoint 2007
What do you do if you have a long SharePoint 2007 survey and you want to break it up into separate pages such that the user needs to click the "Next" button? Solution: You must use branching on selected questions for this. All b...
0 Comments
|
0 Link to this post
Jul
24
How to use built-in SharePoint 2007 engine to send email?
Categories:
SharePoint 2007
A straightforward way of sending email from within a SharePoint 2007 application is to use the Object Model. Here is some C# code that will do it for you: bool isAppendHtmlTag = true;bool isHtmlEncode = false;string recipient = "whoever@w...
0 Comments
|
0 Link to this post
Jul
18
How to edit group on the SharePoint quicklaunch in WSS 3.0 (and MOSS 2007)?
Categories:
SharePoint 2007
It is always a good idea to lock down SharePoint sites such that users do not see more information than they need to. At the organization where I work, we have a plethora of SharePoint groups. With any new website that gets created, a user with fu...
0 Comments
|
0 Link to this post
Next >>
Categories
.netBC User Group
ASP.NET 2.0
BCIT
General
SharePoint 2007
Speaking engagements
Windows
Archives
September 2007
(4)
October 2007
(9)
November 2008
(3)
November 2007
(2)
December 2007
(2)
January 2008
(2)
February 2008
(3)
April 2008
(3)
May 2008
(1)
June 2008
(1)
July 2008
(5)
October 2008
(2)
December 2008
(1)
February 2009
(1)
March 2009
(2)
May 2009
(1)
June 2009
(1)
July 2009
(1)
October 2009
(1)