locked
MySite properties. RRS feed

  • Question

  • Hi,

    I wanted to get some details from user when the mysite is provisined for the first time.

    For example i have some user profile properties that needs to be updated only for the first time the user login to mysite?

    Thanks,

    Sudan 

    Wednesday, October 3, 2012 5:59 AM

Answers

  • Check out these links:

    http://blog.qumsieh.ca/2010/10/07/how-to-attach-an-event-receiver-to-the-web-added-event-and-for-what-purpose/

    http://blogs.msdn.com/b/kunal_mukherjee/archive/2011/01/11/feature-stapling-in-sharepoint-2010.aspx

    • Marked as answer by Jack-Gao Friday, October 12, 2012 10:04 AM
    Thursday, October 4, 2012 5:13 AM
  • Deleted
    • Marked as answer by Jack-Gao Friday, October 12, 2012 10:04 AM
    Thursday, October 4, 2012 7:35 AM

All replies

  • Hi Guru,

    Thanks,

    But i dont want to add a webpart to the page.Since this is going to be a single time task.

    Is there any way i can find out whether it is a first time login to mysite?

    Thanks,

    Sudan

    Wednesday, October 3, 2012 9:29 AM
  • Hi,

    You may have to create a web level event receiver and staple it using Feature stapler.

    • Proposed as answer by Aviw_ Thursday, October 4, 2012 5:35 AM
    Wednesday, October 3, 2012 10:53 AM
  • Hi,

    could you please let me know how this can be done.Any links?

    Thanks,

    Sudan

    Wednesday, October 3, 2012 1:58 PM
  • Check out these links:

    http://blog.qumsieh.ca/2010/10/07/how-to-attach-an-event-receiver-to-the-web-added-event-and-for-what-purpose/

    http://blogs.msdn.com/b/kunal_mukherjee/archive/2011/01/11/feature-stapling-in-sharepoint-2010.aspx

    • Marked as answer by Jack-Gao Friday, October 12, 2012 10:04 AM
    Thursday, October 4, 2012 5:13 AM