Set Document library view as welcome page

Hi
I want to set my Document library view as welcome page of my SharePoint  site 2013.
How can I achieve this.
Regards,
Siva.

Hi,
According to your description, my understanding is that you want to change the welcome page to the document library view page in SharePoint 2013 site.
You can use SharePoint designer to find the view page in “All files” and then set the document library view page as welcome page .
Here is a detailed article for your reference:
http://techtrainingnotes.blogspot.com/2011/06/sharepoint-how-to-change-default-home.html            
Thanks
Best Regards
Jerry Guo
TechNet Community Support

Similar Messages

  • 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!

  • Different View for same document library on a Wiki Page

    Hi,
    I am developing a Provided hosted app which have a functionality to create a document library with two Views. Also we need to show this document library in a wiki page with two different views.
    I am using CSOM (C#). I am able to create the document library and the two views programmatically. But when I add the document library in the wiki page the default view (All Documents) is shown for both the web parts. There is an hidden view created with
    the WebPartDefinition from the xml provided through code. 
    Through CSOM we are able make a View as default with the link below.
    http://sharepoint.stackexchange.com/questions/90433/add-document-library-xsltlistviewwebpart-using-csom-or-web-services
    In my case both the webparts will get the same view, where I need different view for same document library in a wiki page.
    Also I tried to update the web parts with the following code.
    string viewString = @"<View Name='{0}' MobileView='TRUE' Type='HTML' Url='/SitePages/Home.aspx' Level='1' BaseViewID='1' ContentTypeID='0x' ImageUrl='/_layouts/15/images/dlicon.png?rev=23' >
    <Query><Where><Eq><FieldRef Name='KeyDocument'/><Value Type='Boolean'>1</Value></Eq></Where></Query>
    <ViewFields><FieldRef Name='FileLeafRef'/><FieldRef Name='DocumentOwner'/><FieldRef Name='Modified'/>
    <FieldRef Name='_UIVersionString'/><FieldRef Name='Editor'/></ViewFields>
    <RowLimit Paged='TRUE'>30</RowLimit><JSLink>clienttemplates.js</JSLink><XslLink Default='TRUE'>main.xsl</XslLink>
    <Toolbar Type='Standard'/></View>";
    WebPartDefinition wpd = wpfound.FirstOrDefault();
    string formattedstring = String.Format(viewString, wpd.Id);
    wpd.WebPart.Properties["XmlDefinition"] = formattedstring;
    wpd.SaveWebPartChanges();
    web.Context.ExecuteQuery();
    I created two views (viewString) as shown above.
    The above code did not throw error, but it did not update the web part.
    Please advise how to move forward.

    Hi Samir,
    When we click outside of the list view webpart on a webpart page (or allitems.aspx page) with containing multiple webparts, the list view webpart will lose the focus, and the selected items will be deselected, this is by design.
    You can look at the following article with using the approach/workaround of Javascript to prevent the specified list view webpart from losing focus.
    http://sharepoint.stackexchange.com/questions/44360/list-view-loses-focus-when-additional-webpart-added-to-page
    //Set focus on our list web part
    var webPart = document.getElementById('WebPartWPQ1');
    WpClick({target: webPart});
    //Prevent it from losing focus
    SP.Ribbon.WebPartComponent.$3_1.deselectWebPartAndZone = function() { };
    Thanks
    Daniel Yang
    TechNet Community Support

  • Set the horizontal scroll bar for the OOTb document library view

    hi all,
     Am facing an issue in my sp portal.We have designed and developed the portal with OOTB document library views for site columns also. Going to enable the doc lib view. but  we have some  35 columns in eeacha nd every document
    library within our sub site. But if an end user wants to see the last column then he needs to scroll. but, since  then my master page has fixed width, the top corner will be seen as blank. would like to know how can we set horizontal scrolling
    in this doc lib view .
    Das

    Hi,
    According to your description, my understanding is that you want to set the horizontal scroll bar for the document library when the last column postion exceed the fixed width.
    I suggest you can try to use Jquery to set the width attribute of the menu bar dynamically if the document library width exceeded. You can add the Jquery or CSS style using SharePoint Designer under the PlaceHolderMain tag of document
    library page. Also, you need to find the div id in your environment using Internet Explorer.
    More information:
    http://sharepointpromag.com/sharepoint-development/sharepoint-branding-101-branding-master-pages
    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]

  • Show custom EditForm from a specific document library view

    Hello,
    I've created a custom EditForm that I would like to show when the user clicks the "<label for="ShouldDisplayEdit">Edit" (link to edit item)</label> icon; however I just want to show this EditForm for a specific view.
    I have a listview webpart (actually an "app") for the library and this specific view set on a page. However, it opens the default edit form instead of the custom one. (StatusEdit.aspx). I don't want to set StatusEdit.aspx as the default, as it
    has fewer fields than the default edit form.
    I am able to hide fields conditionally using SPClientTemplates.TemplateManager.RegisterTemplateOverrides, but it's been a lot of work to try to make it match the requirements I have. I'd really like to have the custom edit form work if it's possible.
    Thank you for your help!
    Best Regards,
    Kevin Worthington

    Hi,
    According to your description, my understanding is that you want to specify the custom EditForm for a specific document library view.
    We can change the link to edit item button url using Jquery to achieve it.
    Here is a code snippet for your reference:
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    function changeurl()
    $(' ms-itmHoverEnabled ms-itmhover ms-droppable).find('ms-vb-lastCell ms-cellstyle ms-vb-icon ms-vb-lastCell').attr(‘href’,”http://new url”);
    </script>
    Here are some detailed articles for your reference:
    http://stackoverflow.com/questions/179713/how-to-change-the-href-for-a-hyperlink-using-jquery
    http://stackoverflow.com/questions/8729830/jquery-find-td-of-tr-with-class-and-make-changes-for-a-telerik-mvc-grid
    Thanks
    Best Regards
    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]
    Jerry Guo
    TechNet Community Support

  • Displaying Document Name With The Summary in a Single Column Using Document Library View.

    Hi All,
    I have a question that relates to SharePoint Document Library Views. I want to view the Documents name with the summary in a single column. Below image shows an example of it. I need this within a SharePoint Document Library. Also I want the height of the
    row to be increased more than the default height. I cannot figure it out how to do that? Could you someone help me to do this. I have inserted the Document Library as an App Part to the page. 
    So could you someone help me to solve this matter?
    Thanks and regards,
    Chiranthaka

    HI Chiranthaka,
    You can create DataView webpart using SPD and then modify the display template according to your need.
    http://deannaschneider.wordpress.com/2012/07/10/item-counts-dvwp-sp2010/
    Hope this will help to solve your problem.
    Best Regards,
    Brij K

  • Displaying Document Name & The Summary in a Single Column Using Document Library View

    Hi All,
    I have a question that relates to SharePoint Document Library Views. I want to view the Documents name with the summary in a single column. Below image shows an example of it. I need this within a SharePoint Document Library. Also I want the height of the row
    to be increased more than the default height. I cannot figure it out how to do that? Could you someone help me to do this. I have inserted the Document Library as an App Part to the page. 
    So could you someone help me to solve this matter?
    Thanks and regards,
    Chiranthaka

    HI Chiranthaka,
    You can create DataView webpart using SPD and then modify the display template according to your need.
    http://deannaschneider.wordpress.com/2012/07/10/item-counts-dvwp-sp2010/
    Hope this will help to solve your problem.
    Best Regards,
    Brij K

  • How can I clear the recent document list on the welcome page?

    Have some confidential docs that I don't want to appear when the program is launched. How can I clear the recent document list on the welcome page and the "open recent" list?  thx

    It's not an option in the prefs. It's a hidden file that makes up part of the preference set (as far as I know, most, or all of the seetings you can adjust inside ID's prefences dialog are actually saved in the other half of the set, InDesign Defaults). For more information, see Replace Your Preferences

  • Sharepoint 2013 Document library view show version history

    Hello everyone,
    I have a document library view with many folders. Each folder is a procedure and have document attached to it.
    When I add a new version, I would like to show version history for each document contained in the folder. For example:
    There is a folder Procedure 123 which has three files ( File1, File2, and File3). After a week the user the user created new revisions for each document.
    I would like to have a document view with the following information
    File Name   version
    ======  ======
    File 01         0
    File 02         0
    File 03         0
    File 01         1
    File 02         1
    File 03         1
    File 01         2
    File 02         2
    File 03         2
    Thanks for your help.
    Jhonny Marcelo

    This is quite simple, you have to modify the current view (Modify this view) of document library and then you can select version column from available column list (make sure version is enabled). please check below picture for detail.
    Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer.

  • How to set Document Library Item Limit at Site Collection level?

    Hi,
    I have SharePoint which contains one Site collection with many Sites. Each sites has many document library.
    Actually my requirement is, End Users  wants to see only 10 items per page in document library. We can manually set by using "Item Limit" option but i could not set that for around 150 document libraries.
    Is there any possible to set that in Site Collection level?
    Thanks & Regards
    Poomani Sankaran

    You can run for each loop and use below code
    http://get-spscripts.com/
    #Get the site and list
    $web = Get-SPWeb "http://portal/sites/testsite"
    $list = $web.GetList(($web.ServerRelativeUrl.TrimEnd("/") + "/Shared Documents"))
    #Get the list view to be changed
    $newview = $list.Views["Sort by modified date"]
    #Set the mobile and default mobile view properties
    $newview.MobileView = $true
    $newview.MobileDefaultView = $true
    #Update the view configuration
    $newview.Update()
    $web.Dispose()
    $web.Lists[0].Views[0].RowLimit=30
    $web.Lists[0].Views[0].Update()
    How you can get all list using powershell
    http://sharepointrelated.com/2011/11/28/get-all-sharepoint-lists-by-using-powershell/
    If this helped you resolve your issue, please mark it Answered

  • Set document to be seen one page at a time but print four to a page?

    I would like to create a pdf (from a PowerPoint presentation) so that when it is viewed on the web it is seen one page at a time but when it is printed it prints four to a page. It is possible to put that in pdf document settings or do I have to rely on users to make the four to a page choice themselves when they print?

    File > Properties > Initial View
    You can set the initial view
    From the Advanced tab in the Properties you can set some Printing Defaults, but in AA9 Pro, I do not see Tiling as an option. (I believe the powers that be at Adobe thought it best to re-name this feature Banner in AA10. Perhaps it's Poster, I've only seen screen shots of AA10 Print dialog. They've sucessfully dumbed it all down in keeping with Microsoft's current philosophies. Increase font size should soon enough be replaced with "Grow Font")

  • Display a document library view on a subsite

    Hi
    I have SharePoint 2013 On-Premise and I would like to display a document library from the top level site in a subsite.  This subsite will then be saved as a template and used to create other subsites.
    For example,
    I have a site called Site 1.  In Site 1 there is a document library called doclib1.  Site1 also has a subsite called subsiteA.
    I would like to display a view from doclib1 in subsiteA.  SubsiteA will then be used as a template to create subsiteB, subsiteC etc.
    I have tried a few things but these have not worked or I am not doing it correctly.  Here is what I have tried
    Copied doclib1 code from site1 to subsiteA using SPDesigner. I get the error "List does not exist......"
    Used a Content Query Webpart.  I get the error "Something went wrong"
    Used a Data view web part.  The complete page was displayed.  I only want the view
    Although it looks possible, I do not know how to take this forward.  All I need is to display generic documents on each subsite that can be modified from one location.
    Marc Collins www.QGate.co.uk

    Hi,
    To get the custom field in the search filter.  You need to follow these steps.
    Go to the Search schema from the  Manage Service Applications -> Search Service Application in Central Administration
    Create a Managed property for your field (Category)
    Map the crawl property to the Managed property.
    Once managed property created, run the full crawl.
    Once full crawl executed, you are able to get your filter property in the search filter.
    http://blogs.perficient.com/microsoft/2012/07/sp2013-search-quickie-createmap-a-new-managed-property-powershell/
    Even though 2010 article, for 2013 steps are same.
    http://johnrossjr.wordpress.com/2011/03/18/creating-custom-managed-properties/
    Please mark it answered, if your problem resolved or helpful.

  • Is this a bug? Document Library view has the wrong 'Show in Folders' option when created from custom site template.

    I have a site with the default document library.
    I add views to the library, some ask for the items to be shown in folders, some not.
    I create a site template via the SharePoint UI.
    I create a new site.
    In the new site, the library exists, the views exist, but all the views are set to show the items in folders.
    Does anyone else have this problem? Is there a patch or any workaround?

    Hi  ,
    According to your description, my understanding is that view property "show all items without folders" is not preserved in packaging and is lost after we create a site using the saved site template.
    For your issue, I can reproduce your scenario in my environment. It should be caused by the scope attribute is missing. For a workaround, you can try to crack the site template wsp, add the missing scope
    attribute to the View schema in the list schema.xml.
    Also, I recommend you open up a ticket for deep investigation.
    Thanks,
    Eric
    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]
    Eric Tao
    TechNet Community Support

  • Document Library view selection menu missing

    Hi,
    I am encountering a strange issue with the SP2013 document library web part. I included a screenshot (see link) where you can see that the web part of the doc lib doesn't contain a view selector menu at the right side. This is only available after
    you go to the document library system page by clicking on the title of the document library. Does anyone have experience with this issue? Its very frustrating because the customer wants to see all the views at the home page of the site.  Thanks for the
    help.
    http://1drv.ms/1k5rSjk
    Blog: www.jasperoosterveld.com Twitter: @SharePTJasper

    You can still get to those views using the ellipses next to the view name can't you?
    It's probably related to the way that SharePont handles multiple web parts on a page. Rather than handle item references for multiple web parts they've been stripped out.

  • Document library view: Group by a column with multiple values

    I have a document library which has a managed metadata column.
    I would like to create a view which groups the documents by this managed metadata column.
    The managed metadata column can have multiple values.
    I know that this is not possible with SharePoint's group by, since it only accepts those columns which can have only one single value.
    But is this possible to accomplish by some other means, e.g. Content query web part? Or is there perhaps a 3rd party solution to this?
    Is it possible to change the group by settings somehow to allow Group by to function with columns with multiple values? <- this may be far fetched...

    Hi Pekch,
    I'm assuming you have VS2010 to build the custom web part. From there you will need to figure out the following:
    Get a SPList object for the Document Library (See below for code example)
    Loop through all the documents in the SPList object 
    If you have audience targetting enabled, then you'll need to determine if the user has access to the document by checking the "Target_x0020_Audiences" column)
    As you also want to group by metadata, you'll need to populate 2 datatables (one table with a column containing unique metadata values and another table with a metadata column and other document related columns).  Link these two tables via a dataset
    relation.
    Set the dataset as the datasource for a repeater, add in some css and javascript for the group expand/collaspe and it should be close to what you need.
    This will be a time consuming task if you don't know where to start or have problems figuring out how to perform a certain operation.  So you may want to determine if the functionality you want is required or just a "nice to have".  Good
    luck and if I have some spare time, I'll create a blog post outlining how to do all the above.
    I got the below code from a sharepoint blog sometime in the past and you can use it to retrieve a list.
    You can use it like this: GetListByUrl(http://servername/Shared%20Documents/Forms/AllItems.aspx)
    using    Microsoft.SharePoint;
    public SPList GetListByUrl(string listURL)
    SPList list = null;
    try
    using (SPSite site = new SPSite(listURL))
    if (site != null)
    // Strip off the site url, leaving the rest
    // We'll use this to open the web
    string webUrl = listURL.Substring(site.Url.Length);
    // Strip off anything after /forms/
    int formsPos = webUrl.IndexOf("/forms/", 0, StringComparison.InvariantCultureIgnoreCase);
    if (formsPos >= 0)
    webUrl = webUrl.Substring(0, webUrl.LastIndexOf('/', formsPos));
    // Strip off anything after /lists/
    int listPos = webUrl.IndexOf("/lists/", 0, StringComparison.InvariantCultureIgnoreCase);
    if (listPos >= 0)
    // Must be a custom list
    // Strip off anything after /lists/
    webUrl = webUrl.Substring(0, webUrl.LastIndexOf('/', listPos));
    else
    // No lists, must be a document library.
    // Strip off the document library name
    webUrl = webUrl.Substring(0, webUrl.LastIndexOf('/'));
    // Get the web site
    using (SPWeb web = site.OpenWeb(webUrl))
    if (web != null)
    // Initialize the web (avoids COM exceptions)
    string title = web.Title;
    // Strip off the relative list Url
    // Form the full path to the list
    //string relativelistURL = listURL.Substring(web.Url.Length);
    //string url = SPUrlUtility.CombineUrl(web.Url, relativelistURL);
    // Get the list
    list = web.GetList(listURL);
    catch { }
    return list;

Maybe you are looking for