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

Similar Messages

  • Document ID - Property field shows on item view property page after deactivating the Document ID Service features at Site Collection level

    Hi,
    When a site collection was created, I enabled the Document ID feature at site collection level.  Then some item was created in a document library as well as list libarary
    Now it was decided that we dont want the Document ID feature so I disable the feature from Collection feature list
    Still when a user view the property of a document it shows the Document ID property with the ID (when click on the ID it shows the message that 
    This Site Collection is not configured to use Document IDs.
    Troubleshoot
    issues with Microsoft SharePoint Foundation.
    Correlation ID: 9640ac9f-4b9c-4ae8-9f0b-402ed7e3b3c5)     Is there anything that I should do so that DOcument ID property does not show on the document property page... I tried
    to looked at the content type to see if I can remove the document ID but I could not find the Document ID as a property that can be removed from the type

     
    Hi,
    I would just remove the column from the view.  You can make views for each list, it you look under the list by Clicking List while the list is open, you should see a link in the ribbon which say "Modify view" click this link. 
    This link will open the edit view page you can then uncheck the box for the column which will remove it form that view.
    According to this
    http://msdn.microsoft.com/en-us/library/ee559302.aspx
    Deactivating the feature removes links to the Site Collection Settings page, makes the page that is used to look up document IDs no longer available, turns off the document ID service, and stops assigning document IDs. The server does not remove the columns
    that it adds at the site level when the feature is first activated so that, even after deactivation, the existing document IDs are preserved. After the feature is deactivated, users who try to use a static URL to look up an item by its document ID see an error
    message indicating that "This Site Collection is not configured to use document IDs."
    The Document id service will add new columns to the document content type and the document set content type. 
    It also adds an event receiver which should be deactivated when you deactivate the doc id service. 
    Theoretically.  You should be able to go in and remove the columns from the document type, and then force an update.
    Thanks,
    Rock Wang
    Rock Wang TechNet Community Support

  • Can we set List View Lookup Threshold at site collection level ?

    Hello,
    Presently, we have requirement to set the List View Lookup Threshold  at Site Collection/Sub-Site level instead of web application level.
    Could you please let me know, are there any ways to set
    List View Lookup Threshold setting at Site Collection/Sub-Site level
    in SharePoint 2010 using Powershell/Object Model
    Also, it would be helpful if you colud let me know, upto what extent , we can drill down List View Lookup Threshold setting i.e. SubSite/List/Library-Folder.
    Thanks in advance !
    Regards,
    Sagar Acharya
    Email -  [email protected]

    Hi Sagar,
    We cannot set list view threshold value at sitecollection/subsite level. It can only be set at web application level.
    However we can bypass the 5000 limit using PowerShell command by setting “Enable Throttling”= false for particular list.
    Reference link:
    http://pravahaminfo.blogspot.in/2012/10/how-to-increase-list-view-threshold.html
    Thanks,
    Somnath Matere

  • SharePoint 2013 : Add annotation to document library item

    Hi all,
    Is there a possibility to add annotation to library items. Example, I am sharing a document library item to a user then the user add an annotation and share to another user.  The other user also should add his/her comments on the item.
    Can anyone help me how to achieve this?
    Many thanks & regards
    Vinay

    We've done this in the past using a Rich Text Field in the metadata of the document.  You can set it up so it Appends new entries to the bottom of the field instead of replacing the existing content.  When a user edits the metadata they see a
    blank field.  When they save it their comments are added to the bottom with their name and a timestamp.  We've used it primarily on issues lists, but it should work on a document also.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Document Library + Items Color

    Hi All,
    Welcome to SharePoint products & Technologies.
    How to Change the color of the Document library items based on the field values? for eg., I have a column called "Status", based on this field values the color of the items should change accordingly.
    Can any one help me out on this issue.
    Let me know if you are not clear or need more information
    Regards,
    SpUser.

    Hi,
    Sorry for the late reply .Could not check the blogs.Here is the script to be put in content editor webpart:-
    <script language="javascript" type="text/javascript">
      var x = document.getElementsByTagName("td") // find all of the TDs
      var i=0;
      for (i=0;i<x.length;i++)
        if (x[i].className=="ms-vb2") //find the TDs styled for lists
          if (x[i].innerHTML=="In Process")
            x[i].parentNode.style.backgroundColor='lightyellow'; // set the color
    if (x[i].innerHTML=="Accepted")
            x[i].parentNode.style.backgroundColor='lightgreen'; // set the color
    if (x[i].innerHTML=="Not Accepted")
            x[i].parentNode.style.backgroundColor='red'; // set the color
    if (x[i].innerHTML=="Need More Info")
            x[i].parentNode.style.backgroundColor='lightblue'; // set the color
      } </script>

  • How I add a LIBRARY ITEM to a page layout, top/bottom ?

    how I add a LIBRARY ITEM to a page layout, top/bottom ? in
    dwmr mx 2004 and cs4 ?

    Have you looked at the DW help file - it will explain all
    about library items :-)
    Nadia
    Adobe® Community Expert : Dreamweaver
    Unique CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    CSS Tutorials for Dreamweaver |
    http://www.adobe.com/devnet/dreamweaver/css.html
    Book: Ultimate CSS Reference (aff link) |
    http://www.sitepoint.com/launch/005dfd4/3/133
    http://twitter.com/nadiap
    "lse987" <[email protected]> wrote in
    message news:gpsvtt$t5q$[email protected]..
    > how I add a LIBRARY ITEM to a page layout, top/bottom ?
    in dwmr mx 2004 and cs4 ?

  • Help:  How to add a library item to hide the default Window menu

    Hi,
    In this post: Help: How to add a library item to hide the default Window menu, it described how to create an menu that will hide the default window menu.
    I'd like to know if there a way to put this component into library so that others can directly inherit this menu in other FORMS and how to implement it.
    Jimmy

    Hi,
    I found the solution and the post was not properly phrased. There is no need to add menu into library. All we need is to put the compiled menu into Oracle AS and add the menu name the menu module of the given form.
    Thanks.
    Jimmy

  • How to set an Application Item from PL/SQL

    I am attempting to set an Application Item
    After login to my app, I want to retrieve a row from my SETTINGS table and populate some Application Items with the settings information so that I can
    display some of that settings information on every page.
    Just to start, I created one Application Item named F106_YEAR
    I then created a Shared Components Application Process which executes on New Session: After Authentication
    I created this process as an Anynomous PL/SQL block.
    declare
    aucyr varchar(4);
    begin
    select year into auctyr
    from settings;
    :F106_YEAR := aucyr;
    end;
    I've tried a couple of other Syntax tricks attempting to reference the Application Item F106_YEAR from within PL/SQL (like V('F106_YEAR') but nothing seems to be working.
    I'm sure that I am missing something simple. Can someone tell me how to set an Application Item from PL/SQL?
    Thanks in advance.

    I'm still doing something wrong because this is not working for me.
    I've tried both of the following versions as an Application Process set to run on New Session after Authentication:
    declare
    auction_year varchar(4);
    begin
    select year into auction_year
    from PBUUC.SETTINGS where rownum < 2;
    :F106_AUCTION_YEAR:=auction_year;
    end;
    and I also tried:
    declare
    auction_year varchar(4);
    begin
    select year into auction_year
    from PBUUC.SETTINGS where rownum < 2;
    APEX_UTIL.SET_SESSION_STATE (p_name, p_value);
    end;
    F106_YEAR is a global Item (shared components).
    The select statement works just fine in SQL*PLUS so I know that it is correct.
    If I run the debugger and log into the application, here is the output. Shouldn't I see my Application Process get called if it is set to run on New Session after Validation?
    My Application process is named RETRIEVE_AUCTION_SETTINGS
    0.01: A C C E P T: Request="P101_PASSWORD"
    0.01: Metadata: Fetch application definition and shortcuts
    0.01: alter session set nls_language="AMERICAN"
    0.01: alter session set nls_territory="AMERICA"
    0.01: ...NLS: Set Decimal separator="."
    0.01: ...NLS: Set NLS Group separator=","
    0.01: ...NLS: Set date format="DD-MON-RR"
    0.01: ...Setting session time_zone to -04:00
    0.01: NLS: wwv_flow.g_flow_language_derived_from=0: wwv_flow.g_browser_language=en-us
    0.01: Fetch session state from database
    0.02: ...Check session 695371898690095 owner
    0.02: ...Check for session expiration:
    0.02: ...Metadata: Fetch Page, Computation, Process, and Branch
    0.02: Session: Fetch session header information
    0.02: ...Metadata: Fetch page attributes for application 106, page 101
    0.03: ...Validate item page affinity.
    0.03: ...Validate hidden_protected items.
    0.03: ...Check authorization security schemes
    0.03: Session State: Save form items and p_arg_values
    0.03: ...Session State: Save "P101_USERNAME" - saving same value: "jps"
    0.03: Processing point: ON_SUBMIT_BEFORE_COMPUTATION
    0.03: Branch point: BEFORE_COMPUTATION
    0.03: Computation point: AFTER_SUBMIT
    0.03: Tabs: Perform Branching for Tab Requests
    0.03: Branch point: BEFORE_VALIDATION
    0.03: Perform validations:
    0.03: Branch point: BEFORE_PROCESSING
    0.03: Processing point: AFTER_SUBMIT
    0.03: ...Process "Set Username Cookie": PLSQL (AFTER_SUBMIT) begin owa_util.mime_header('text/html', FALSE); owa_cookie.send( name=>'LOGIN_USERNAME_COOKIE', value=>lower(:P101_USERNAME)); exception when others then null; end;
    0.04: ...Process "Login": PLSQL (AFTER_SUBMIT) wwv_flow_custom_auth_std.login( P_UNAME => :P101_USERNAME, P_PASSWORD => :P101_PASSWORD, P_SESSION_ID => v('APP_SESSION'), P_FLOW_PAGE => :APP_ID||':1' );
    0.06: ...Process "Clear Page(s) Cache": CLEAR_CACHE_FOR_PAGES (AFTER_SUBMIT) 101
    0.06: Nulling cache for application "106" page: 101
    0.00:
    0.00: S H O W: application="106" page="1" workspace="" request="" session="695371898690095"
    0.01: alter session set nls_language="AMERICAN"
    0.01: alter session set nls_territory="AMERICA"
    0.01: ...NLS: Set Decimal separator="."
    0.01: ...NLS: Set NLS Group separator=","
    0.01: ...NLS: Set date format="DD-MON-RR"
    0.01: ...Setting session time_zone to -04:00
    0.01: NLS: wwv_flow.g_flow_language_derived_from=0: wwv_flow.g_browser_language=en-us
    0.01: Application 106, Authentication: CUSTOM2, Page Template: 2904114531488186
    0.01: ...Session ID 695371898690095 can be used
    0.01: ...Application session: 695371898690095, user=JPS
    0.01: ...Determine if user "JPS" workspace "1040027630222986" can develop application "106" in workspace "1040027630222986"
    0.01: ...Check for session expiration:
    0.01: Session: Fetch session header information
    0.01: ...Metadata: Fetch page attributes for application 106, page 1
    0.01: Fetch session state from database
    0.02: Branch point: BEFORE_HEADER
    0.02: Fetch application meta data
    0.02: Computation point: BEFORE_HEADER
    0.02: Processing point: BEFORE_HEADER
    0.03: Show page template header
    0.03: Computation point: AFTER_HEADER
    0.03: Processing point: AFTER_HEADER     
    0.04: Computation point: BEFORE_BOX_BODY
    0.04: Processing point: BEFORE_BOX_BODY
    0.04: Region: Auction_Title F106_AUCTION_YEAR

  • How to set a page item to either of two sources?

    Hello Folks,
    I would like some advice with the following:
    On P1 there is a text field, say p1_text. The users enters a value into p1_text. This is validated.
    If the p1_text value validates OK, and the next button is pressed, there is a branch to page 2, which has a sql query page item named p2_dest which should use :p1_text in a where clause.
    If the p1_text value does not validate OK, the user is then presented with a Select List named p1_select (p1_text is now hidden). When the next button is pressed, there is a branch to page 2, and the sql query page item, p2_dest should now use :p1_select in a where clause (instead of :p1_text).
    I have the validation and presentation of either p1_text or p1_select working OK, but would really appreciate suggestions on how to set the one item on page 2 with either of the page 1 items when the branching occurs.
    Thanks
    KIM

    I used pl/sql in a page process on P2 to implement this logic to set a P2 item. I removed the setting of items from the calling page branch process.
    Cheers
    KIM

  • How to set background ChoiceBox item color to ChoiceBox with css?

    How to set background ChoiceBox item color to ChoiceBox with css?
    I need to change items list backgound color.
    I tried with following code, but it doesnt helps:
    .choice-box .context-menu {
      -fx-backgound-color: red;
    .choice-box .menu-item{
      -fx-background-color: red;

    In Java 8, either of your selectors should work.
    In Java 7 (JavaFX 2.2), you need the following workaround:
    #choice-box-menu-item {
         -fx-background-color: red ;

  • How to set Logo Image for each Project Site Seperately in project server 2010.

    Hi,
    I want different logo images to be set for each Project Site of different  project Separately in Project server 2010.
    Scenario is,   we have different Project of different client , each client want different logo for their respective Projects.
    How to accomplish this task?
    Please Help me.
    Thanks

    Hello. Store the logo somewhere accessible, either in a library at the PWA site collection or on the project site, make a note of the URL to the site then navigate to the project site and depending on what logo you want to update you can click Site Actions
    > Site Settings > title and description then update the image URL there. Alternatively, on the homepage of the project site add an image web part then reference the new logo using the URL. Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • How to set Compatibility Mode for a single site in ie10

    This question was originally posted on the Answers forum -
    http://answers.microsoft.com/en-us/ie/forum/ie10-windows_7/how-to-set-compatibility-mode-for-a-single-site-in/187152e3-142a-4d96-8d1b-af82ef571eec
    I am having problem with getting ie10 to set ie9 compatibility for a single site (sharepoint.contoso.com).
    When I add this website in Compatibility View Settings (Alt > Tools > Compatibility View Settings > 'Add this Website') it adds the domain 'contoso.com' and not the individual website (sharepoint.contoso.com).
    This cause other sites (www.contoso.com) to be configured to use compatibility mode. Because this is a separate site (different web server) to the site sharepoint.contoso.com (sharepoint 2010 server) we need different compatibility settings.
    Using a different example to explain the issue -
    Microsoft has three websites that are different websites created by different developers written in different programming languages and they only work with certain browsers.
    microsoft.com (Website1 created by Developer1) - compatible with ie8/ie9/ie10
    msdn.microsoft.com (Website2 created by Developer2) - compatible with ie8/ie9
    technet.microsoft.com (Website3 website created by Developer3) - compatible only with ie10
    The only thing the three website share is the URL contains 'microsoft.com'.
    Marking 'msdn.microsoft.com' to run in compatibility mode affects the other 2 websites - mainly technet.microsoft.com which will not work now since it only runs in pure ie10 mode. 
    Should you be able to add an individual site to the compatibility list instead of all sites that have  .microsoft.com in the URL? Am I missing a simple setting in the ie10?
    As a workaround I am using the F12 Developer Tools to set the Browser Mode which temporary sets the compatibility mode. However this is not a nice solution to the end users at our organisation. 

    problem is not solved for non corporate environments...
    You could start your own thread.  Then if you got that answer and it was marked Answered you would have the ability to unmark it.  The OP of this one seems satisfied.  Also note that this is TechNet.  Consumers can get help on Answers
    forums.
    Robert Aldwinckle
    Oh! I wrote it wrong: I should have said: This is not solved for NON-AD environments. No demands what so ever to use Window 7/8 professional in a small corporation or on a big corporation with Island of smaller departments for example offshore.
    The problem is that the thread is not "Answered" by the OP, its is marked answered by a moderator (and same moderator that did the answer) so no way of telling if the OP is satisfied.
    But you are right in the fact that I am almost kidnapping the thread. But a complete answer would benefit all in this case I would presume.
    Regards
    /Aldus

  • How to set custom master page for social/sites.aspx in sharepoint 2013

    How to set custom master page for social/sites.aspx in sharepoint 2013.?
    File path is
    C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\FEATURES\SocialDataStore\SocialDataStoreList\sites.aspx
    Thanks in advance

    Hi,
    You could open the sites.aspx in Notepad or SharePoint designer, and set the master page to your own master page directly via editing:
    <%@ Page language="C#" MasterPageFile="~masterurl/custom.master"      Inherits="Microsoft.SharePoint.Portal.WebControls.FollowedContentWebPartPage,Microsoft.SharePoint.Portal,Version=15.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c"
    %>
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Document ID moving across the site collection

    Thanks for reading, let me explain my scenario before my question
    1. we have huge site collection with full of documents
    2. want to enable document id feature to track of documents
    3. we want to run the process to archive docs which are older than 6 months into different site collection.
    4. after 2 years, we will have 4 archived site collections, documents are spread across the various site collection
    Does document id move across the site collections, still users can get old document using initially assigned document id after archive into different site collection?
    I read some documentation on document iD that it is targeted for Site Collection level.
    S.Venkata Appaji

    Hi Appaji,
    According to your description, my understanding is that you want to preserve the Document ID when moving the documents across site collections.
    Per my knowledge, the document id will be preserved when the document has been moved from one Site Collection to another Site Collection.
    During move operations, SharePoint Server 2010 keeps the document ID. During copy operations SharePoint Server 2010 assigns a new document ID. You can control this by setting a Boolean operator on the PersistID column.
    More references:
    http://msdn.microsoft.com/en-us/library/ee559302(v=office.14).aspx
    http://www.sharepointeurope.com/blog/2013/6/26/sharepoint-moving-a-document-with-a-document-id-to-another-site-collection
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Set multiple Secondary Owners into a site collection

    Hi;
    I try to set multiple Secondary Owners into a site collection but I have execute my script I have only the last Owner (tutu) ?
    My code is :
    $AdminSecondaireArray = ("DC\toto", "DC\titi", "DC\tata", "DC\tutu")
    foreach ($adminsec in $AdminSecondaireArray)
          Set-SPSite -Identity  $SiteCollectionUrl -SecondaryOwnerAlias $adminsec
    Any idea ?
    Regards

    Hi,
    As a workaround, we can add multiple user into a group, then set the group as secondary owner of a Site Collection.
    Set-SPSite -Identity $SiteCollectionUrl -SecondaryOwnerAlias "DC\group"
    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]

Maybe you are looking for

  • Forms 6i and windows 7 registry problem

    Hi, We are using forms 6i patch 14 on windows 2008 R2/windows 7. The only problem is that the form reads from "HKEY_CURRENT_USER\SOFTWARE\ORACLE" key instead of "HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\" like it should, and did on XP/2003. Is it plausible

  • Jdeveloper very slow - too many files?

    We're getting increasingly poor performance in Jdeveloper. Expanding a project for the first time in a session takes a long time, opening some files causes the CPU to spike to 100% for around 20 seconds, and even changing a property in the JSF editor

  • PS CC 2014 problem: How to migrate filters and extensions? (win7 x64)

    Hi Gang! Just installed 2014 (win 7 x64). But none of my filter (Nik, etc) are showing up? How can I point PS 2014 to my old filter plug-in golder? I looked in prefs?  Also I need to point 2014 to my extensions primarily my Paper textures extension.

  • My iphone 4 screen has been frozen (on that rotating circle thing it does right before it turns off) for about 6 hours now!

    This morning it was working fine and then it went to the lock screen and I tried to "slide to unlock" and it wouldn't go. Then it became frozen on the lock screen and I tried everything from holding the lock button to try to shut it down, plugging it

  • Using 3DS objects in CS4 Extended

    I purchased the extended version of Photoshop CS4 this time as my cadd software can save 3d models as 3DS format. I have tried bringing in those 3d entities into a 3d layer but nothing happens. I read somewhere that the third parties have to have a p