Show the last published documents in a view for a document library.

Hello!
At our company we have a document library with many documents. These documents are evolving and are therefore going from major versions to minor versions to major versions again. To be able to get a good overview of the last "official" versions
we would need to have a view that shows the last "Approved" versions of each document (if any approved versions exist). This is basically the same as watching the document library from a user that only own reading access and therefore only sees the
"published" versions.
In our case this view should be used by people that own editing rights as well to the documents. 
Is it possible to accomplish this?
I tried to use the tip from the following site: link 
The "?IncludeVersions=TRUE"
did not work though. 

Hi AndersObserve,
I understand that you have a document library that you have enabled content approval(if not, enable it) and versioning, then
you want to create a view to filter major(approved) documents, then you can filter on the ApprovalStatus field. Try to create a new standard view, filter the view when the ApprovalStatus is equal to Approved, then the view will display the published version
document.
Best Regards.
Kelly Chen
TechNet Community Support

Similar Messages

  • Aminated gifs only showing the last frame on the 2nd time of viewing

    I have 2 animated gifs and on pressing a button i am changing between the 2 on te first click the animated gif runs sucessfully and clicking the button again the 2nd animated gif runs sucessfully. However when i go to run the first animated gif again it only shows the last frame and this continues no matter how many times you press the button. Is there any way of getting it to start from the first frame. By the way just in case it makes a difference both the animated gifs run once they do not continously keep going and that is how i want them to be.

    public void mousePressed(MouseEvent e){
         if(corner.contains(e.getX(),e.getY())){
         if(reversed){
              setImageFile(gui.getFrontImage());
                   gui.setComponents(true);
                   reversed = false;
         else{
              setImageFile(gui.getBackImage());
                   gui.setComponents(false);
                   reversed = true;
         repaint();
    public void setImageFile(java.lang.String imageFile) {
         fieldImageFile = imageFile;
    /* Get and download the image for the new postcard background */
    backgroundImage = Toolkit.getDefaultToolkit().getImage( fieldImageFile );
         MediaTracker mt = new MediaTracker( this );
         mt.addImage( backgroundImage, 0 );
         try{     
              mt.waitForID( 0 );          
         catch( InterruptedException ie )
         repaint();
         mt.removeImage(backgroundImage, 0);
    public void paint(Graphics g)
    {     if( backgroundImage != null )
         g.drawImage( backgroundImage, 0, 0, this );
    so basically i press an srea area on the screen and every time i do it alternates between these 2 animated gifs gui.getBackImage() just returns te string of the animated gif file. I've checked to make sure that a new instance of the media tracker is being created each time and it is so i'm not really sure where the problem is!!

  • How can I show the last amend date of the .rpt file on my report?

    I want to show the last amendment date of the .rpt file on my report. 
    Modification date and time refer to the actual report rather than the .rpt file.
    Does anyone have any suggestions?  I am using version 11.2.
    Thanks,
    Anne-Marie

    annemarier,
    Have you tried the "Modification Date" or "Modification Time" fields located under the Special Fields section of the Field Explorer?
    I've never used them, but they seem like good candidates.
    Jason

  • I have Windows Professional and I used to be able to move the curser over the Firefox icon in the taskbar and it would give me a telescoped view of all open tabs, now it just shows the tab that I'm currently viewing. How do I fix this?

    I have Windows 7 Professional and I used to be able to move the curser over the Firefox Icon in the taskbar and it would show me a telescoped view of all open tabs, now it just shows the tab that I'm currently viewing. How do I fix this?

    Hey MikeDo,
    Do you have the option checked for ''Show Tab Previews in the Windows Taskbar''? If not, just go to ''tools->options->tabs.'' You can find more information on what each of these settings do in the Knowledge Base article [[Options window - Tabs panel]].
    Hopefully this helps!

  • SAPScript:  why the window only show the LAST line

    Dears,
    In my form, one of the window only show the LAST line of the it.
    I have set the window enough space,  also when  debuging the program , open_form, write_form,
    all of those sy-subrc = 0.
    both static texts and dynamic texts are set  in the window,   but only the last line shown.
    Anyone could help me?
    Thanks a lot.
    Sincerely,
    Julie Lv

    Hi,
    There are several possibilities to resolve your problem.
    You can work with 2 main windows on in1 page.
    With NEW-WINDOW you switch to the next main-window
    How to use it.
    make an item in main window with that /: NEW-WINDOW command
    if you are ready with first loop call a WRITE_FORM with that NEW-WINDOW statement.
    to cojntinue in the other main.
    Other possibility is. (in case there are not ot many lines)
    Use for every line other variable names.
    Fill these in the loop. And after loop WRITE FORM
    eg. (if maximum is 3 lines)
    &VAR1_1& &VAR1_2& &VAR1_3& &VAR1_4&
    &VAR2_1& &VAR2_2& &VAR2_3& &VAR2_4&
    &VAR3_1& &VAR3_2& &VAR3_3& &VAR3_4&
    Hope this helps.
    Gr., Frank

  • Why does safari show the last used page when the Ipad is turned on again

    Why does Safari show the last used page when the IPad is next used?

    Read this article:  Open iOS Safari to a blank page, http://www.macworld.com/article/159303/2011/04/ios_safari_blank_page.html

  • How show the last record by date

    Hi Gurus,
    i got in the cube the next records for example:
    calday                  Material    Quantity
    01.01.2011             A                 10
    15.01.2011             A                  20
    if i present in the query these IO an KF the query will show these 2 records, now i want just show the last record by date
    calday                  Material    Quantity
    15.01.2011             A                  20
    i tried in the query with a calculate KF with exception aggregation , MAX with Reference to calday , but this still show both records... how can i do it? help gurus.

    Hello,
    If there are sales occuring for the material on two different dates and you include date in there will be always two records.
    I dont understand the need to show the last transaction. Anyways if you still need that you need to remodel the backend.
    Put a DSO on the cube with date in the data field, this will always overwrite the value for the key combination you need.
    Then you can return on this DSO.
    Regards
    Shashank

  • DB12 not showing the last two completed Database Backup

    Hi Gurus,
    I have scheduled my production system to take a daily complete db backup , but when I see the Db12 Database History it shows the last complete backup was happened two days before(ex: 18/01/10 considering today is 21/01/10) and its not showing previous date were the db backup completed. When I checked in OS level the backup is completed for the previous day(eg.20/01/10) which is not showing in DB12. Whether there is any standard jobs that update this log ? My database is DB2.
    Please suggest as this is very critical.
    Regards,
    Rahul

    Please cross check the following things :
    1) Check in SM37 for the DBA* job logs for last 2 days.
    2) Whenever backup job is scheduled in DB13, it makes an entry in SAP table "SDBAP". You can also check in this table by the timestamp.
    3) Are you able to see backup logs in DB12 before2 days or it is empty ?
    Regards,
    Ankit

  • When I press the power buton to turn on my ipod it shows the last song I lisend

    when I press the power buton to turn on my ipod nano 6g it always shows the last song that id lisend
    I use my ipod as a watch (band for ipod nano) so I would like it to turn on on the clock

    MacBook Air Mid 2012?
    "Apple has determined that certain 64GB and 128GB flash storage drives used in the previous generation of MacBook Air systems may fail. These systems were sold between June 2012 through June 2013."
    http://www.apple.com/support/macbookair-flashdrive/

  • Is there a way to have iPad mail NOT show the last opened email? If not, can this be a feature request?

    Sometimes while running iPad training and usage sessions I may have to show my screen to faculty or staff while showing them a feature or how to use an app. It would be nice if the mail app didn't show the last opened message in the preview area for the sake of privacy. Can this be turned off or changed?

    No.
    If you wish to make a suggestion to Apple post your idea at: http://www.apple.com/feedback/ipad.html
    By the way this is just a user-to-user technical assistance forum. Apple is not here. We are all users here.

  • When entering login's, Firefox shows the last entries.

    Whenever I am asked to log into a secure sight, Firefox shows the last entries entered; ie, when I log into Yahoo, all I have to do is enter the first letter and it shows the last 6-8 logins. I feel that this is a security issue. I don't want others to see my login's. Explorer does not do this. How do I turn this off?
    == This happened ==
    Every time Firefox opened
    == always??!

    Tools > Options > Security: Passwords: "Remember passwords for sites"
    Tools > Options > Privacy > History: "Remember search and form history"
    See:
    http://kb.mozillazine.org/Deleting_autocomplete_entries
    http://kb.mozillazine.org/Password_Manager

  • Msi Live Update....not Show The Last Driver

    Hi
    whe MSI Live Monitor (MSI Live Update 3), search.. not show, the last driver...and bios....
    I have a G4MX460-VTP
    and the driver in the MSI Live Update is:
    Online Ver. 4403 (MSI Version)
    but when visit the MSI webpage (http://www.msi.com.tw/program/support/driver/dvr/spt_dvr_detail.php?UID=154) the last driver is:
    Nvidia driver 45.32 for Win2000/WinXP/Server2003 OS
    and in the Nvidia webpage is 50.16.....
    and the same happend with the VGA Bios...
    y fix my vga cad update the VGA bios....but...this update don't show in the Live Update 3
    How fix it???
    thanks

    Do not update the VGA BIOS unless you have a good reason to. It is not like a motherboard.
    Go to  nVidia Drivers if you want the latest drivers.
    Live Update may not have been updated OR the version reported by the Live Update utility has been tested successfully with that card. Newer drivers sometimes cause problems with older cards. The only way to know for sure is got to the nVidia site and try the latest.

  • 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

  • The last scheduled refresh failed. Click for details

    Hi,
    I have Discoverer scheduled results published in Portal via portlet.
    The scheduled job is set to run everyday in Discoverer.
    In Portal while publishing the results I set it up to refresh every day.
    Though the discoverer scheduled job runs without any error I see in Portal the portlet is not refreshed.
    It gives error "The last scheduled refresh failed. Click for details".
    The details shows something like this
    An error occurred while getting requested worksheet. BIB-10306 Object with name SWB:_LIBRARYEXECDIV_FORMAT/148142/1 could not be found.
    or like
    WWC-50003 - Object not found.
    Cause:
    The specified path to the given object does not exist.
    Action:
    Check that the path is valid. Path names are case-sensitive.
    Can anyone help me with this
    Thanks
    Jay

    Hi.
    I don't know any real solutiion, but why don't you try to delete that potrlet and create a new one.
    It's a simple and fast way and it will usually help in simmilar situations. Only if the new portlet also fails, it's a time for deeper investigation...
    Jakub

  • Query to get the last added record in a table for a particular id

    T
    Hi,
    I have 2 tables A, B
    Table A has id,name
    Table B had parentid(foreignkey referring to ID in above table), record_type,created_timestamp
    I want to get the last added record_type from Table B for all the ids present in Table A.

    Please post DDL, so that people do not have to guess what the keys, constraints, Declarative Referential Integrity, data types, etc. in your schema are. Learn how to follow ISO-11179 data element naming conventions and formatting rules. I know this is
    a skeleton, but could you at least try to do good programming? Temporal data should use ISO-8601 formats. Code should be in Standard SQL as much as possible and not local dialect. 
    This is minimal polite behavior on SQL forums. And sample data also helps. 
    I have 2 tables: Alphas, Betas
    CREATE TABLE Alphas
    (alpha_id CHAR(10) NOT NULL PRIMARY KEY,
     alpha_name VARCHAR(25) NOT NULL);
    Why was that DDL so hard you could not write it? But your narrative about the second table does not tell us if it has a key. I will guess that it is also alpha_id, but thanks to your rudeness, that is all we can do. 
    CREATE TABLE Beta 
    (alpha_id CHAR(10) NOT NULL PRIMARY KEY
       REFERENCES Alphas (alpha_id),
     record_type CHAR(2) NOT NULL,
     creation_timestamp DATETIME2(0) DEFAULT CURRENT_TIMESTAMP
          NOT NULL,
    >> I want to get the last added record_type from Table Beta for all the ids present in Table A.<<
    Think about this. Since Beta.alpha_id is a FOREIGN KEY to Alphas, all of its rows will have a match to Alpha. The SQL engine does this for you! 
    SELECT *
    FROM (SELECT alpha_id, record_type, creation_date,
                  MAX(creation_date) OVER () AS creation_date_max
            FROM Betas)
    WHERE creation_date = creation_date_max;
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

Maybe you are looking for

  • Can't add a new item

    Hi, I'm brand new to Premier and I'm using this video tutorial How to create a video story with Premiere Pro | Adobe Premiere Pro CC tutorials.  I understand how to make a cut but for whatever reason I can't get it to drag to the new item icon.  if I

  • How to - user profile migration 6.0 -- 6.0

    How to - user profile migration 6.0 --> 6.0 We have an existing 6.0 portal deployed to a fairly large number of users internal to our company. We have been activly developing for our next release which includes tabs and a few new custom providers and

  • Changing TableModel on row selection

    I have a JTable in which selecting a new row which represents a single item, should cause other rows to be dynamically added and removed. These other rows represent details of the selected item. Only one item can be selected at a time, and subsequent

  • Row count in FI_SL

    I am trying to get the row count for FI_SL cube by Company code. The result is giving me the count in two rows. When I sum up the two rows the result exceeds the total no of records obtained at the fact table level. This cube is storing Planned and A

  • Error exception when testing Adapter

    Hi all 1.I am doing XML to File  and I am getting error when I am testing the scenario with my input.dat xml file...FYI when I do XML2XML in the same scenarion - the Flag is OK and everything looks great ! I also Do Message Mapping Test and I have OK