How to developed Webpart that take argument run time(After deployed in sharepoint)
I have developed one Active directory we开发者_StackOverflowbpart 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.
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.
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
精彩评论