How to create a view to show files Group By Title and Version

Hi,
I am trying to create a view in a document library as follows.
1. Group by File Title.
2. Group by Version.
like following image
- In this image i want to replace "Version:" with file name.
- In next line, DocV1 has 3 versions. Then it should be displayed in a stacked version with latest version at top and next 2 versions below it.
Please tell me how could i do that?

check this link
http://stefan-stanev-sharepoint-blog.blogspot.in/2009/08/how-to-display-all-versions-in.html
Latest approved version
http://stackoverflow.com/questions/1366242/find-latest-approved-version-of-an-splistitem
http://office.microsoft.com/en-in/sharepoint-server-help/view-the-version-history-of-an-item-or-file-in-a-list-or-library-HA101853104.aspx
SPListItem listItem =
// wherever you are getting this from
SPListItemVersionCollection listItemVersions = listItem.Versions;
if (listItemVersions !=
null && listItemVersions.Count
> 0)
    foreach (SPListItemVersion item
in listItemVersions)
        foreach
(SPField field in item.Fields)
            // Do Something to get latest

Similar Messages

  • How to create thumbnail view for html files

    hi,
    I want to create thumbnail view for html files, not for image files.. can we treat html files as images..
    Anybody help me..

    You can right click on your Desktop and select New Folder.  In Finder File > New Folder should work too, not in front of my Mac.
    Welcome to back by the way.  You might find these websites helpful.
    Switch 101
    Mac 101

  • How to create a dynamic menu for each group of responsibility and  user

    Hi
    I am using Jdev 11.1.1.6 and new to ADF, my application require to populate menu which would be different for different groups of user, and the user in each group would have different submenu depends on their responsibilities assigned to each one of them.
    so on the top level would be menu_top_item1, menue_top_item2
    |-->submenu1_1 |-->submenu2_1
    |-->submenu1_2 |-->submenu2_2
    also the menu would need to be on_mouse_over to show the submenu items or collapsed back.
    any idea what would be the best approch? or is there any example around?
    thanks a lot

    You can use ADF Security to control access to menu options.
    More about ADF Security here:
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/AdfSecurity/AdfSecurity.html
    If you also use WebCenter you might use their menuing option:
    https://blogs.oracle.com/shay/entry/webcenter_portal_intro_for_adf

  • How to create a report to show BA, Report Names, Owner and shares

    Hello,
    Does anyone have any sql that will show the Business Area, Report Name, Owner and who it is shared with?
    I can get the three last items with no problem; the difficulty is including the BA Name.
    This is for Discoverer v 4.
    Many thanks
    Rachael

    Hi,
    Thanks a lot. I am really new to the Discoverer Arena. We are currently using EUL5. Can you please direct me to the correct product to be installed and how will I actually get all the related worksheets for a specific workbook. Currently I have access to EUL5 tables. Is it what you are referring to? However using the EUL5 schema tables I cannot get the related worksheets of a particular workbook.
    Would be really helpful if you could tell me in detail to solve this? I am somewhat confused heaps of Oracle products. Any other takers welcome
    Thanks
    Thomas

  • How to create a button to get File Open popup window and select a file

    Hi,
    I have an applet that contains Browse button. When user clicks on that, a File Open popup window should be displayed to enable user to select the input file. This file path should be given back as parameter.
    How to do this? I have tried using LoadFileData but not able to get the desired result.
    Any pointers would be helpful.
    Thanks,
    Lalitha Dandibotla

    Do you need only the path or also the file back into Siebel?
    If you need both, the have a look at any attachment applet, that will give you a good start.
    Are you using Siebel in High Interactivity (HI) Mode or Standard Interactivity (SI) Mode?
    If you are in SI Mode have a look at the html type
    <input type="file">
    http://www.w3.org/TR/html401/interact/forms.html#h-17.4
    Axel

  • How to create a FSV with the text groups in spabish and English

    Hi gurus,
    could you help me with a issue. I want to know where i can add the text in english in the groups of the fse2 , because i have tha configuration with spanish text but when i execute the f.01 with the language EN the system do not give text in English. So could you help me?
    best regards!

    I just tried it with our FSV, system language is EN and i executed the report in DE. I could see german texts but not on the FS items.
    I dont know, if that is possible because these are custom texts/input fields from you as compared to the system text converted to the required language on the report header and other layout fields
    If you want the FS items to also show text in 2 languages, i recommend creating another FSV in the alternate language and using it.

  • How to create a table in the file using java code.?

    HI,
    I should export the data from the view objects to a word document. I have done that but I should
    display the data in the form of a table.
    Kindly come up with the necessary information on how to create a table in the file using java.
    Thanks,
    Phani

    Hi, Thank you for responding to my query.
    The below are the details of my code.
    DCBindingContainer dcBindings =
    (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding StudentDetailsContent =
    (DCIteratorBinding)dcBindings.get("StudentView1Iterator");
    OutputStreamWriter w = new OutputStreamWriter(outputStream, "UTF-8");
    Row currentRow =
    StudentDetailsContent.getRowSetIterator().first();
    Object a[]= currentRow.getAttributeValues();
    int i;
    for(i=0 ;i<=a.length;i++){
    w.write(a.toString());
    w.write(" ");
    w.flush();
    I am usning this coding to achieve the task of exporting data to file.
    I need to display this information in the table that is where I need help from you people.
    Thanks,

  • How to create an applet that shows a pdf as non-editable.

    Hi friends,
    Does any one know how to create an applet that shows a pdf document (should make that pdf a non-editable one) while clicking a link.Its urgent for me as I have to complete this one tomorrow itself...please help me...
    I am able to view the pdf document but that cannot be make a non-editable one.
    Can anyone gave me the code for that one....please I am not very much good in Java.

    PDF is a proprietary format and Java doesn't support it by default. Are you using a 3rd party tool to create the PDF? If so, you need to review the developer docs to see how to make the document non-editable. Frankly, I don't see why you're using an Applet to view a PDF in the first place. What exactly are you trying to do. I'm confused.

  • How to create XMLTYPE View from the XMLType table

    Hi:
    I have a large XML file and inserted to the XMLTYPE table
    For the XQUERY purpose I would like to create XMLView of the table.
    The examples I got from Oracle to create XML view are for small files.
    Can some one help me how to create XMLType VIEW for large XML Files ( 20,000 lines )?
    Ali_2

    Have a look at the examples given on XMLType Views (based on relational tables) or standard views (based on XMLType storage) in the FAQ url located on the main page of this forum site regarding XMLDB.

  • How to  create i view  in visual composer give details screenshots

    how to  create i view  in visual composer give details screenshots

    Hi,
    Go through these threads
    VisualComposer
    http://help.sap.com/bp_epv170/EP_US/HTML/Executive_Cockpit.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1752b737-0401-0010-0ba3-87c3eda8c6ce
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e019d290-0201-0010-f186-8630a949800a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30987099-a74c-2a10-70b5-a2751ce79359
    http://help.sap.com/saphelp_nw04/helpdata/en/fd/4a7e40417c6d1de10000000a1550b0/content.htm
    Tarak
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00b9ba6d-1291-2a10-208d-bd27544e7939

  • How to creat a view in

    Hi all,
    i am new to can u tell me how to creata a view. and how we can create node.and how we can create outbound plug and inbound plug.
    thanks & regards
    naveen

    Hi Naveen,
    In the component click on view qith the right button and select "Create View" follow the steps. Its a very simple wizard.
    Let me know if you have more issues.
    Best regards,
    Caíque Escaler

  • How to create a view in R/3?

    Hello, Can anyone plz gimme step by step how to create a view in R/3....

    Hi dear,
    go to SE11, out your Z* view and click create...
    Then choose your source tables, the join condition between them and, finally, all the fields (coming from source tables) you need for your purposes...
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/cf/21ed06446011d189700000e8322d00/content.htm
    Hope it helps!
    Bye,
    ROberto

  • How to create a view with Oracle apps Org initialization ?

    Hi,
    How to create a view which needs Oracle apps org initialization to provide the correct data .
    The purpose of the view is to be accessed in Primavera DB via a DB link for reporting purpose.
    So how should the org be initialized so that the view returns the correct data when accessed from the remote data base using the DB link?
    EX: step1 run fnd_client_info.set_org_context for the org
    step2 query the veiw returns correct data in Oracle.
    How can this be achieved if the view needs to be accessed via DB link?
    sample view sql :
    select po_header_id
    from po_distributions_all pod
    where (apps.po_intg_document_funds_grp.get_active_encumbrance_func
    ('PO',
    pod.po_distribution_id
    ) <> 0
    Thanks in advance!
    Darshini

    Hi,
    This is not possible in Oracle. What u can do is create the view without the where clasue and supply the where clause at runtime.
    Hope this helps...
    Regards,
    Ganesh R

  • How to create a view on tables with different keys?

    I have to create a View on:
    Z3PVR: Transparent Table
    BSEG: Cluster Table
    CKIS: Transparent Table
    BKPF: Transparent Table
    RV61A: Structure
    T001: Transparent Table
    All the tables have different "Key Fields" and the structure has no "Key Fields". When i create the view, what do I mention in the "JOIN FIELDS" tab. and how do i create the view with the structure?
    Please advise.

    How to create a view on a Non-Transparent Tables.
    how to create view?
    HELP.. How to create a view with the tables with ALV

  • How to create a view indicating column's length?

    SQL>create table abc (a number(12));
    I want to create a view cde with a length of number(5) by "describe cde" in sql*plus.
    SQL>create view cde(a) as select a from abc;
    SQL>desc cde
    A NUMBER(12)
    how to create a view indicating column's length? the actual value in abc only <1000
    I want to create a view cde with a length of number(5) .
    SQL>desc cde
    A NUMBER(12)
    Thank You
    Ming-An Zhang

    This does not make sense. How can a view be a NUMBER(5) and the actual column a NUMBER(12)?
    What happens if there is a 10 or 12 digit number in the table? Just what is the view suppose to do? Crash and burn? Where is the logic in that?!
    If the table's column has an incorrect precision and size, THEN FIX IT!! Do not hack it with view!
    It is silly purposefully building constructs into the database that can easily result in run-time errors.

Maybe you are looking for

  • Safari 5 doesn't open new pages after website button selected

    Hi. I am unable to load some websites after selecting some buttons on popular sites including PayPal and www.ryanair.com. Actually I am unable to book a flight ticket and I had to visit my friend to do so on his computer. The same happens when I try

  • Edge animation problem

    Hello I have a problem, and cant figure it out on my own. Im working on a retina folio and created a 350x350px Animation in adobe edge, then i opened a 350x350px frame and put in the html file via folia overlay, I selected the option scale to fit and

  • How to create an inbound Idoc from an inbound IDoc in same client

    How to create an inbound Idoc from an inbound IDoc in same client Idoc will come from XI as an inbound idoc to SAP, now I have to read this inbound Idoc and split it into Several Inbound Idocs and now needs to be posted in the same client. please let

  • "Time Machine" vs. "Time Capsule"?

    Thinking about buying my first apple computer. Just wondering what the difference is between "Time Machine" and "Time Capsule"?

  • Master data text - Urgent

    Hi All, I have a master data x and a,b,c.. are the attributes. Now i'm making attribute 'a' as a masterdata and i need text data for that 'a'.Usually we create a text datasource for that and extract the description.While creating text datasource for