Take the 2-minute tour ×

I have developed one Active directory webpart that get uer information from Active Directory department wise( Department name is specific hard coded). i want to give specific department after deploying into sharepoint. is it possible and how. please give me reference for the same.

Thank you.

share|improve this question
add comment

2 Answers

You can add your own custom properties to a web part that can be configured at runtime using the web part pane.

See this example.

share|improve this answer
add comment

The first answer is of course correct. But if you need something completely runtime, you can always use the querystring parameters and access the page with the WP using parameters in the URL, it depends on what you are trying to accomplish

share|improve this answer
add comment

Your Answer


