Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I would like to have a page in the central admin that allows administrators to configure a few values for the my timer job. Is there a way that I can do this?

share|improve this question

1 Answer 1

up vote 10 down vote accepted

Absolutely, I have done this myself very recently.

You can create an Application Page that sits in the ADMIN directory in the SharePoint Root Folder. You need to add a mapped folder in Visual Studio to do this.

You can then create a Custom Action which will add a link to your application page, within any area and section within Central Administration that you wish.

Here is the tutorial I followed on MSDN for this: http://msdn.microsoft.com/en-us/library/ff798467.aspx

Also, the full reference implementation for a timer job with a config page: http://msdn.microsoft.com/en-us/library/ff798362.aspx

share|improve this answer
1  
+1 as usual, you are the man James. Any suggestions on how to access that value from the timer job? –  Abe Miessler Jun 14 '11 at 19:35
    
:) I've added a link to my answer which is the tutorial I followed. –  James Love Jun 14 '11 at 19:36
    
Here's the tutorial for the application page for a timer job: msdn.microsoft.com/en-us/library/ff798356.aspx There are links here: msdn.microsoft.com/en-us/library/ff798362.aspx for the rest of the reference implementation. –  James Love Jun 14 '11 at 19:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.