SharePoint 2010 Designer How to Disable Custom Control for specific user after once clicked and notify user using SP.UI.Notify.addNotification

Unanswered SharePoint 2010 Designer How to Disable Custom Control for specific user after once clicked and notify user using SP.UI.Notify.addNotification

  • Wednesday, April 11, 2012 10:42 AM
     
     

    Hi Team,

    I have one unique requirement. Requirement is like:

    Trainer will create the List Item on which he/ she like to guide the Users. User who like to enroll himself (or herself) will have button (Custom Button) on View Page to click for his (or her) Enrollment. 

    By Clicking on that He (or She) will get an Appointment Email (Outlook Calendar will book for that date - time) for that User and the same time (after completing this email workflow) User will get notification on the View Form Page that Thanks for your Enrollment (like using SP.UI.Notify.addNotification)

    Once this Action Done, This Button Should Display for that specific User. 

    Now, My issue here is

    1) How would we achieve Outlook Calendar Email Appointment by worflow

    2) How would we notify user after this workflow (by SP.UI.Notify.addNotification in CommandUIHandler of CustomAction)

    3) After Completion How would We can disable this control for specific user ?


    Thanks & Regards, Brijesh Shah

All Replies

  • Friday, April 13, 2012 10:45 AM
    Moderator
     
     

    Hi Brijesh,

    I would like suggest you to use the Employee Training Scheduling and Materials template. It is a site template similar for your requirement. And you can download it from Fab 40 template from SharePoint 2010 from following link:

    http://blogs.technet.com/b/tothesharepoint/archive/2010/08/18/sharepoint-2010-products-upgrade-and-the-fabulous-40-application-templates.aspx

    After install the Training Scheduling template, you will find Courses list is similar list that your trainer should create list item to. Then the Registrations list is a similar like for users to Enroll. And when a user already registered a course, SharePoint will stop him/her to register it again.

    And then you can create a SharePoint Designer workflow for Registrations list like this:

    Start workflow when item created and changed.

    Action: Send email (Send email to current item: Created By field)

    Best regards,
    Emir


    Emir Liu

    TechNet Community Support

  • Monday, April 16, 2012 11:04 AM
     
     

    Hi,

    Thanks to give me this readymade template. But Suppose, If i like to do this using visual studio & manual coding then can anyone guide me how would i achieve that ? 

    specially the 3 items of these previous post

    1) How would we achieve Outlook Calendar Email Appointment by worflow

    2) How would we notify user after this workflow (by SP.UI.Notify.addNotification in CommandUIHandler of CustomAction)

    3) After Completion How would We can disable this control for specific user ?


    Thanks & Regards, Brijesh Shah