문제

I all,

I have a requirement where I have to write a web part that configurable to all users. Each user can able to modify the web part and personalise it based on there preference. So when next time he gets login he will see configutation settings set by him...!

Any help will be appriciable !!!

Thanks in Advance! Sachin

도움이 되었습니까?

해결책

Your question is how to design such a webpart, that each user can personalize for him-/herself?

All you need is to save the user preferences either to a dedicated Sharepoint List linking the user to his/her preferences with all your settings included or you save the preferences to a database/table again linking the user to his/her preferences.

You could also store the user's preferences in the profile like explained in this article: How To: Create custom SharePoint 2010 User Profile properties programatically.

It really depends on you where you want to save it. Upon calling the webpart all you need to do is find out the user currently accessing the webpart and connect to his settings.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top