SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What's the best practise for store/edit setting for custom time job?

Well, we have OOTB _admin/Timer.aspx and /_admin/JobEdit.aspx pages, but if we have custom timer job with some setting (by the way, SPJobDefinition impl SPPersistedObject and we can store some setting in jon instance) we need to provide some UI for user/administrator to change timer job setting. It isn't hard - to develop custom aspx page for this task, but, for example, we have 10-20 different job and we don't like "custon page-per-job development".

What is the best way for this task?

share|improve this question
up vote 2 down vote accepted

MSDN recommends using the guidance library configuration manager, property bag, which can be scoped to the farm.

share|improve this answer
Right, but if we want to change some job setting we need to write custom aspx page for that task. "Page per job" in bad case. May be where is more commom way to edit/change job props? /_admin/JobEdit.aspx is good page for that, but this page can't be extended. For example, if we could add some attributes to job ptoperties and they would show at /_admin/JobEdit.aspx page but no way, we can't. – avishnyakov Oct 12 '10 at 15:30
you could easily write a single aspx page that could manage the properties in teh configuration manager, filtering however you need. – Brian Brinley Oct 12 '10 at 15:50

You could implement the "Config Store", which is a codeplex project. It is basically a SharePoint list that allows you to add your key/values in and then programatically read them at run time. Like 'appsettings' without the web.config modifications. Very useful.

share|improve this answer
I don't think it is good solution for timer job which for example run across the all farm. It is not so good to link some specific jobs to web-scoped-settings ot even spsite-scoped-settings. – avishnyakov Oct 12 '10 at 12:19

Your Answer


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.