Subscribe Unsubscribe functionality in sharepoint?

Hey dear developer I am looking for the sample that can describe the subscribe /unsubscribe functionality in SharePoint.
i want to take user information and want to send a mail to authorized email and after unsubscribe notify the User and admin...

Hi,
Go through these links it may help u
For a user (SharePoint object) to receive notifications when the underlying data has changed, the user must subscribe to the notifications for an entity. To allow this, the BDC Model schema has been extended to include the
Subscribe stereotype. The Subscribe stereotype is used by SharePoint to let the external system know that the sender is requesting to be notified of changes to the underlying data.
http://msdn.microsoft.com/en-us/library/office/jj164024%28v=office.15%29.aspx#bkmk_eventsubscriber
http://blogs.technet.com/b/wbaer/archive/2010/05/07/site-subscriptions-in-sharepoint-2010.aspx
Please mark the Answer and vote me if you think that above solution can help you to resolve the issue

Similar Messages

  • Subscribe/Unsubscribe

    I am building a subscribe/unsubscribe app in PHP with
    Dreamweaver CS3.
    I am following step by step the article on
    http://www.adobe.com/devnet/dreamweaver/articles/subscribing_unsubscribing_with_php.html
    On page 4 of this article, I used the following code:
    <?php
    $id = $row_rsSubscriber['ID'];
    $to = $row_rsSubscriber['SubEmail'];
    $subject = "Subscription confirmation";
    $body = "<html><body>" .
    "<h2>Thank you for subscribing to our
    newsletter!</h2>" .
    "<p>To unsubscribe, click <a href=\"
    http://[MY SERVER & PATH
    HERE]/confirm_unsubscribe.php?ID=" .
    $id . "\">here</a>.</p>" .
    "</body></html>";
    $headers = "From: Subscription Manager
    <[email protected]>\r\n" .
    "MIME-Version: 1.0\r\n" .
    "Content-type: text/html; charset=UTF-8";
    if (!mail($to, $subject, $body, $headers)) {
    header( 'Location:
    http://[MY SERVER & PATH
    HERE]/error_subscribe.php' ) ;
    ?>
    When I test the application ( publishing the pages to m web
    server, going to subscribe.php and entering my e-mail address ) , I
    was taken to the error page:
    http://[MY SERVER & PATH
    HERE]/error_subscribe.php
    I know that the e-mail function in the above code didn't work
    properly (I have checked all other possibilities)
    Please help ! How to debug !
    Amanda Nguyen

    Hi,
    Go through these links it may help u
    For a user (SharePoint object) to receive notifications when the underlying data has changed, the user must subscribe to the notifications for an entity. To allow this, the BDC Model schema has been extended to include the
    Subscribe stereotype. The Subscribe stereotype is used by SharePoint to let the external system know that the sender is requesting to be notified of changes to the underlying data.
    http://msdn.microsoft.com/en-us/library/office/jj164024%28v=office.15%29.aspx#bkmk_eventsubscriber
    http://blogs.technet.com/b/wbaer/archive/2010/05/07/site-subscriptions-in-sharepoint-2010.aspx
    Please mark the Answer and vote me if you think that above solution can help you to resolve the issue

  • How to create Ticket Booking Functionality in SharePoint 2013 App?

    We have created a Ticket Booking site in Asp.Net.
    In that in Ticket Booking page user can book the ticket and the booked seats will be stored in the database. If there are any booked seats it will be disabled for the user and from other user can book tickets.
    Took reference from this site:
    http://techbrij.com/online-ticket-booking-system-asp-net-sql-server
    Now I want to do same functionality using SharePoint 2013 App Part with SharePoint Hosted App.
    I don't know how to start
    Anybody having Idea.
    Thanks in Advance.

    Hi,
    According to your post, my understanding is that you want to create a Ticket Booking solution as SharePoint Hosted App.
    To build the similar solution in SharePoint, I would suggest you take a look at the links below about how to create ShrePoint Hosted App for a quick start:
    Create Host App:
    How to: Create a basic SharePoint-hosted app
    Create App Part:
    How to: Create app parts to install with your app for SharePoint
    Then for the data storage, here is a documentation will provide more information:
    App data storage:
    Data storage options in apps for SharePoint
    For the responsive UI, HTML plus JavaScript would be OK.
    Feel free to reply if there are still any questions.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to Implement custom share functionality in SharePoint 2013 document Lib programmatically?

    Hi,
    I have created custom action for Share functionality in document library.
    On Share action i'm showing Model pop up with Share form with addition functionality.
    I am developing custom share functionality because there is some addition functionality related to this.
    How to Implement custom share functionality in SharePoint 2013  document Lib pro-grammatically?
    Regards,
    - Siddhehswar

    Hi Siddhehswar:
    I would suggest that you use the
    Ribbon. Because this is a flexible way for SharePoint. In my project experience, I always suggest my customers to use it. In the feature, if my customers have customization about permission then i can accomplish this as soon
    as possible. Simple put, I utilize this perfect mechanism to resolve our complex project requirement. Maybe we customize Upload/ Edit/ Modify/ Barcode/ Send mail etc... For example:
    We customize <Edit> Ribbon. As shown below.
    When user click <Edit Item>, the system will
    render customized pop up window.
    Will

  • Display Like and Share functionality in SharePoint 2013 search result

    Hello Experts,
    I dont Know whether i am asking a good question or bad one . but i am not very much expert in search.
    I have to display No of Likes , Share functionality in SharePoint Search Results. 
    i know little basic about how display templates works. i want to implement these like and share functionality as actions  in Item_common_hoverpanel_Actions template. show that i can see in preview.
    please if any body can help me . i will be highly thankful to you.
    Mukesh

    This will be difficult. The number of likes has a managed property called LikesCount but it is not populated by the search crawler. So your JavaScript will have to read the "LikesCount" field of the corresponding list item. That would be a
    lot of code to execute in the item display template just to display the number of likes. You could have a button that displayed a callout that would get the information and display it. The Sharing could be done via JavaScript in your item display template
    using a REST call. You can see an example of code to do that here:
    http://sharepointfieldnotes.blogspot.com/2014/09/sharing-documents-with-sharepoint-rest.html?showComment=1428595550241#c3227376854590814312
    Just remember the user must have permission to share these documents, so your code will have to handle this.
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • 'Share' functionality in SHarePoint 2013 - Prevent access to files

    Hello
    I have a client that has just moved to SP2013 and they used the send document link as hyperlink in email functionality of SharePoint 2010 regularly.  THis was good for them because if the link was sent to a user that did not have access to a document
    then they couldn't open it.
    I would like to do the same thing in the 2013 environment and I have been making use of the 'Share' functionality.  This does not seem to be working as if the Share functionality is used then the users specified get access to the document regardless
    of their permissions. 
    Is there a way to stop users from opening documents if they are accidentally sent a link to a document they don't have access to??  it seems the 'Share' functionality overwrites it.

    There are a few ways to do it:
    http://www.sharemuch.com/2013/07/25/how-to-disable-sharesynchfollow-buttons-on-the-sharepoint-2013-ribbon/
    http://www.sharepointdiary.com/2013/12/sharepoint-2013-share-functionality-faqs.html
    http://removesharefollow.codeplex.com/
    http://www.eliostruyf.com/hiding-the-social-actions-follow-share-from-the-document-libraries-in-sharepoint-2013/
    Disabling Access Requests should disable the Share feature.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Subscribe/unsubscribe PHP/Mysql Adobe Tutorial Issue

    I've been following the Adobe Dreamweaver CS3 tutorial known
    as "Building a subscribe/unsubscribe app in PHP with Dreamweaver
    CS3"
    here is the tutorial link
    http://www.adobe.com/devnet/dreamweaver/articles/subscribing_unsubscribing_with_php.html
    Basically I'm having a major problem that boils down to me
    creating the "Subscription" Submit form/ button within my actual
    template. Not the "main" section of the page... the template
    itself.
    Here's an example of a similar site like mine that has a
    subscribe box within its template.
    http://www.free-stuff.co.uk/
    When i type in an email address and try to send it. Rather
    than going to the confirmation page, the page goes know where, it
    just refreshes itself.
    My client wants the subscription form within the template and
    i am at a loss as to how to get my index page and other pages
    (which are attached to the template), to respond appropriately.
    PS: I know that the cause of the problem is the form being
    within the template, because when i put the subscribe form in the
    "main" section of my index page. It works fine.
    Thanks for your time, and if you think you have an answer,
    but are unsure of anything I've explained, I promise to get back to
    you ASAP, to explain in more detail.
    Thanks a lot.

    geschenk wrote:
    > did you download the "cafe_php.zip" sample file
    mentioned on page 1 ? The tutorial.sql file is in there, just
    checked it
    Uh... no. I thouht I looked there, but turns out I was at the
    bottom of
    pg 4 - Copy the sample PHP files.
    Thanks.
    Harvey

  • Basic database question, and subscribe/unsubscribe code

    Hi there
    Although I've created and manage a website, and about a million years ago I worked with databases, I'm still a bit green and in need of some help ...
    I have the website based on my local machine (laptop).  I want to use a subscribe/unsubscribe for a newsletter via the website.
    Before I go ahead with this, I need to clarify a very basic database issue ... would I have to always leave my laptop running in order for people to be able to subscribe to the newsletter on the website, i.e. will it still connect to the database if the laptop is not running?
    I'm using Dreamweaver 3, so I hope I can use this version to connect with a database?  I did install Dreamweaver 4 on one occasion with the intent of upgrading the website to it, but because I'm still a bit unsure of myself and was unfamiliar with the changes the newer version created, I decided to leave it on Dreamweaver 3 rather than risk stuffing the website up completely!
    I also have Dreamweaver UltraDev but for some reason it won't install.
    I'm hoping to follow instructions given on Dreamweaver Developer Centre for setting up a PHP development environment (http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php.html).
    If anyone would be so kind as to advise whether I'm on the right track with all this, using Dreamweaver 3, that'd be great!
    Also, I'm sure this is unlikely, but is there any way to include a subscribe-unsubscribe without having to actually use a database?
    Many thanks in advance    :-)
    Cheers, Chrissie

    Thanks for your help and advice - much appreciated.  I'm going to go the way
    of hosting, as you suggest, and save myself the heartache  
    Quoting jj12689 <[email protected]>:
    To answer your first question, yes your laptop needs to be powered on
    for users to be able to access the database and subscribe/unsubscribe.
    There is another way of doing it, but it requires more work on your
    part. You could make an online program that would generate SQL
    statements and place them in a text document on the server. Every time a
    user subscribes/unsubscribes it would add them to the end of the text
    document. Then you could make an update button on a back-end admin page
    that you would have to push that would take that text file, open it and
    take the sql statements and submit it to the database on your computer.
    I would advise against this method, since it is time consuming, and not
    very fast for today's world. I would recomend using a server based
    database, if the host you currently have dose not have a database, I
    would recomend finding another host. I use surpasshosting.com for my
    hosting because they are cheap, reliable, and have all the requirements
    I need.
     
    Hope this helps...
    >

  • Jquery or code for Image loading on Sp Gridview Pager(Next ,Prev) click functionality on sharepoint 2010

    Jquery or dynamic code for Image loading on Sp Gridview Pager(Next ,Prev) click functionality on sharepoint 2010.
    i have a dynamic SP gridview contains Previous and next
    buttons for paging.
    page doesn't contain Update panel.
    grdXRPSUsers.PagerSettings.Mode = PagerButtons.NextPrevious;
    grdXRPSUsers.PagerSettings.PreviousPageText = "< Previous Page";
    grdXRPSUsers.PagerSettings.NextPageText = "Next Page >";
    grdXRPSUsers.PagerSettings.FirstPageText = "First Page";
    grdXRPSUsers.PagerSettings.LastPageText = "Last Page";
    When i click on Next or Previous page in the gridview it will take more time and showing progress bar in th below.
    As per my client request, i need to change the
    progress bar to Loading image (Wheel at middle of the grid at fething time).
    How its possible either through jquery or Programming(code behind).
    Please help

    Hi,
    According to your description, my understanding is that  you want to add loading image when click the paging button to load the data.
    I suggest you can use Jquery BlockUI Plugin to show a block image when loding data in paging click event.
    Here is a similiar thread for your reference:
    How to display a loading image until a gridview is fully loaded
    More information:
    Jquery BlockUI Plugin
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Showing subscribed/unsubscribed podcasts in list view

    With past iTunes in List view I could quickly see to the right of the Podcast name, to what I am subscribed. Equally important I could note a desirable podcast that is currently unsubscribed.
    I do not see an easy way to do this with the current iTunes.
    Any suggestion or work around?

    Check if this helps
    http://stackoverflow.com/questions/20988935/sharepoint-list-data-format
    function (data)
    if (data.d != undefined)
    //Check if the list has data
    if (data.d.results.length > 0)
    //Iterate through each items fetched from the list
    $.each(data.d.results, function(index, item)
    var fieldVal= item.fieldName;
    Or use Data view webpart
    http://summit7systems.com/who-needs-a-data-view-web-part-sharepoint-rest-and-datatables-net/
    http://blogs.technet.com/b/fromthefield/archive/2013/09/05/working-with-sharepoint-list-data-odata-rest-and-javascript.aspx
    Here we are using a foreach loop; so for each object that is returned, we want to append the specific properties into HTML; into an existing element with the ID of 'oDataSuppliers'. The HTML that we want to render will basically look like this:
    <ul>
        <li>
            <h1> item.Title </h1>
            <h2> item.Region </h2>
        </li>
    </ul>

  • Override "Email a Page link" in ribbon button functionality in SharePoint 2013

    Hi,
    I want to override "Email a Page link" ribbon button functionality on the ribbon control.
      <CustomAction Id="Ribbon.WikiPageTab.Share.EmailPageLink"
                    Location="CommandUI.Ribbon"                
                    Title="Custom Email this page">
        <CommandUIExtension>
          <CommandUIDefinitions>
            <CommandUIDefinition Location="Ribbon.WikiPageTab.Share.EmailPageLink">
              <Group
              Id="Ribbon.WikiPageTab.Share"
              Sequence="30"
              Command="ShareGroup"
              Description=""
              Title="$Resources:core,cui_GrpShare;"
              Image32by32Popup="/_layouts/15/$Resources:core,Language;/images/formatmap32x32.png?rev=23" Image32by32PopupTop="-137" Image32by32PopupLeft="-103"
              Template="Ribbon.Templates.Flexible2"
              >
                <Controls Id="Ribbon.WikiPageTab.Share.Controls">
                  <Button
                    Id="Ribbon.WikiPageTab.Share.EmailPageLink"
                    Sequence="10"
                    Command="CustomEmailPageUrl"
                    Image16by16="/_layouts/15/$Resources:core,Language;/images/formatmap16x16.png?rev=23" Image16by16Top="-115" Image16by16Left="-19"
                    Image32by32="/_layouts/15/$Resources:core,Language;/images/formatmap32x32.png?rev=23" Image32by32Top="-137" Image32by32Left="-511"
                    LabelText="$Resources:core,cui_ButEmailLink;"
                    ToolTipTitle="$Resources:core,cui_ButEmailLink;"
                    ToolTipDescription="$Resources:core,cui_STT_ButEmailLinkPage;"
                    TemplateAlias="o1"
                   />
                </Controls>
                  </Group>
            </CommandUIDefinition>
          </CommandUIDefinitions>
          <CommandUIHandlers>
            <CommandUIHandler Command="CustomEmailPageUrl" CommandAction="javascript:alert('Hello, world');" />
          </CommandUIHandlers>
        </CommandUIExtension>
      </CustomAction>
    Any help would be appreciated.
    Rajasekar A.C

    Hi,
    According to your post, my understanding is that you wanted to override the “E-mail a Link” button on the Ribbon.
    I had created a simple demo to override the “E-mail a Link” button on the Ribbon, you can have a look at it.
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction Id="Ribbon.Library.Actions.OverrideEmailLinkButton" Location="CommandUI.Ribbon" RegistrationId="101" RegistrationType="List" Title="Display the UniqueId for the list item.">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition Location="Ribbon.Library.Share.EmailLibraryLink">
    <Button Id="Ribbon.Library.Share.EmailLibraryLink.ReplacementButton" Command="ReplacementButtonCommand" Image16by16="http://s10.postimage.org/lhar0oijp/U16.png" Image32by32="http://s17.postimage.org/trf3y2ui3/U32.png" LabelText="Replaced Button" TemplateAlias="o2" />
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler Command="ReplacementButtonCommand" CommandAction="javascript:alert('This button has been replaced.');" />
    </CommandUIHandlers>
    </CommandUIExtension>
    </CustomAction>
    </Elements>
    More reference:http://msdn.microsoft.com/en-us/library/office/ff407619(v=office.14).aspx
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • How to work JQuery and content editor webpart functionality in sharepoint 2013?

    Hi all,
    I have a requirement to display the list data in share-point page by using JQuery and content editor web-part. could you please any one suggest the process to display the list data using JQuery and ContentEditorWebpart.
    Thanks in advance.
    Thanks,
    phani kumar
    Phani kumar

    Hi,
    From your description, my understanding is that you want to show a list data in a page using jQuery and Content Query Web Part.
    You could use SharePoint REST API to accomplish your requirement, please refer to this code below:
    <div id="listData">
    </div>
    <script src="https://code.jquery.com/jquery-1.11.1.min.js" type="text/javascript"></script><script type="text/javascript">
    $(document).ready(function(){
    //replace your list title
    $.ajax({
    url: _spPageContextInfo.webAbsoluteUrl + "/_api/web/lists/getbytitle('customlist03')/items",
    type: "GET",
    headers: {"accept": "application/json;odata=verbose"},
    success: function (data) {
    if (data.d.results) {
    var obj = data.d.results;
    for(var i = 0; i < obj.length; i++)
    $("#listData").append("<div>title "+obj[i].Title+"</div>");
    error: function (xhr) {
    alert(xhr.status + ': ' + xhr.statusText);
    </script>​​
    The screenshot below is my result:
    Please refer to these articles:
    Working with lists and list items with REST
    https://msdn.microsoft.com/en-us/library/office/dn292552.aspx
    SharePoint 2013 – CRUD on List Items Using REST Services & jQuery
    http://www.plusconsulting.com/blog/2013/05/crud-on-list-items-using-rest-services-jquery/
    You can also get list data using JavaScript Client Object Model(JSOM), you could refer to this article:
    How to: Complete basic operations using JavaScript library code in SharePoint 2013
    https://msdn.microsoft.com/en-us/library/office/jj163201.aspx?f=255&MSPPError=-2147217396
    Here is a link about how to add code into page via Content Editor Web Part:
    http://blogs.msdn.com/b/sharepointdev/archive/2011/04/14/using-the-javascript-object-model-in-a-content-editor-web-part.aspx
    Best Regards,
    Vincent Han
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Mutilple File Selection and Upload Functionality in Sharepoint 2010

    Hi,
    I have a requirement that i have to create an Application page where i should have the following functionality.
    Should be able to select multiple files at a single shot.
    That is when i click on Browse and choose files i should be able to choose more than one file and then i have to upload all the files to Sharepoint document library.
    I know how to upload mutiple files to library , but am unaware how to select mutiple files with single browse.
    By using Fileupload control we can select only one file at a time. ( We have to use more Fileupload control and get more files , but have to select the files one by one only )
    Is there any control or any workaround to achieve this.
    Main thing is to select Multiple files at a single go.
    Thanks in Advance.
    Regards,
    SivaKumar.

    Hi,
    The following links for your reference:
    <asp:FileUpload AllowMultiple="True"...>
    http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.fileupload.aspx
    jQuery File Upload pulgins
    http://plugins.jquery.com/?s=upload+file
    Best Regards
    Guangchao chen
    TechNet Community Support

  • Meeting Workspace Functionality in SharePoint 2013

    Hi,
    Is it possible to rebuild the functionality of meeting workspaces in SharePoint? if so..how.? or how one note can help in achieving this capability?
    Please help with ideas...
    techie

    Hi,
    If you want to enable the meeting workspace template in SharePoint 2013, we can set the
    hidden attribute to false  in the webtemp.xml file.
    Here are some detailed articles for your reference:
    How to: Make meeting workspaces available in SharePoint 2013
    Enable Meeting Workspaces in SharePoint 2013
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Using SSRS Built in Functions in SharePoint

    Hi there,
    I currently have a number of reports deployed on a SharePoint site at work. I would like to monitor who actually uses which report and when they ran the report and also how long the report ran for. This is for auditing purposes and getting an idea
    of the performance of these reports.
    I came across the following built in functions on SSRS; UserID, ReportName, ReportServerUrl and ExecutionTime. Is it possible to use these functions somehow in SSRS & SharePoint whenever someone accesses a particular report and perhaps write this
    information to a SharePoint list within our SharePoint site.
    If this is possible, how would I go about doing this?
    Also, some of our reports run off parameters, is it possible to capture what parameters were used as well?
    Any help would be much appreciated. Thanks.  

    you can get most of these information from executionlog tables available from reportserver database
    http://www.mssqltips.com/sqlservertip/2722/sql-server-report-server-2008-r2-execution-log-reports/
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

Maybe you are looking for

  • No changes in TU report, but changes in TU scores...

    So I took a drop across the board on TU today.FICO 08                     743->739FICO 04                     713->711FICO AUTO 8            764->758FICO AUTO 4            733->731FICO BANKCARD 8  758->754FICO BANKCARD 4  719->717Not a big drop, but 

  • Document type change for excise document

    Dear Experts, I would like to change the document type for excise invoice generated at the time of J1IIN. At present system is generating document type SA. I want to maintain different number range for these documents instead of SA document number. S

  • Illustrator CS3 and Autocad DWG layers

    When I open a DWG file in Illustrator CS2, the "Open" dialog box has a check box to "merge layers." If I don't check the box, the DWG file opens with layers intact. I don't see that option when I open the same DWG file in Illustrator CS3 and the file

  • Unable to boot kernel 3.9.x on Toshiba NB510 Netbook

    Hi, I'm going to start with a quick question first not related to the title: what is the difference between the modesetting package in the official repos and the one in the AUR (git) version? It looks as though the AUR version hasn't been updated sin

  • Change text size font in multiple fields at once

    I'm trying to edit an existing pdf form and I want to make the setting for the font smaller in all fields (the auto font before it's altered by rich text formatting) all at the same time rather than each one at a time. How do I do this?