|
SharePoint MindsharpBlogs > Paul Schaeflein > Categories
|
|
Sep
04
Published: September 04, 2009 12:09 PM by
Paul Schaeflein
Apr
10
Published: April 10, 2009 16:04 PM by
Paul Schaeflein
Are you a developer who is familiar with SharePoint but is struggling to build a “solution” on the SharePoint framework? Where do you store data? How do you show data so it looks like SharePoint? How do you make your data look like the rest of your branded SharePoint site? Just because you’re leveraging the SharePoint platform, all of the typical application questions still need to be answered. Is your configuration information secure? Is your data secure? I’m excited to announce a 2-day Advanced Developer Workshop for Presenting, Consuming, Storing and Processing Data (Advanced Dev Workshop: Data). This is not a typical classroom experience, rather an interactive, extensive hands-on workshop. It is being offered both live in a classroom (in Minneapolis) and on-line. Every student, including on-line students, get their own virtual environment! (If you attend in Minneapolis, you can rub elbows during lunch with Bill English and his search administration and troubleshooting class.) I look forward to seeing you in class, or hearing you online!
Apr
08
Published: April 08, 2009 12:04 PM by
Paul Schaeflein
There are many resources for developers who are trying to get started in SharePoint. But most all of them are self-study. At Mindsharp, we feel that instructor-led training is a better choice for many developers. So, we are introducing a “micro-course” to help those hands-on learners! The “Hands-On Introduction to SharePoint Development” course lets you experience the Mindsharp On-line training environment and learn about the SharePoint platform for developers. This on-line micro-course uses the same virtual environment and same instructors as our regular courses. All you need is an internet connection and a phone line. If you have been on the fence about using SharePoint, or about on-line classes, I encourage you to give it a try. All it costs is half of a day. 
Jan
12
Published: January 12, 2009 19:01 PM by
Paul Schaeflein
I'm thrilled to be posting this on the new SharePoint-based blog site at Mindsharp! Todd did a lot of work getting the site collection branded and enhanced to meet the requirements of a corporate "blog host" – which are quite different than those of an individual blogger or a community.  Thanks Todd! And thanks to all our readers!
Dec
04
Published: December 04, 2008 10:12 AM by
Paul Schaeflein
I added a new operation to the Barracuda Application Extension Download:
stsadm -o enumsitegallerytemplates -site <site collection url>
Displays the names and identifiers of Site Definitions in the Site Template Gallery.
Barracuda StsAdm Extensions.wsp (8.01 KB)
Oct
18
Published: October 18, 2008 10:10 AM by
Paul Schaeflein
Some time ago, I wrote a whitepaper that discusses using Elevated Privileges and Impersonation in SharePoint. The paper and related code are available on the Mindsharp web site in the Premium Content section. (Getting the paper will cost you some demographic information and a follow-up phone call.)
The paper is the basis for a talk at the SharePoint Best Practices conference. We're doing another conference in February in San Diego, CA. Bill English has the inside story.
Sep
12
Published: September 12, 2008 10:09 AM by
Paul Schaeflein
One common pain point for SharePoint administrators is the Windows SharePoint Services Timer Service, also known as OWSTIMER.EXE. The Timer Service is responsible for executing several processes that are part of the product. A few of the more well-known processes are the search crawl refresh, recycle bin processing and the workflow processes. Also, the Timer Service is the process that SharePoint uses to push web.config modifications and solutions to all front end servers in the farm.
Two specific issues that are related to the Timer Service are its memory consumption and limited user interface. The Application Extension Download for SharePoint (AED for SharePoint) from Barracuda is designed to help system administrators deal with these issues. The download can be found in the Premium Content section of the Mindsharp web site. (The utility is free, but you will need to provide your name and email.)
Timer Operations Syntax
Restart Timer
stsadm -o restarttimer { -farm | -server <server name>;<server name> } [-exclude <server name>;<server name>] Restarts the Windows SharePoint Services Timer service on servers in the farm. Use the -farm parameter to restart the service on all servers in the farm that have the service installed. Use the -server parameter to specify the servers on which to restart the service. Use the -exclude parameter in conjuction with -farm to restart the service on all servers except those listed.
Enumerate Timer Jobs
stsadm -o enumtimerjobs [-view {service | webapp}] [-service <service name>] [-webapp <web application url>] [-schedule] Displays the Timer Job Definition information.
Start Timer Job
stsadm -o starttimerjob { -service <service name> | -webapp <web application url> } -job <job name> Forces a one-time execution of the specified job.
Jun
26
Published: June 26, 2008 10:06 AM by
Paul Schaeflein
Occasionally, I see a question about determining if a given installation is MOSS or simply WSS. I am unaware of any Object Model method or property that indicates this, but I did find a different way. The User Profile service is a web service that is included in MOSS and not WSS. So, if the asmx file exists, then MOSS is installed.
Here is a code snippet: string isapiFolder = SPUtility.GetGenericSetupPath("ISAPI");
string userProfileServicePath = Path.Combine(isapiFolder, "UserProfileService.asmx");
bool SharePointServerInstalled = File.Exists(userProfileServicePath);
Jun
05
Published: June 05, 2008 10:06 AM by
Paul Schaeflein
Daniel Larson has been sending smoke signals for the last week about using the RunWithElevatedPrivilege (RWEP) method. He finally goes into further detail today with his cautionary tale and a recommended SPUserToken work-around.
I have seen several programs that use RWEP to accomplish updates on behalf of a user. (In fact, I use the method in the Image Upload Web Part.) In this circumstance Daniel is advocating using impersonation via the SPUserToken for the "System Account." I believe this to be sound advice and will be updating my code accordingly.
May
01
Published: May 01, 2008 10:05 AM by
Paul Schaeflein
Introduction
The out-of-the-box Image Web Part can be used to display an image on a site. The web part has a property that specifies the web address of the image. For most site members, this is problematic – how do they get an image on the web site? And how do they determine the web address? For power users, these steps are understood, but are time consuming to complete.
The Image Upload Web Part will allow the site member to browse their local computer for the image. Once the image is selected, the web part will automatically upload the image to a location specified by an administrator and set the web address.
The result is a solution that works for both groups. Site members can display pictures from their computer and administrators can provide storage for those pictures with changing the permissions of their site and with minimal training.
More information available in the download or at the project's page on CodePlex.
ImageUploadv3.zip (.16 KB)
|
|
|
|
|