Is it possible to give link of document library in sharepoint list in 2010

Hi All,
Using share point list data we have shown in reports. For this we create 1 view and shown as reports. we have 1 document library with title field, same field is in list also.when we click on link on list - it redirects to library folder.
Is their anyway to do that where as list is custom list.
Any help is appreciated..!

Hi Bangara,
According to your description, my understanding is that you want to create a link in your list, then this link is linked to a library folder. Is it right?
You can create a Hyperlink field in your list as opening your list->clicking on ‘Create Column’ under List ribbon, then type a name for the column, select the type of the column is Hyperlink or Picture, and Format URL is :Hyperlink.
After that, when you create a new item or edit an item in the list, you can type the URL of the related library folder in this link field.
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support

Similar Messages

  • Updating a title column in list that is a lookup column to document library in sharepoint designer workflow 2010

    Hi I have a requirement to create a list item in Contracts List when a document is uploaded in Contracts Vendor library.
    Contracts List will
    have  columns - Contract Name ( title column), Contract Number, Contract Start date and end date.
    Contracts Vendor library will have Contract
    Name,Contract NUmber.
    User will select the Contract Name from drop down ( this is look up column linked to Contract Name in Contract
    List).When user uploads document in Contract Vendor library then item should be created in Contract List with selected Contract Name and
    Contract number .
    Contracts and Contracts Vendor are related by look up Contract Name. Contract Name is internally a title column in
    Contracts List.
    Issue1 :
    Since Contract number is look up column, while I am creating item the Contract name is not getting updated in
    Contracts List. I have to use sharepoint designer workflow to achieve this task. Title colum or Contract Name shows no title.
    Issue 2:
    One
    more issue I am facing is that Contracts List has Section and Division cascaded drop downs when i select values from section and division
    dropdowns and save item in Contracts list the values are getting saved in Contract List.
    Could anyone suggest me how to handle this ? I am
    attaching the screenshots of the list and library structure. TRuly appreciate your help.
    Below are screenshots of the list structure

    Hi,
    According to your post, my understanding is that you wanted to update a title column in list that is a lookup column to document library in sharepoint designer workflow 2010.
    I try to reproduce the issues as follows:
    Create a custom list named Contracts List, add columns: Contract Name ( title column), Contract Number(Number), Contract Start date(Data and Time) and Contract End date (Data and Time).
    Create a document library named Contracts Vendor library, add columns: Contract Name(Lookup), Contract NUmber(Lookup).
    Create a workflow associated to the Contracts Vendor library.
    Add action: Create List Item.
       5. Start the workflow automatically when an item is created.
       6. Upload a document, select the Contract Name and Contract NUmber, the workflow will be started automatically.
       7. Open the Contracts List, an item will be added with the Contract Name and Contract Number in the Contracts Vendor library.
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to open links from document library in a new window?

    I have a column called "Links" in document library, i want to open those links in a new window. Please guide me on this how to achieve this.
    Thanks
    Ramanjulu Naidu N

    hi,
    See whether these links help you -
    http://preachingsharepoint.blogspot.com/2012/06/open-document-in-new-window-from.html
    http://stackoverflow.com/questions/5119919/sharepoint-links-how-to-open-in-new-tab-window
    http://www.benramey.com/2011/04/25/opening-all-sharepoint-2010-documents-in-a-new-window/
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/9db08c4a-b53c-419a-84f8-001c194d1311/how-to-open-sharepoint-document-library-pdf-file-in-new-window?forum=sharepointadminlegacy
    http://www.andrewconnell.com/Adding-OpenInNewWindow-option-to-SharePoint-Links-lists
    http://www.uccorner.com/32/sharepoint/sharepoint-open-links-in-new-window/
    Hope this helps!
    MCITP: SharePoint 2010 Administrator
    MCTS - MOSS 2007 Configuring, .NET 2.0
    | SharePoint Architect | Evangelist |
    http://www.sharepointdeveloper.in/
    http://ramakrishnaraja.blogspot.com/

  • Linking a document library to a Sharepoint/Access 2013 App

    I am not a developer but I am playing with building an app within SharePoint 2013.  I am an office 365 subscriber.  I am attempting to build an app that would act as a simplified CRM for SharePoint.  I would like to add attachments like emails
    and pdfs to the records I create and it appears the attachment feature is not available within the app environment.  I also can't figure out how to link a document library and it's records to an app as I thought this might be a work around.  So here
    are my two questions:
    Is there a way to add attachments directly into a sharepoint/access web app within sharepoint?
    If not is there a way to connect a document library to the sharepoint access web app as a work around?
    If you have any other ideas they would be greatly appreciated.  Thanks in advance.
    Ben

    I know this is a year late, but for anyone still searching for this, I found a solution that works well for me:
    1. Create the table in the Access Web App that you wish to attach files to.
    2. Use Sharepoint Business Connectivity Services to read the data in the background database for your Access Web App.
    3. Create a document library in Sharepoint, adding an external data column type, using the content type you created in Business Connectivity Services.
    You can now specify an access web app table row from within your document library in sharepoint.
    4. In Access, link a table to the sharepoint document library.  
    5. Edit the default created datasheet from your linked table, to include the fields you wish to display.  Include the field that is used for your field name in the document library - it has a hyperlink included in it.
    6. In the view form for your original table (step 1), add a subview, specifying the datasheet from step 5 and linking by the field id that should now be shared between your original table and the linked sharepoint document library.
    You can now see the files attached to the table item, including a hyperlink in the file field.
    7. Add a hyperlink to your view form to the upload.aspx in the document library.
    8. For added ease, you can pass the row id of your original table to the external content id of the document library within the url.  This takes added javascript work on editform, but it makes it so that the user does not need to select the external
    data.  You can even hide the field if you wish, but I kept it visible so that I can edit within the library.
    A true step by step would take a lot more time.  If you're familiar with these subparts, this should make sense to you.  I hope.

  • Prompting the credentials while click MS office documents in document library in SharePoint Foundation 2010

    Hi,
    I have site with contains many document library each contains many MS Office and Pdf files. We have provided document library level access rights. While users click the file name, "Prompting the credentials while click MS office documents in document
    library in SharePoint Foundation 2010".
    Its annoying the user.
    How could i resolve this? Its for all users.
    Note: only for MS Office file. other files are opening correctly.
    Kind Regards
    Poomani Sankaran

    Hi,
    According to your post, my understanding is that you got the promote issue when clicked the documents in the library of the SharePoint foundation server.
    The issue may be caused that the Kerberos authentication is misconfigured, you can change to NTLM to check whether it works.
    http://www.techrepublic.com/blog/smb-technologist/prevent-unwanted-credentials-prompts-with-sharepoint-document-libraries/
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Creating a folder for a document library in SharePoint online

    Hello I am looking for a good place to get started on creating a folder for a document library using a powershell script. Thanks in advance for any help.

    Here is a guide to creating folders and items in a document library for SharePoint Server/Foundation: Creating SharePoint Folders
    and Items with PowerShell. You will need to tailor it to your needs as it's a demo for creating 50,000 items.
    That's step 1 and contains the bulk of what you would need to do. Here's an example of connecting to a library in SharePoint Online using CSOM: Office
    365 - PowerShell Script to Upload Files to a Document Library using CSOM. You won't be uploading files, but the parts where you connect and get a list are what you're interested in.
    Now you'll combine bits from both of these scripts:
    1. Connect to SPO
    2. Get your list (looks like you need to first get the site collection and then the site)
    3. Create a folder
    I figure it would look something like this (note I haven't tested this at all):
    #Specify tenant admin and site URL
    $User = "[email protected]"
    $SiteURL = "https://tenant.sharepoint.com/sites/site"
    $DocLibName = "DocLib"$FolderTitle = "Example Folder"
    #Add references to SharePoint client assemblies and authenticate to Office 365 site - required for CSOM
    Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll"
    Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.Runtime.dll"
    $Password = Read-Host -Prompt "Please enter your password" -AsSecureString
    #Bind to site collection
    $Context = New-Object Microsoft.SharePoint.Client.ClientContext($SiteURL)
    $Creds = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($User,$Password)
    $Context.Credentials = $Creds
    #Retrieve list
    $List = $Context.Web.Lists.GetByTitle($DocLibName)
    $folder = $list.AddItem("", [Microsoft.SharePoint.SPFileSystemObjectType]::Folder)
    $folder["Title"] = $FolderTitle
    $folder.Update();
    Jason Warren
    @jaspnwarren
    jasonwarren.ca
    habaneroconsulting.com/Insights

  • How to create a document library in Sharepoint Online using Powerpoint?

    I've been trying to create a document library in Sharepoint Online via pwoershell and I've been trying to see if anyone else has the code but the only scripts i could find are for Sharepoint 2010 on-premise and it's not compatible with Sharepoint 2013.
     Can anyone help me?
    Thanks!
    Dearbhla Bradley

    It's SharePoint Client-side Object Model.  Here are few references:
    http://msdn.microsoft.com/en-us/library/office/jj193041(v=office.15).aspx
    http://msdn.microsoft.com/en-us/library/office/dn268594(v=office.15).aspx
    These postings are provided "AS IS" with no warranties, and confers no rights.

  • ID in Document library in SharePoint 2013

    Hi,
    I have an document library in SharePoint 2013.I uploaded some documents to document library for testing.Now I deleted these testing documents.And when user starts adding documents,the id of the document  is not started from 1.
    So how I will get the id starting from 1. 
    Any help?
    Thank you.

    Save the list as a template and recreate the list usign this template. ID columns will always keep incrementing
    and will never be reused.

  • How to Copy list item attachment to document library in SharePoint 2010

    Hi,
    How to Create a folder ("List Item - Title Name") in Document library and copy list items Attachments to the same folder in SharePoint 2010,thanks in advance.
    Regards,
    Selvan.J
    Selvan J

    Hi,
    You should first check whether the folder exists in the library, if the folder not exists, then create it.
    I had modified the code, you can use the following code snippet to achieve it.
    private void EventCopyFileWhenItemCreatedOrUpdated(SPItemEventProperties properties)
    SPSite site = new SPSite(http://YourSiteName);
    SPWeb web = site.OpenWeb();
    SPList doclibList=properties.Web.Lists["YourLibName"];
    bool foundFolder = false;
    if (doclibList.Folders.Count>0)
    foreach (SPListItem fitem in doclibList.Folders)
    if (fitem.Title.Equals("FolderA"))
    foundFolder = true;
    break;
    if (foundFolder == false)
    SPListItem folder = doclibList.Folders.Add(doclibList.RootFolder.ServerRelativeUrl, SPFileSystemObjectType.Folder,"FolderA");
    folder.Update();
    string fUrl = doclibList.RootFolder.ServerRelativeUrl+"/FolderA";
    SPFolder myLibrary = web.GetFolder(fUrl);
    if (properties.ListTitle == "YourListName")
    SPListItem sourceItem = properties.ListItem;
    properties.Web.AllowUnsafeUpdates = true;
    //get the folder with the attachments for the source item
    SPFolder sourceItemAttachmentsFolder =
    sourceItem.Web.Folders["Lists"].SubFolders[sourceItem.ParentList.Title].SubFolders["Attachments"].SubFolders[sourceItem.ID.ToString()];
    //Loop over the attachments, and add them to the target item
    foreach (SPFile file in sourceItemAttachmentsFolder.Files)
    if (CheckFileNameExist(file.Name , properties) == false)
    byte[] binFile = file.OpenBinary();
    myLibrary.Files.Add(System.IO.Path.GetFileName(file.Url) , binFile);
    private bool CheckFileNameExist(string fileNameInFileAttach, SPItemEventProperties properties)
    bool flag = false;
    SPList myDocumentLib = properties.Web.Lists["YourLibName"];
    SPQuery spQuery = new SPQuery();
    SPListItemCollection items = myDocumentLib.GetItems(spQuery);
    foreach (SPListItem item in items)
    if (fileNameInFileAttach == item["Name"].ToString())
    flag = true;
    break;
    return flag;
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Link from Document Library to UNC Path

    Can anyone tell me if it is possible to create a link from a document library to a UNC path?
    I need to establish links to resources in an existing document repository, but Sharepoint presents the following message when attempting to add the link "Enter a valid document name and URL. Valid URLs must begin with 'http:' or 'https:'"
    Thanks in advance.
    Dave

    Following are the steps to achieve this.
    1) Create a site content type of type "link to a document" with "Document" as a parent content type.
    2) Add the same to the document library.
    3) Go in the layouts folder open newlink.aspx in Visual Studio IDE
    4) add the following function to the script tag
    Code Snippetfunction HasValidUrlPrefix_Override(url)
                var urlLower=url.toLowerCase();
                if (-1==urlLower.search("^http://") &&
                -1==urlLower.search("^https://") && -1==urlLower.search("^file://"))
                return false;
                return true;
     5) Replace "HasValidUrlPrefix" to "HasValidUrlPrefix_Override" in the newlink.aspx
    6) IISReset and when adding a link to a file share. It shoudl be done in the following format "file://\\{ComputerName}\\}FileName}" it should work
    7) Change the wss resource file present in app_globalresources to show the following message "Enter a valid document name and URL.  Valid URLs must begin with 'http:' or 'https:' or 'file://'"
    Hope this should help.
    Regards,
    Mayur

  • How to enable more documents link in Document library view on webpart page

    hi,
    I had document library having more then 100 items, I limited the items to display as 5. I added this document library to my web part page. Now i wan to include "More Documents..." link here but I was unable to find any such option in
    web part properties.. Can any one suggest on this. How to enable this option.
    Thanks & Regards, Krishna

    Hi Krishna,
    You can add the following code in the content query template in the ItemStyle.xsl:
    <xsl:if test="count(following-sibling::*)=0">
    <div class="readMore" style="float:right">
    <p>
    <a title="More" href="/Lists/Team%20Caledar/calendar.aspx">More</a></p></div>
                        <xsl:if test="$ItemsHaveStreams = 'True'">
           <xsl:attribute name="onclick">
            <xsl:value-of select="@OnClickForWebRendering"/>
           </xsl:attribute>
          </xsl:if>
    Thanks!

  • Unable to create a new folder in document library of SharePoint 2010

    Hi There,
    Need some help regarding an issue which is occurring after migration from SP 2007 to 2010.
    We have recently migrated a site to SP 2010, after migration whenever i tried to create a new folder in a document library it gives me an error message below
    SPException: Can not find the form to create default data for the list
        Microsoft.SharePoint.Utilities.SPUtility.ThrowSPExceptionWithTraceTag (UInt32 TagId, ULSCat traceCategory, resourceId String, Object [] resourceArgs) 28098007 
        Microsoft.SharePoint.ApplicationPages.ListFormRedirect.InitializeQueryStringMembers () 1764 
        Microsoft.SharePoint.ApplicationPages.ListFormRedirect.OnLoad (EventArgs e) +25 
        System.Web.UI.Control.LoadRecursive () 66 
        System.Web.UI.Page.ProcessRequestMain (Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 2428
    All the document libraries which are created with the custom list template has this problem. 
    Moreover, I have verified and found Upload.aspx page is available in Forms folder of a document library. 
    Can someone help me in resolving this issue.
    Thank you in advance.
    Vikram
    vikram padigala

    Hi,
    All the document libraries which are created with the custom list template has this problem. 
    Did you mean you had a custom library template?
    Did the issue occur in the library which created use the out of the box template, such as use the Document Library template?
    You can check with the OOB template library to test whether they had the same issue.
    If the OOB template library works well, the issue may be related to the custom library template.
    You can try to recreate a new custom template to check whether it works.
    To quickly and accurately find the issue , you can also check the event log and ULS log to see if anything unexpected occurred.
    For SharePoint 2010, by default, ULS log is at
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • How to apply masterpage for document library in SharePoint 2013

    Hi,
    is it possible to change the master page in library level.

    DO you mean JUST at the library level?  If so, there's no way that I know of as Master Pages are applied to Sites at a whole.  They then have Page Layouts added, which tell SharePoint where to load the content, which is where your document library
    would be.
    What do you hoping to achieve?
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • How do I show/refresh data from an Access Web App in an Excel spreadsheet saved in a Document Library on Sharepoint 2013 online

    I have an Access 2013 Web App in my Sharepoint 2013 online website. It contains a query to report on its data (several, actually, but let's keep it simple). I want to connect an Excel spreadsheet to the query, visualise the data in pivot tables/graphs/whatever,
    save the spreadsheet in a Document Library, and let other team site Sharepoint users open the spreadsheet (preferably in Excel online, but with Excel client if it has to be) and see/copy the data, refreshed with the latest information from the Access Web App.
    Simple, surely!
    The way I'm doing it at the moment is to create an ODC file to connect to the cloud-based Access 2013 database, save that ODC in a Data Connection Library in the SP site, and use the saved ODC file as data source in the Excel spreadsheet. This works and
    successfully keeps everything 'in the cloud' but I can't get it to refresh in Excel Online, and if I open the spreadsheet in Excel Client I have to enter the database password every time to refresh it. I don't really want to issue this password to everyone
    who might want to view the data. There must be a better way than this ODC method, I suspect.
    Googlings on this have led down various blind alleys - Excel Services, PowerPivots, Web Parts - but I'm stuck on which to follow through. Please, someone, point me to an article/book/website that explains how to do this step-by-step in simple language..
    thanks
    Jonathan

    I don't see any quick way of achieving it - at least there's no such functionality exists in SharePoint. All you can do, develop an event receiver that will update the fields in the list item once the excel file is added/updated. You can use OpenXml API
    to manipulate the excel file.
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

  • Getting correlation error while opening document library in SharePoint 2010

    Hi,
    I installed SQL Server 2008 R2 SP1 and SharePoint 2010 on Windows Server 2008 R2. Everything went fine for first days. Now I am getting error while opening any of the document libraries. However lists are opening fine.
    Error:
    An unexpected error has occured.
    Troubleshoot issues with Microsoft SharePoint Foundation
    Correlation ID: fa54267f-4436-8298-c7698977728c
    I checked the logs, I showing some error with the line http://Microsoft.Office.Server.UserProfiles/GetProfileProperties
    Please let me know if you have any idea about this error or let me know if you need further inputs from me. Thanks.

    Hi Tarique,
    Whether you have granted the user proper permissions on this site. You should make sure the user has permissions on the site.
    In addition, there are some reasons for the log-in issue, please take a look at:
    http://sharepointsolutions.blogspot.com/2008/06/how-do-i-make-our-sharepoint-site-stop.html
    http://sharepointsolutions.blogspot.com/2008/06/how-do-i-make-our-sharepoint-site-stop_17.html
    http://dinesql.blogspot.com/2011/01/cannot-login-to-sharepoint-2010-site.html
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

Maybe you are looking for

  • Error Message 11556 when trying to sign in to iTunes Store

    For the past week or so, when trying to sign in to the iTunes Store, I get an unknown error message (11556). I don't have any connectivity problems... I can connect to the internet without any problems... my iTunes opens the internet when I click on

  • How do I add data to an existing file, without having to create a new one?

    Hi, I made a servlet which is supposed to write the word "new" in a file everytime the server creates an instance: File chatInfos = new File("LOCATION_OF_THE_FILE/infos.dat");    if(chatInfos.exists()) {     try {     FileOutputStream fos = new FileO

  • Learning Photoshop CS2 - Books, tutorials courses ?

    Hi everyone! I would firstly like to apologise if this topic has been covered in depth but i am desperately looking for the right book/s as a Christmas present to ensure that my girlfriend learns Photoshop CS2 with ease. I have some experience in Pho

  • 10.4.9. shut down

    Just installed 10.4.9 and watching for problems. One I observed right away. Before when I wanted to shut down my iMac I held down the control key and then the CD eject button. Now I have to go to the Apple menu and select Shut Down- Anyone else exper

  • Use additional mouse buttons in javafx

    Hi to all Is there a possibility to use events for additional mouse buttons, like the next or previous mouse buttons, in javafx? If I use the setOnMousePressed event on a node, it only throws an event for the "PRIMARY" "SECONDARY" and "MIDDLE" button