Get link (Document Share) API in SharePoint 2013

Hi there,
We need a way to identify the automation or API for getting the anonymous link to a document in SharePoint 2013. We have a system where we query a given SharePoint site and show the user the document libraries and based on the document library selection,
we are showing the documents in the library. We have to give the share -> Get Link option to be automated through API, so they use that link to share with external users. But, as far as I know, I don't find any API to generate that link SharePoint is doing
today. Any ideas?
-Praveen.

At this time, there are not any official documents including sharing documents with external users by using calling APIs.
However, about the application of the APIs in SharePoint Online, like List and Library APIs and REST API, you may check detailed information in
SharePoint Online service description which including all of the features available in SharePoint Online.
For the requirements mentioned above, you are welcome to
submit feedback to our product team.
Many features of current programs have been designed and upgraded based on customers’ feedback. We always appreciate customers who can take the time to give us their constructive opinions. 
http://community.office365.com/en-us/f/154/t/190212.aspx

Similar Messages

  • 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

  • Hide view links in list view in sharepoint 2013

    Hi
    How I can hide view links in list view in sharepoint 2013. Like below pic?
    Thanks.

    for that you can use id of its parent span element something like below.
    #WPQ2_ListTitleViewSelectorMenu_Container {
    display: none !important;
    Thanks.

  • Managing Office documents (content & permission) inside SharePoint 2013 document libraries

    I have a document library inside my SharePoint 2013 publishing site collection. And I have the following scenario:-
    Someone add a word document to the document library,
    I can click on the word document inside the document library, and it will open inside my word client application:-
    Then I can click on “Edit document” button inside the word document.
    Do some modifications.
    Click on “Save” button.
    And the changes will be saved to the sharepoint document library (which is great).
    But I have the following questions:-
    Who can basically edit the word document and publish the edit to the SharePoint again? is this restricted to only users who have “edit” permissions on the document library,?
    Can I specify that only me or certain users can edit specific documents?
    If I open the word document using Firefox or chrome , I will not be able to edit the document and publish it back to SharePoint? So is this feature within IE only ?
    Can anyone advice please?
    Thanks

    Hi,
    According to your post, my understanding is that you have some questions about the documents in library.
    For the first question: yes, only the user that has more than edit permission can edit/publish the documents.
    For the second: we can set item level permission for libray using PowerShell to restrict only the created user can create and edit the items.
    http://www.hersheytech.com/Blog/SharePoint/tabid/197/entryid/28/Default.aspx
    For the third question: we can install the
    IE-Tab in the Chrome or Firefox to support opening the documents directly.
    http://stackoverflow.com/questions/14455212/how-to-open-sharepoint-files-in-chrome-firefox
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Audit usage for REST API in SharePoint 2013

    Hi,
    Is there any OOB way for SharePoint to log access in REST API so that it will track which application/user uses the REST API?
    Thanks,
    Kenny

    Hi,
    According to your post, my understanding is that you wanted to audit usage for REST API in SharePoint 2013.
    Per my knowleadge, there is no out of the box way to accomplish this with SharePoint.
    SharePoint 2013 introduces a Representational State Transfer (REST) service that is comparable to the existing SharePoint
    client object models.
    This means that developers can perform Create,
    Read, Update, and Delete (CRUD) operations from their apps for SharePoint, solutions, and client applications, using REST web technologies and standard Open Data Protocol (OData) syntax.
    More information:
    REST API reference and samples
    Thanks,
    Linda Li
    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]
    Linda Li
    TechNet Community Support

  • Add new document link not working in upgraded sharepoint 2013?

    Hello there,
    Upgraded SharePoint team sites from 2010 to 2013. add new document link not working for shared document in upgraded sharepoint 2013?. it is specially not working on machine where Office web apps set up with this sharePoint server and it
    is working fine with environment  Office web apps not configured with Sharepoint.
    Looking resoluion /suggestion, thanks in advance.
    Regards,
    Sushil

    Hi  Sushil,
    According to your description, my understanding is that the add new document link was not working on machine where Office web apps set up with this SharePoint server after you upgraded SharePoint team sites
    from 2010 to 2013.
    For your issue, it can be caused by integrating Office Web Apps with upgraded SharePoint Site.
    Firstly please make sure claims-based authentication is used by the SharePoint web application that is used to create the new document. Only web applications that use claims-based authentication can open
    files in Office Web Apps. To determine the authentication provider for a web application, follow these steps:
    1.In SharePoint 2013 Central Administration, click Manage web applications.
    2.Select the web application that you want to check, and click Authentication Providers on the ribbon.
    The authentication provider must be displayed as Claims Based Authentication for Office Web Apps to work correctly with the web application. To resolve this issue, you can delete the web application and recreate
    it using claims-based authentication, or you can change the authentication method of the web application.
    Secondly, make sure the WOPI zones match on the SharePoint 2013 and the Office Web Apps Server farm.
    To do this, run the following command on the SharePoint Server:
    Get-SPWopiZone
    The result will be one of the following:.
    internal-https
    internal-http
    external-https
    external-http
    Next, run the following command on the SharePoint Server.
    Get-SPWOPIBinding
    In the output, look for WopiZone: zone. If the results from Get-SPWopiZone don’t match the zone that is returned by Get-SPWOPIBinding, run the Set-SPWOPIZone -Zone cmdlet on the SharePoint Server to change
    the WOPI zone to match the result from Get-SPWOPIBinding.
    If not work, you can try to disconnect SharePoint 2013 from Office Web Apps Server and re-configure Office Web Apps for SharePoint 2013.
    For more information, please refer to the article:
    http://technet.microsoft.com/en-us/library/ff431687(v=office.15).aspx
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • How to retrieve the users that are following a document using JSOM / REST APIs in SharePoint 2013

    Hi everyone,
    Does anyone know how to use JSOM / REST APIs to retrieve the users that are following a specific document in SharePoint 2013? 
    Thanks in advance,
    Nam

    Hi Nam,
    Please use the sample code to get the followers for the document. Courtesy: Mokhtar
    Bepari 
    using Microsoft.SharePoint.Client;
    using Microsoft.SharePoint.Client.Social;
    ClientContext clientContext = new ClientContext("http://URL");
    SocialFollowingManager followingManager = new SocialFollowingManager(clientContext);
    SocialActorInfo actorInfo = new SocialActorInfo();
    actorInfo.ContentUri = "<documenturl>"; //set the document url.
    actorInfo.ActorType = SocialActorType.Document;
    //By using the GetFollowed method you can get the people who the current user is following.
    ClientResult < SocialActor[] > followedResult = followingManager.GetFollowed(SocialActorTypes.Users);
    //By using the GetFollowers() method you can get the people who are following the current user.
    ClientResult < SocialActor[] > followersResult = followingManager.GetFollowers();
    clientContext.ExecuteQuery();
    Once you get the resultset you can iterate like below:
    foreach(SocialActor actor in followedResult)
    string name = actor.Name;
    string imageURL = actor.ImageUri;
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • Document Set Creation in document library using REST API in Sharepoint 2013

    Hi,
    I want to create the document set using REST API call. Currently i am able to create the folder and able to upload the files using REST API's in the document library. Is there any way we can pass the contentype name or Id and create the document set using
    REST API call. We need to create the document set along with metadata and upload the files inside the document set.
    I need to create the document set along with meta data column values using REST API. Please let me know how we can achieve this through REST API.
    Thank you,
    Mylsamy

    Hi,
    According to your post, my understanding is that you wanted to create document set along with managed metadata fields.
    The REST API does not currently support working with Managed Metadata or Taxonomy fields.
    As a workaround, we can use the JavaScript Client Object Model.
    Create document set using JavaScript Client Object Model.
    http://blogs.msdn.com/b/mittals/archive/2013/04/03/how-to-create-a-document-set-in-sharepoint-2013-using-javascript-client-side-object-model-jsom.aspx
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/aacd96dc-0fb2-4f0d-ab4c-f94ce819e3ed/create-document-sets-with-javascript-com-sharepoint-2010
    Set managed metadata field with JavaScript Client Object Model.
    http://sharepoint.stackexchange.com/questions/95933/add-list-item-with-managed-metadata-field-through-jsom
    http://sharepointfieldnotes.blogspot.com/2013/06/sharepoint-2013-code-tips-setting.html
    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

  • Which document types get a thumbnail and preview in Sharepoint-2013

    I read in the old blogs that preview thumbnails are not supported for excel files, Is this still the same in Sharepiont 2013 ? 
    Right now I am using sharepoint 2013 and I am not getting preview thumbnails in the search results for excel file types. What changes do I need to make for getting the thumbnails for excel ? Can someone please help me ?
    Thanks

    The same question posted here - go through the thread 
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/38794517-2eeb-46df-b781-77e634c69b1b/third-party-tool-for-document-preview-in-sharepoint-2013?forum=sharepointadmin#a0310766-399b-4f66-a762-e6394b1770e0
    Regards,
    Pratik Vyas | SharePoint Consultant |
    http://sharepointpratik.blogspot.com
    Posting is provided AS IS with no warranties, and confers no rights
    Please remember to click Mark As Answer if a post solves your problem or
    Vote As Helpful if it was useful.

  • '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.

  • How to Create simple WCF/REST (JOSN,get and post) and deploy to Sharepoint 2013 Server.

    HI All,
       I wan to create a simple WCF/REST service and deployed to SharePoint server , i have created some sample svc file and put in to _vti_bin folder using SharePoint solution using vs 2013 but its not accessible from IIS its always asking the Widows
    Authentcation .
    however my exact requirement is custom service should be accessible without asking the authentication like _vti_bin/Listdata.svc is there any way to do like this ? 
    my reference:
    http://platinumdogs.me/2013/03/14/sharepoint-adventures-with-the-rest-api-part-1/
    http://msdn.microsoft.com/en-us/library/office/jj860569(v=office.15).aspx
    http://dotnetmentors.com/wcf/wcf-rest-service-to-get-or-post-json-data-and-retrieve-json-data-with-datacontract.aspx
    http://stevenhollidge.blogspot.in/2011/09/wcfwebapi-rest-json-services.html
    Thanks
    SujilKumar
    Software developer

    Hi Sujil
    Greetings. pls check this link
    http://social.technet.microsoft.com/wiki/contents/articles/24194.sharepoint-2013-create-a-custom-wcf-rest-service-hosted-in-sharepoint-and-deployed-in-a-wsp.aspx
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • 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

  • Setting up a Document management system in SharePoint 2013

    Hello All,
    I have come across a scenario where Customer needs a Document management system for their organization.
    They want to keep the documents of different departments like sales, HR,Finace in corresponding folders and want to include a workflow for approval of the Documents. Also, Documents related to particular department can be modified or added by users in that
    department.
    I thought of creating a seperate site collection for this purpose & document libraries of each department, setting up the permission on document library level. Is this a correct approach?
    I am new to Enterprise content management system of sharepoint. Can anybody give me a guidance on this how to get started.
    Regards
    Vishnu
    dfd

    Creating separate site collection for each department will help you scale and grow better and easier to group SharePoint sites together.
    Refer to the following articles which will give you an idea about the plan you should do before building a Document management system 
    http://technet.microsoft.com/en-us/library/cc263267.aspx
    http://blogs.msdn.com/b/sgoodyear/archive/2009/07/25/determining-between-sharepoint-site-collections-and-sub-sites.aspx
    http://atinkerersnotebook.com/2013/10/02/creating-your-own-document-management-system-with-sharepoint/
    http://community.dynamics.com/ax/b/tinkerersnotebook/archive/2013/10/02/creating-your-own-document-management-system-with-sharepoint.aspx
    --Cheers

  • Customise the email sent via the "Share" feature in Sharepoint 2013

    We have modified a number of the alerts via the alerttemplates.xml file in the 15 hive already.
    We want to modify the the email that is generated when a user in Sharepoint 2013 selects "share" on a document. We specifically want to add something to the Subject line of the email - just some text.
    Can someone advise what the file name and location and the name of the AlertTemplate Name that we need to modify?
    Cheers,
    Clarky

    Hi Clarky,
    According to your description, my understanding is that you want to modify the subject of the email when sharing a document with a user.
    When sharing a document with a user, that is granting permission to the user on the document.
    This email template is located in C:\program files\common files\Microsoft shared\web server extensions\15\Resources\core.en-US.resx, you can open this file in notepad to edit it. But it’s not suggested to change the file, before you modify it, take
    a backup.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Office Web App 2013 : Compatibility issue after opening a word document with image from sharepoint 2013

    Hi,
    Uploaded a word doucment in sharepoint 2013 and When we open it in WebApp2013 then following compatibilty warning is reflecting.
    "Compatibility Mode Functionality is currently limited"
    how to supress this warning message ?
    Thanks.
    raj

    Hi,
    As I understand, you would like to insert document preview in Iframe, here is an article which describe about Document preview function for your reference:
    http://community.obilogic.co.uk/blogs/teamblog/archive/2014/01/23/sharepoint-2013-custom-callout-with-file-preview.aspx
    Regards,
    Rebecca Tu
    TechNet Community Support

Maybe you are looking for

  • Unable to complete backup. An error occurred while copying files...

    And the saga continues... I haven't been able to use Time Machine for a week now because I keep getting the "Unable to complete...". What I've noticed is that, in my case, Time Machine stalls at 15.73G - out of 33.77G. It stops for a while, then "fin

  • PO Output Message type to set default for two output (neu and z_mail)

    Hi, we have a requirement for two output( print output and external send) at the same time when the po saved or me9f, and me99 trigers. kindly guid me the procedure to do this setting in nace,mn04 and spro. thanks..,

  • Trend report in FR

    Hello, This is related to my previous post about FR. I have an ASO cube with months,Quarters and Year(Gen1) dimension which also has QTD, YTD rollups. We are trying to create a trend report but are facing an issue(i should say incorrect results) when

  • Trying to build a report

    Hello, I am using obiee 11g. Have one situation let me explain i hope i can explain well. I have a user hierarchy in a tableA, Where there are 5 level means 5 col Level1 is the highest and level5 is the lowest for a user Now what i want is Now i have

  • Stole iPad and retrieving photos

    My iPad was stolen a couple weeks ago...and I was wondering if it was possible to retrieve my photos. I've already synced the ipad to my mac but I didn't have photostream set up and it was a while since I synced the device. Is it possible to retrieve