How to set water marking in sharepoint 2010 document library

hi,
we have one requirement for Water marking. i have one document library in that document documents is there when downloading documents that time we have set water marking to  download document using programmatically

You can check this link:
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/180acc9f-b7f2-467a-84e0-db78b2cdf793/how-to-set-a-water-mark-for-a-new-document-uploading-a-document-in-document-libary?forum=sharepointcustomizationlegacy
_eNo_,
Moderator Note: Never propose your own posts as answers. The "Propose as Answer" function is for people to propose the good answers of other people. It is not for self-proposing.

Similar Messages

  • How can I automatically enable content approval on a SharePoint 2010 document library

    Hi All,
    I would like to enable
    content approval feature 'Yes' in version setting page by default when the new site is created under SharePoint 2010 farm. How could achieve this. Kindly help.

    Hi, Are you creating publishing site? if yes Turn on Content Approval for SharePoint 2010 Sites By default, Content Approval is turned off in SharePoint 2010 and (usually) any user with Read access can see Draft items in most libraries. Sites created with
    the publishing site template, however, already have Content Approval turned on in the Pages library.
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • How to add custom file icons on SharePoint 2010 document library?

    Hi there,
    In a document library SharePoint shows the PDF and Word etc icons all fine - however we have a custom file format with a custom icon. Is this possible to add this custom icon for our custom extension? How?
    Thank you so much.

    Hi,
    You could accomplish your requirement by using jQuery with these steps, and this code is using jQuery to modify it on the current page, if you would like to make it work on all library, you need to choose the former method or add this JQuery script on all
    library pages manually:
    Upload a custom icon to file “14\ Template\Images” or your SharePoint document library.
    Add this code below in the document library that you want to extend your custom icon, you could add code by following these: Click edit page in the document library -> add a web part -> choose Content Editor -> click edit source in the Ribbon ->
    add the source below -> click OK.
    <script src="https://code.jquery.com/jquery-1.11.1.min.js" type="text/javascript"></script><script type="text/javascript">
    $(document).ready(function(){
    var fileObject = $("[title$='docx']");
    for(var i=0; i < fileObject.length; i++){
    //fileObject[i].outerHTML="<img width=\"16\" height=\"16\" title=\"test.docx\" alt=\"test.docx\" src=\"/_layouts/15/images/custom.png\" border=\"0\">"; // upload your custom icon to file ” 14\ Template\Images”, replace your src URL
    fileObject[i].outerHTML="<img width=\"16\" height=\"16\" title=\"test.docx\" alt=\"test.docx\" src=\"/sites/sharepoint2013/Shared%20Documents/custom.png\" border=\"0\">"; // upload your custom icon to SharePoint document library, replace your src URL
    </script>
    The screenshot below is my result:
    Best Regards
    Vincent Han
    TechNet Community Support

  • Sharepoint 2010 document library pdf files are storing in browser cache when it is opened in browser

     i have sharepoint 2010 site which consists of document library  with pdf files if we click on pdf file it will open in browser .But the thing is it is storing in browser cache  so i need to restrict that pdf to not store in browser cache.
    A,ny suggestions please

    Hi,
    We can use jQuery plugin to open the PDf file in browser.
    The following link for your reference:
    http://www.jqueryrain.com/2012/09/best-jquery-pdf-viewer-plugin-examples/
    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]

  • SharePoint 2010 document library - Add a link that points to a page

    Hi
    A department has created a document library. Now, they would like to have a link visible in that library that points to another .aspx page. Is that possible?
    I've seen how to add a "link to a document", but I want to add a link to a page, not a document.
    Thanks in advance,
    Sonya

    Thanks. I think adding a web part should satisfy their request.
    I tried the "Link to a document" content type suggestion, but I'm not sure if there's something missing from our SharePoint installation, or if something is different with our template.docx file, or if SharePoint 2010 is playing strangely with
    Office 2013, but after I added the "Link to a document" content type and chose it from the New Document drop-down, it wants to auto-launch Word 2013 with no dialogue for adding a URL.
    However, once in Word, there are a couple of boxes just above the content area to type a URL and a description (screenshot below). I pasted the URL to the page in the URL box, left the description and content area blank, then saved the file back
    to the library. However, when you click on the document in the library, it simply wants to open Word without going to the link.

  • Saving Files from Word 2010 into SharePoint 2010 document library deployed as a sandbox solution gives "Web page no longer exist" Error 410

    Created a new SharePoint 2010 List Definition project, Sandbox deployment option. List Definition type: Documents Library. When attempting to save into the document library from Microsoft Word 2010 I get "The webpage no longer exists" error in
    the File Save dialog
    If I change the type of the solution to Farm solution it works as expected.
    IISLOGS:
    2013-12-19 10:12:01 127.0.0.1 PROPFIND / - 80 0#.w|domain\username 127.0.0.1 Microsoft-WebDAV-MiniRedir/6.1.7601 207 0 0 35
    2013-12-19 10:12:01 127.0.0.1 PROPFIND /sites - 80 0#.w|domain\username 127.0.0.1 Microsoft-WebDAV-MiniRedir/6.1.7601 207 0 0 26
    2013-12-19 10:12:01 127.0.0.1 PROPFIND /sites/team1 - 80 0#.w|domain\username 127.0.0.1 Microsoft-WebDAV-MiniRedir/6.1.7601 207 0 0 30
    2013-12-19 10:12:01 127.0.0.1 PROPFIND /sites/team1/Lists - 80 0#.w|domain\username 127.0.0.1 Microsoft-WebDAV-MiniRedir/6.1.7601 207 0 0 32
    2013-12-19 10:12:01 127.0.0.1 POST /_vti_bin/shtml.dll/_vti_rpc - 80 0#.w|domain\username 127.0.0.1 Microsoft-WebDAV-MiniRedir/6.1.7601 200 0 0 10
    2013-12-19 10:12:01 127.0.0.1 HEAD /sites/team1/_vti_bin/owssvr.dll dialogview=FileSave&FileDialogFilterValue=*.*&location=Lists/ListDefinitionProject1-ListInstance1 80 - 127.0.0.1 non-browser;+(Windows+NT+6.1.7601) 401 0 0 6
    2013-12-19 10:12:01 127.0.0.1 HEAD /sites/team1/_vti_bin/owssvr.dll dialogview=FileSave&FileDialogFilterValue=*.*&location=Lists/ListDefinitionProject1-ListInstance1 80 - 127.0.0.1 non-browser;+(Windows+NT+6.1.7601) 401 1 2148074254 2
    2013-12-19 10:12:01 127.0.0.1 HEAD /_vti_bin/owssvr.dll dialogview=FileSave&FileDialogFilterValue=*.*&location=Lists/ListDefinitionProject1-ListInstance1 80 0#.w|domain\username 127.0.0.1 non-browser;+(Windows+NT+6.1.7601) 200 0 0 23
    2013-12-19 10:12:01 127.0.0.1 GET /sites/team1/_vti_bin/owssvr.dll dialogview=FileSave&FileDialogFilterValue=*.docx&location=Lists%2FListDefinitionProject1-ListInstance1 80 - 127.0.0.1 non-browser;+(Windows+NT+6.1.7601) 401 0 0 10
    2013-12-19 10:12:01 127.0.0.1 GET /sites/team1/_vti_bin/owssvr.dll dialogview=FileSave&FileDialogFilterValue=*.docx&location=Lists%2FListDefinitionProject1-ListInstance1 80 - 127.0.0.1 non-browser;+(Windows+NT+6.1.7601) 401 1 2148074254
    2
    2013-12-19 10:12:01 127.0.0.1 GET /_vti_bin/owssvr.dll dialogview=FileSave&FileDialogFilterValue=*.docx&location=Lists%2FListDefinitionProject1-ListInstance1 80 0#.w|domain\username 127.0.0.1 non-browser;+(Windows+NT+6.1.7601) 410 0 0 34
    2013-12-19 10:12:01 127.0.0.1 PROPFIND /sites/team1/Lists/ListDefinitionProject1-ListInstance1 - 80 0#.w|domain\username 127.0.0.1 Microsoft-WebDAV-MiniRedir/6.1.7601 207 0 0 36

    Hi,
    According to your post, an error occurred when you used the custom Documents Library(List Definition using sandbox solution).
    Please check whether you have removed <ContentTypeRef/> in the <ContentTypes/> tag of Schema.xml file in your project.
    Here is a sample about list definition deployed as a sandbox solution, you can take a look at:
    http://sharepointbuzzer.com/2010/10/21/list-definition-using-sandbox-in-sharepoint-2010/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • In SharePoint 2010 Document Library "Open with Explorer" Your client does not support opening this list with Windows Explorer

    Hi.
    I am getting below error "Your client does not support opening this list with Windows Explorer" while click "Open with Explorer" option in document library.
    My system is client machine which is 32 Bit system and
    Web Client service is also running and Window 7 PC.
    Other SharePoint sites "Open with Explorer" option in document library is working fine but specific site is giving error.
    Even it was working fine but not is giving this error.
    Please help me on it. Its making frustrations.
    Thanks & Regards
    Poomani Sankaran

    Hi,
    According to your post, my understanding is that you got “Your client does not support opening this list with Windows Explorer” error.
    Did you enable the both authentication (Windows and FBA) on default zone.
    As far as I remember when FBA is enabled on the same zone when Windows is used, it breaks whole client integration.
    So it will be better if you will recheck your architecture and will use different zones for Windows and FBA.
    There is also another thing to try: use claims based authentication with authentication provider which will work both with Windows and FBA.
    What’s more, you can also check with below steps.
    Use compatibility mode to check whether it works.
    Open IE->Tools->Compatibility View Settings
    Add the site into Trusted sites to check whether it works..
    Open the IE->Internet Options->Security->Sites->add the site into the Websites, then check whether it works.
    In addition, you can also try to enable Basic authentication on the client computer, by setting the BasicAuthLevel registry entry of the following key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters
    For detailed steps, visit the following KB page.
    http://support.microsoft.com/kb/841215/en-us
    There are some similar threads for your reference.
    http://social.msdn.microsoft.com/Forums/en-US/e9a07773-db23-46e9-8d1d-7015cd5aa13b/your-client-does-not-support-opening-this-list-with-windows-explorer?forum=sharepointgeneralprevious
    http://blogs.technet.com/b/asiasupp/archive/2011/06/13/error-message-quot-your-client-does-not-support-opening-this-list-with-windows-explorer-quot-when-you-try-to-quot-open-with-explorer-quot-on-a-sharepoint-document-library-in-office-365-site.aspx
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Javascript to upload a file to SharePoint 2010 document library

    Please share your ideas. I am using SharePoint 2010. Currently when uploading files to a document library, first the upload form is opening to upload the document and then the edit form. I would like to have both this in the same form. I am trying to
    create a webpart page with the controls to upload the file to document library and assign values to the fields in the library. I am looking for some javascript for doing this. Is there any other way of achieving this? Please share any sample
    code.
    <label for="title">Enter the title for this document:</label> <input type="text" id="title"><br/><br/>
    <input id="inputFile" type="file"/><br/><br/>
    <input id="uploadDocumentButton" onclick="UploadDocument()" type="button" value="Upload Document"/><script type="text/javascript">
            function UploadDocument() {
                //javascript to upload the file to MyLibrary and update the title field
    </script>

    Use the below code step by step :) 
    (1) Html
      <input type="file" id="attafh"  class="AlltextAccount"  />
          <input type="button" value="upload" onclick="rundCode()" />
    (2) JS File 
    function rundCode() {
        var file = document.getElementById('attafh').files[0];
        if (file) {
            UploadMe(file);
    (3) 
    function UploadMe(readFile) {
        var reader = new FileReader();
        reader.readAsArrayBuffer(readFile); //array buffer
        reader.onprogress = updateProgress;
        reader.onload = loaded;
        reader.onerror = errorHandler;
    (4)
    function loaded(evt) {
        var fileString = evt.target.result;
        var X = _arrayBufferToBase64(fileString); // this is the mothod to convert Buffer array to Binary
            var fileInput = document.getElementById('attafh');
            var fileDisplayArea = document.getElementById('fileDisplayArea');
                var file = fileInput.values;
                 var filePath = $('#attafh').val(); // "c:\\test.pdf";
            var file = filePath.match(/\\([^\\]+)$/)[1];
            var soapEnv =
                "<soap:Envelope xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'> \
                    <soap:Body>\
                        <CopyIntoItems xmlns='http://schemas.microsoft.com/sharepoint/soap/'>\
                            <SourceUrl>" + filePath + "</SourceUrl>\
                                <DestinationUrls>\
                                    <string>http://intranet/sites/English/DocumentLibrary/" + file + "</string>\
                                </DestinationUrls>\
                                <Fields>\
                                    <FieldInformation Type='Text' DisplayName='Title' InternalName='Title' Value='Test'  />\
                                      <FieldInformation Type='Text' DisplayName='BudgetId' InternalName='BudgetId' Value='8'  />\
                                </Fields>\
                            <Stream>" + X + "</Stream>\
                        </CopyIntoItems>\
                    </soap:Body>\
                </soap:Envelope>";
            $.ajax({
                url: "http://intranet/_vti_bin/copy.asmx",
                beforeSend: function (xhr) { xhr.setRequestHeader("SOAPAction", "http://schemas.microsoft.com/sharepoint/soap/CopyIntoItems"); },
                type: "POST",
                dataType: "xml",
                data: soapEnv,
                complete: processResult,
                contentType: "text/xml; charset=\"utf-8\""
        SP.SOD.executeOrDelayUntilScriptLoaded(initialize, 'SP.js');
        SP.SOD.executeOrDelayUntilScriptLoaded(test, 'SP.js');
    function errorHandler(evt) {
        if (evt.target.error.name == "NotReadableError") {
            // The file could not be read.
    function _arrayBufferToBase64(buffer) {
        var binary = ''
        var bytes = new Uint8Array(buffer)
        var len = bytes.byteLength;
        for (var i = 0; i < len; i++) {
            binary += String.fromCharCode(bytes[i])
        return window.btoa(binary);
    (5)
    function updateProgress(evt) {
    http://www.abdulazizfarooqi.wordpress.com Abdul Aziz Farooqi [BizTalk & SharePoint Consultant] MCPD Web & MCPD SharePoint 2010

  • Microsoft Word Hangs When Opening Document From SharePoint 2010 Document Library

    I am running into an issue where Word hangs when opening certain files from a document library.  When the issue occurs, Word opens and hangs at the Downloading <Doc URL> stage.  I have tried disabling the SharePoint plugins in IE and that
    makes no difference.  I can download a local copy of the file and open in just fine.  The file in questions exists in a separate document library where it can be opened just fine (The file was copied to the library where the issue is occurring by
    a Workflow).  The issue also has only occurred on .docx files and not .doc, however, not all docx files are having the issue.
    Does anyone have any thoughts on what might be causing this?
    Thanks.

    Hi,
    According to your post, my understanding is that when you opened a certain files from a document library, it hanged at the downloading stage.
    I tried to reproduce the issue, after coping by a workflow, the .docx files opened well in my environment.
    Did the issue occur in other documents libraries? You can copy the files to a new documents library by workflow, then check whether it works.
    For more details we also can check the SharePoint ULS logs.
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS
    Have you check your IE settings (Tools->options->connections->LAN settings->uncheck Automatically detect settings).
    Please also use fidder tools to detect the process. You can download it by the following link.
    http://fiddler2.com/
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Sharepoint 2010 Document Library Group Filter

    I am having difficulty grouping my documents without folder by grouping by. I would like to use the expand or collapse feature. I have several documents that are need to be group together and have a separate sub group of folders that will not allow me
    to have to type each content in the sub groups.

    Hi,
    Per my knowledge, when we apply the group by feature in the view, the documents would group by the column which you had chosen as below.
    When we upload a file to the library, the file would auto group by in the library.
    Could you explain more details about your issue? It will be better if you can give us a print screen.
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • How to put water mark in web dynpro abap Adobe forms

    Hi
    Can any body tell me how to put water mark in web dynpro Abap adobe forms ,
    actually I need to print water mark as back ground in gray color.
    Points will be rewarded of Helpful answer..!
    Regards,
    Sidram

    Hi,
    for more information about layout options in forms, go to your form in transaction SFP, layout view and choose Help -> Adobe LifeCycle Designer Help. There you find information on page layout, e.g. " Objects can be placed anywhere on a master page, inside or outside the content area. As a general rule, do not place objects inside the content area unless your intention is to have other objects laid down on top of the master page objects when the form is rendered. If you are setting up a watermark, place it inside the content area. "
    Besides, there's an Adobe forum where you might get more information for such Adobe questions.
    Regards, Heidi

  • How to block specific DL in SharePoint 2010 application.

    Hi All,
    We have SharePoint 2010 farm. I have a requirement to block specific Distribution List which should not recognized when user trying to give access at (user.aspx page)site level.
    How can i  restrict this in SharePoint 2010 farm.
    Regards
    S. Mani

    You can use content editor webpart to run javascript. Java script will redirect users from accessing the site. You need t o specify the user Id; it wont work on DL
    Blow is the java script:
    ==================Script Start ===============
    ExecuteOrDelayUntilScriptLoaded(getWebUserData, "sp.js");
    var context = null;
    var web = null;
    var currentUser = null;
        function getWebUserData() {
            context = new SP.ClientContext.get_current();
            web = context.get_web();
            currentUser = web.get_currentUser();
           currentUser.retrieve();
            context.load(web);
            context.executeQueryAsync(Function.createDelegate(this, this.onSuccessMethod), Function.createDelegate(this, this.onFailureMethod));
        function onSuccessMethod(sender, args) {
            var userObject = web.get_currentUser();
            if (userObject.get_loginName() == 'i:0#.w|domain\userid')
               window.location="/businesses/pulpandfibre";
        function onFailureMethod(sender, args) {
            alert('request failed ' + args.get_message() + '\n' + args.get_stackTrace());
    =============Script End===============

  • Connecting a SharePoint 2013 Document Library to Outlook 2010 client

    Good Day,
    Can someone please confirm if you can connect a SharePoint 2013 Document Library to Outlook 2010 client?
    I have seen articles, like the one shown below for Outlook 2013 to SharePoint 2013;
    http://www.sharepointgeoff.com/how-to-connect-a-sharepoint-2013-document-library-to-outlook-2013/
    Please provide a link to documentation to validate what Outlook Office versions will support viewing Document Library from Outlook client from a SharePoint 2013 Document Library.
    Thanks in advance for taking the time to review my request.
    Regards,
    Mark

    Hi Mark,
    Per my understanding, you might want to connect SharePoint 2013 Document Library to Outlook 2010 client application.
    Yes, SharePoint 2013 Document Library can connect to Outlook 2010 client application, the connecting process is similar as what SharePoint 2013 connect to Outlook
    2013 client application does.
    Thanks
    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]

  • SharePoint 2007 Migration SharePoint 2010 Documents Broken Link Issue

    Hello All,
    I'm in the process of doing a SharePoint migration from 2K7 to 2010 (different platform).  In SP 2K7 I have several thousands of documents. I have approx. 5K documents with anywhere from 1 to several links (http, https) that
    will break after the migration.   Are there any Best Practices to deal with this issue?  Any information at all!!!
    Thanks
    Suge
    Deny yourself the knowledge of other cultures, you deny yourself the true riches of the world. Suge

    Hi,
    There are a lot of resources out there for migrating from MOSS 2007 to SharePoint server 2010. You need to have at least SP2 for MOSS 2007 installed on your WFE server. After that you can check the status of your farm running
    stsadm -o preupgradecheck.
    I have published a checklist for migration, check it out:
    http://social.technet.microsoft.com/wiki/contents/articles/checklist-for-migrating-from-sharepoint-2007-to-sharepoint-2010.aspx
    This technet link provide you with a comprehensive guide:
    http://technet.microsoft.com/en-us/library/cc303420.aspx
    The best approach is to set up a separate SharePoint 2010 farm and the perform a database attach migration. You simply take a backup of your content database and the restore it to your new SQL server, then attach it to a web application you have created.
    See the checklist I have provided above.
    Regards
    Henrik A. Halmstrand
    sharepointrevealed.com
    getspconfig.codeplex.com
    Please click Mark As Answer; if a post solves your problem or
    Vote As Helpful; if a post has been useful to you.

  • Cannot Publish Slides from PowerPoint 2013 to SharePoint 2010 Slide Library

    I have the 64-bit version of Windows 8 Release v1.0, Internet Explorer version 10 (10.0.9200.17183), Office 2013 Professional 32-bit, and a SharePoint 2010 environment.  I cannot publish slides to the SharePoint environment at all.  When
    I attempt to do so from PowerPoint 2013, I receive an error indicating all slides (X of X) failed to upload.  When I attempt to use the option in the SharePoint 2010 Slide Library (Upload > Publish Slides) I receive the error of "This feature
    requires Microsoft Office PowerPoint 2007.  Either the application is not installed, or your browser is not configured to support ActiveX controls."
    I have added the URL for the site in question to my "Trusted Sites" in Internet Explorer 10.  I read through the KB 2716529.  There is no TabProcGrowth registry entry under HKEY_CURRENT_USER, but there is one under HKEY_LOCAL_MACHINE
    and the value is set to "Medium" which appears to be accurate.  I tried running the "Fix it For Me" option offered with that KB, and the wizard indicated the problem could not be found on my computer.
    How can I resolve this issue?  Utilizing slide libraries is a very important feature of SharePoint for my organization, and going back to Office 2010 is simply not an option. 

    Hi Jen_O,
    According to your description, my understanding is that you were unable to publish Slides into SharePoint 2010 with Office 2013.
    For narrowing this issue, let's verify the followings:
    Please test on other machines with the same system configuration, compare the result.
    Please test on other machines with 32-bit system and IE 10, compare the result.
    Whether you are able to publish Slides from Windows 7 and Office 2013 32-bit.
    Whether this issue occurres for all slide files with Office 2013.
    Please create a new slide in PowerPoint 2013, and check if it could be uploaded into a new Slide library.
    In addition,  Office Web Apps (as part of SharePoint 2010) allow SharePoint users to view and edit Office documents (Word, PowerPoint, Excel etc.) from within the browser. Typically we can click on a link to a PowerPoint, for example in a document library,
    and be taken to a new page to present PowerPoint.
    More information:
    https://support.office.com/en-us/article/Start-using-Office-Web-Apps-in-SharePoint-2010-995dc117-6ca9-4452-9ca0-a6a9009dc907?ui=en-US&rs=en-US&ad=US
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

Maybe you are looking for