List Views - Update all views on mass.

Hi
I have a Sharepoint List which has a large number of Views set up to allow different teams to work with the data contained and not run the risk of impacting on each other's data.
I've now had to add 2 new columns onto the List which are needed on each view.  Is there a nice simple way (i.e no coding) of doing this within Sharepoint 2010 on mass rather than having to go into each one and select the new columns?
Cheers

You can try using powershell
http://sharepoint.jsturges.com/2012/09/add-column-to-default-view-using-powershell/
if you wanted to do using coding, You can use work with SPView.ViewFields property to add additional fields to your view.
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spview.viewfields.aspx
My Blog- http://www.sharepoint-journey.com|
If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

Similar Messages

  • ERROR - 1270031 - Failed to select any new views or all views that you requ

    Hi,
    when I try to run a Maxl script against an ASO application to aggeragate the cube. I end up with an error msg as shown below.
    ERROR - 1270031 - Failed to select any new views or all views that you requested to build exist already.
    Please guide me on what caused this issue.
    Thanks
    Sathish

    If you re-run this statement and there are already aggregated views then the chances are it will not find anymore views that would keep it within the 1.5 limit. So you can do as Glenn suggested and drop the aggregations and re-run your script, or you can up the 1.5 to 3.0 or something**.
    ** Obviously this means that more disk space will be taken up by your ASO cube.

  • Update all views sort order in a list using powershell

    I have a column "Employee Name" in my Lists/Library of my sitecollection ,
    I need to update Sort order of all views of that  lists and library to be sort alphabetically by "Employee Name" .
    I have already some filters applied on these views.I dont want these to get effected.I want to change only the sort order to be based on "Employee Name" column.
    Any pointers on how to achieve this by Powershell will be helpful

    Hi,
    The following PowerShell script for your reference:
    $webURL = "http://siteurl";
    $listName = "ListName";
    $web = Get-SPWeb $webURL;
    $list = $web.Lists[$listName];
    $views= $list.Views;
    for ($i = 0; $i -lt $views.Count; $i++)
    $view=$views[$i];
    $view.Query = '<OrderBy><FieldRef Name="Employee_x0020_Name"/></OrderBy>';
    $view.Update();
    $list.Update();
    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]

  • "Update All" Greyed Out On App Store Updates Page

    I have noticed that when I go to the App Store to update Apps, the "Update All" option is greyed out. There is more than one App to update in every case and I end up having to update each individually. However, when I update the first individual App (1st selected not necessarily 1st in list), the "Update All" option becomes available and functional.
    This occurs on iPhone 5s running iOS 7.0.2 and NOT on my iPad 3 running iOS 7.0.2.
    Anyone else notice this and/or have a solution?
    Thank you very much.

    Yes, I have also seen what you have reported. This looks like a bug.
    Report it to Apple at http://www.apple.com/feedback/iphone.html

  • Remove "(More Links...)" from List View Webpart if the list view shows all items

    Hi, I currently have 5 links lists out of which 4 links lists have around 30 odd list items and the rest 1 have just 3 list items. All of this links list are added as ListViewWebPart on a wiki page. All these listview web parts are configured for "Summary
    Toolbar"  and show all the items within the list. 
    My question is, even if the listview web parts are configured to show "All Items" why is it that the ListViewWebPart shows "More Links" on the bottom of the web parts? Is there any OOB way to remove it. I don't want to customize using SPD nor i want to export
    web parts. 
    Thanks, Mayur Joshi

    This, right here, is an example of one of the most annoying things about Microsoft. On the one hand, Microsoft keeps pushing code-free solutions; they want to make it easier and easier for "Content Managers" to manage their own SharePoint sites, Excel spreadsheets,
    etc. etc. without having to bother developers. I am with them on this, to a point. However, they also want to HARD-CODE their options so you HAVE TO USE an OOTB solution to hide it! What is wrong with letting us change the settings of the Web Part, or the
    View, to turn off "More Links"? Why do I have to go to JQuery, or SharePoint Designer? WHY??? Give us an OOTB solution for things like this!
    UPDATE: Here is a fix, but it does require CSS. Add a Content Editor Web Part with this code. The (More Links...) and (More Announcements...) tags both use the id "onetidMoreAnn". You can then export the CEWB as a Web Part and drop it on every page. 
    Again, I would like an OOTB solution, but this will have to do.
    <style>
    #onetidMoreAnn
    DISPLAY: none
    </style>

  • Update all rows in a View Column via one Apex Form field

    Appreciate any helpful answers to this query.
    I have an Apex App (4.x) where I have a view: PRICE_MODEL_CRA_V
    In the view, I have the following applicable columns:
    COUNTRY
    GRADE
    SALARY
    In the form I have the following fields
    :P16_COUNTRY (DROPDOWN)
    :P16_GRADE (DROPDOWN)
    :P16_SALARY (Number)
    In my app, I have a form with an Update button. I am simply trying to get Apex to update all rows in the salaray column in the view, where the country and grade match.
    I've the following code for the Update button:
    UPDATE PRICE_MODEL_CRA_V
    SET SALARY = :P16_SALARY
    WHERE COUNTRY = :P16_COUNTRY
    AND GRADE = :P16_GRADE
    The option I have chosen in condition type is:
    Value of Item / Column expression is NOT Null (as there are values in the column)
    Also tried SQL Expression and it does not like..says that there is No Expression.
    Thanks again if anyone can help :)

    Hi,
    Sorry I realize now that piece of information was not well supported.
    If I choose SQL Expression for Condition Type in my Form Page and I try to Apply Changes
    Apex says this..
    •Failed to parse SQL query!
    ORA-00936: missing expression
    I was assuming that I need to have the colon for the items in the form where I am wanting Apex to grab the values entered by the user. I tried them without the colons with the SQL Expression condition and same result.
    UPDATE PRICE_MODEL_CRA_V
    SET SALARY = P16_SALARY
    WHERE COUNTRY = P16_COUNTRY
    AND GRADE = P16_GRADE
    I did put 1-1/0 in my expression field and applied changes and then tried ot submit the form and it does not produce an error, so perhaps it is not being called? Where would I start with troubleshooting that?
    Thanks,

  • Problem with the List/Album List/Cover Flow/Grid view buttons

    Is anyone else having this problem?
    I have each playlist/media in different views. I have my music in List view, my podcasts, TV shows, and certain playlists in Album List view, and my movies and music videos in grid view. But now, any view that I select makes it the same for each playlist/media and I have to manually change it everytime I go to one of those lists. I figure this is a glitch with 10.5.3. Anyone else experiencing this?

    I'm also having that problem.
    It seemed to happen after iTunes 10.5 updates.
    I like my music in album list view and my apps in grid form.  However, now it's just one view for all lists.  Any fixes for this or is this a bug that needs to be ironed out by Apple?

  • How to make a virtual view for all the incoming messages from several accounts, just like in Opera Mail?

    I want to have a replication of Opera mail feature. This feature enables you to aggregate all mail items from across all the e-mail accounts into a single virtual aggregated view.
    That is, say, we have 3 different mail accounts. In Mozilla Thunderbird on a daily basis I check if there is something new in the incoming folder for those accs. To do that I click on the corresponding folder for every account. Now, what i want is to click on a single folder where I would have an aggregated virtual view of the incoming folder for all of those 3 accounts. I guess, same thing can be done with different kinds of mails, such as:
    * Unread messages (after having viewed the mail item, it automatically goes straight into "Sent messages" aggregate view, listed below)
    * Read messages
    * Sent messages
    * Spam messages
    * Drafts, etc
    Also there is this cool feature (virtual thing applies here as well) that helps to have a view of all the attachments across all accounts categorized into different descriptions, such as:
    * docs (xls, doc, ppt, etc)
    * images (jpg, png, etc)
    * archives (zip, rar, etc)
    More then that, it would still be better to have labling aggregation view feature across all acounts. That is, if we have marked important several messages in, say, 2 accounts, those should be seen in a single aggregated virtual view under name, say, "Important messages". Same can be said with flags, todos, etc.

    Pop mail accounts can be set up to use a Global Inbox. Imap mail accounts cannot.
    However, there are various 'views' in Thunderbird. I would suggest you try 'Unified'. This creates a visual Inbox containing all Inbox messages with sub folders showing individual Inboxes, so you can still see them separately if required.
    via Menu Bar;
    View > Folders > Unified
    Via Menu icon
    Menu Icon > Folders > Unified.
    This view would show all the 'Important' tagged emails, so you could them sort by Tag.

  • View application pages - view forms views and application pages. enumerate lists

    view application pages - view forms views and application pages. enumerate lists, if we disable this permission in sharepoint then user gets blocked from getting into application pages which is good. But now I have few list view web parts on a page and user
    is not able to see those reports based on view. It shows working on it. As soon as I enable view application pages permission it works.
    I need a permission level -view forms views only.
    MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead

    Hi Amit,
    SharePoint has a feature called “ViewFormPagesLockDown” at site collection scope. After enabling the feature, all groups / users not having the “View Application Pages” permission will not be able to navigate to pages like “_layouts/viewlsts.aspx”
    or “pages/forms/allitems.aspx”.
    So, for your issue, please disable the ViewFormPagesLockDown feature via PowerShell command:
    $lockdownFeature = get-spfeature viewformpageslockdown
    disable-spfeature $lockdownFeature -url [the URL of your site]
    More information:
    http://sharepointtechie.blogspot.jp/2011/06/blocking-access-to-application-pages.html
    http://sureshpydi.blogspot.jp/2013/12/viewformpageslockdown-feature-in.html
    Best Regards,
    Wendy
    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]
    Wendy Li
    TechNet Community Support

  • ORA-1779 when updating a view

    Hi and thanks in advance !
    i am facing a critical situation.
    i have two schema & both are same!
    the problem which i am facing is during updating a view of one i am facing above error while the same DML is issuing againt that view in other schema and that works fine.
    what's the reason..
    The major difference between two schema's is i hav different live and test database i migrate my access database to Oracle test database # 1.here i created a new user name deals . ok
    i hav done same migration in my another database but a little difference here user deals is already available here and tables and views are also available i drop all the object but forget to purge recyclebin. now whenever i try to issue DML at this schema i am facing above error while the same tables same data and same view is available in above databae where my update statement executed properly. one more thing i like to add here i hav some unwanted trigger 'BIN$##$$%##$# bla bla bla' on different table. i haven't created that .
    here is the view for your kind perusal
    CREATE OR REPLACE VIEW QRYREUTER AS
    SELECT FXdeals.deal_no,
    cparty.name,
    cparty.city,
    FXdeals.brokbill,
    FXdeals.deal_date,
    FXdeals.mode_id
    FROM FXDeals
    JOIN cparty
    ON FXdeals.cpcode = cparty.cpcode
    WHERE ( ( (FXdeals.mode_id) = 3 ) )
    Message was edited by:
    Fiz Dosani

    but i have sample scenario in other schema which replica of this schema so why i haven't got this error there
    one more interesting thing when i query select * from user_updateable_columns where table name ='ABC' in Schema # 1 it return i can modify some columns.
    but when issue the data dictionary view in schema # 2, where i was facing ORA-1779 , select * from user_updateable_columns where table name ='ABC' in Schema # 2 it return i can not modify any columns.
    Tables name are same in both schema.
    Data same in both schema.
    Constraint Same in both schema.
    Indexes same in both schema.
    why facing error in one schema not in other.
    one more interesting thing, i had faced questionable object error when importing DMP into schema # 2.

  • In Address Book, any way to Show/Hide groups from view in the "ALL" view?

    I have groups of contacts in Address Book (v4.0.4) that I plan to use in the future, but right now having to wade through and past all of their individual entries when I am scanning my contact list in the "All" group view. Is there any way to Show/Hide these sub-groups with a visibility check-box? The sub-group name would still be there in the group list (to remind me that it exists and make it visible if desired), but I would have a lot less clutter and scrolling the rest of the time.
    I know I can export groups in vCard format and re-import later, but a lot of my original custom fields for the contacts are lost in the process. Is there a 3rd-party plug-in? (Apple, are you working on something like this?)

    Hi Mike, My Address Book app is behaving correctly (maybe I'm not).
    I'm just saying there are times when I want to see "most" of my total collection of contacts, maybe just for the purpose of creating new groups at particular time and want to see at one time the pool of contacts I have to choose from. There are groups that I very seldom need to use, so it would be a way of putting those groups (and their contacts) into "cold storage."
    I also may want to do searches from among most of my contacts, but also I may want to eliminate certain other particular groups from that search pool. That is the reason for wanting to do the "Show/Hide" thing. It is a way of displaying a logical "ALL" minus "SOME", which is the basically same thing as displaying the logical "UNION" of more than one group of contacts at one time. Can this be done?
    Is there a way to open alternate address books, from within the same Address Book app (and logged in as the same user)? That would allow me to truly isolate my work list from my home list.
    One answer to this occurs to me: I could create different log-ins on my PowerBook, and build the different variants of the Address Book I might want into each login and use Fast User Switching to get into each list of contacts. That seems like a lot of extra work . . . and logging in. Any suggestions?
    Scott

  • Update maintenance view data by FM .

    Hi friends,
             I want to update Maintenance view data  not by using sm30,sm34,transactions . i want to update by FM . i will pass the data and view name  so that it should update the data in views( and corresponding tables ) .
    and  we need these changes should be stored in change request also .
    Regards,
    Shiva.

    you can use FM
    VIEW_MAINTENANCE_NO_DIALOG
    with action parameter = 'SAVE'
    just do a where used list of this FM to check how this can be used
    Regards
    Raja

  • Creating a role to update a view

    Hi.
    Oracle 10.2.04. Linux 4.
    I have been reading about updating views. The Oracle documentation http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/views001.htm#i1006887 states that:
    The owner of the view (whether it is you or another user) must have been explicitly granted privileges to access all objects referenced in the view definition. The owner cannot have obtained these privileges through roles. Also, the functionality of the view depends on the privileges of the view owner. For example, if the owner of the view has only the INSERT privilege for Scott's emp table, then the view can be used only to insert new rows into the emp table, not to SELECT, UPDATE, or DELETE rows.
    This is helpful, but doesn't resolve my issue.
    A role has been created to allow access to a view called SALES_RESULTS:
    create role update NOT IDENTIFIED;
    GRANT INSERT, SELECT, UPDATE ON SALES_RESULTS TO update;
    GRANT update to user;
    When user tries to update the view however, an error is returned. (Sorry, I dont know the error just yet!!)
    In essence, my question is: in order for the updates to work, does the user 'user' need explicitly granted priviliges on the underlying objects, as stated in the Oracle doc extract above - which was discussing the owner of the view?
    Thanks.
    DA

    You have an actual example that shows it does not work. Also, it is stated in the documentation.
    What else do you need?
    Kind regards
    Uwe
    http://uhesse.wordpress.com

  • Sharepoint 2010: prevent users from editing a list in the datasheet view

    Hi,
    I have a sharepoint 2010 list that I need to prevent users to edit from the datasheet view. This is because I have edited the add item form on sharepoint designer and included some custom code. Moreover, I need to allow the users to view the list in datasheet
    view to make use of the datasheet custom filter view feature which is not available in the standard view. So I need users to access the datasheet view of the list in read mode only but be able to edit the list in standard view only. Is this possible? How?
    Thanks,
    George

    Hi.
    Maybe this helps...I found some users having the problem that the list WAS read only in datasheet view...this is a list of reasons why this could happen:
    Certain columns, such as Created By and Modified, are always read-only. Values for these columns are entered automatically.
    The changes you made to the selected row or column have been submitted to the server. If there is no conflict or error, you will be able to edit the row or column after the changes have been saved.
    There is an unresolved conflict or error in the selected row or column. Resolve the conflict or error before attempting to edit the selected row or column.
    The list is set up to require content approval, and you are viewing the list in the All Items view.
    In the My Submissions view of a list that requires content approval, the
    Approval Status and Comment column are read-only. Only a user with Manage Lists right can edit these two columns.
    Attachments are read-only in a list that requires content approval. You cannot view or edit attachments in any of the views.
    The document in the current row has been checked out by a user. You cannot edit the columns in the row until the user checks the document in.
    You do not have permission to edit the column or row. Contact the list author for more information.
    (from the help)
    You could also check:
    http://support.microsoft.com/kb/2274841
    Reverse engineer and you may have a solution? ;-)
    Regards
    hr class="sig">Thomas Balkeståhl - Technical Specialist - SharePoint

  • I have been working on a book and have 418 photos already in my book.  All of a sudden I cannot access the book format to see the multiple view, spread view, or single view.  I can no longer see my book although I still see the collection with 418 photos

    I have been working on a book and have 418 photos already in my book.  All of a sudden I cannot access the book module and clicking on the multiple view, spread view, or single view does not take me back to the book I have been working on.  I can no longer see my book although I still see the collection with 418 photos under collections.  What I do see is a blank template for a new book and I can't find the unfinished book I started with 418 photos.  It is like the new empty template is somehow covering it up.  How do I get back to the book I have been working on?

    Is it possible you mistakenly clicked on a [Clear Layout] button?
    But a great hint is- Always click on the [Create a Saved Book] button, early in your new book design.
    Then you have a permanent link to the book in the Collections panel. (In addition to the standard collection of your selected images)
    Note: a Book Collection shows an icon that looks like a book.
    Every time you come back to edit the book, open the Book Module by clicking on the white arrow that appears on the end of your Book Collection title. (The title as saved)
    Re-opening a book without using the "Saved Book" option can have unpredictable results.
    A "Book" Collection is like a "Smart Collection" because anything you do to the book design, change pages, change images, etc,  is automatically updated in the Saved Book collection.

Maybe you are looking for

  • Photosmart Premium C350g how to tell wireless working?

    Installing on a MacBook Pro hooked up by usb to new printer - Configuring the printer, no network showed up - even with that network visible to 3 other computers that are farther away from the router (the router is a Time Capsule). I have read throug

  • Using Adobe LiveCycle Designer ES and secure parts of form using signatures.

    Hi to all ... I have upgraded to new LiveCycle Desinger 8.1 few days ago, and still do not know all the new features. I was requested to develop new LiveCycle Form, but this time it has to be secured by Digital Signatures or what every appropriate me

  • How to do LUW in OO concept?

    Hi everyone,   I have a question: how to do luw in OO concept?   I know that in SAP ABAP, there are two ways to do LUW first is function module ,the other is subroutine.   And now, I have a method of my class. In this method, I will do some database

  • Firefox crashes whenI open it...

    '''bold text'''When I click on Firefox it crashes and a crash report appears. I submit it. Today, I went to the questions area her and found out how to get the crash ID. I did that and followed the instructions: I went to another browser and typed in

  • Black Screen and no wifi on mod# PGAFGU-055002

    I'm wondering if someone is having the same problem with this model computer.  I started with a black screen last night. The computer will not boot up to Windows Vista and my wi-fi light on the computer will not come on at all. I've taken the battery