tags:

views:

30

answers:

2

Hello,

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.

+3  A: 

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.

Muhimbi
A: 

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

Vladi Gubler