1

I want to show my document types .xls , .png, .doc etc. I did not find it to show. only shows a picture of them. But i want to group them by this type. How can i do that?

2

when you create or modify your view then go to Group section and use Type(Icon Linked to Document)

enter image description here

then you will get the results grouped by documenttypes

enter image description here

4
  • How can i use it ? Do you mean sharepoint designer or visual studio ? I trıed to do that in online list view modify . But i did not see this column.
    – f_gulay
    Jul 2 '18 at 8:47
  • I updeted my answer @f_gulay Jul 2 '18 at 9:01
  • I trıed this before but it is grouping them with an icon.
    – f_gulay
    Jul 2 '18 at 10:32
  • I added a picture of mine.
    – f_gulay
    Jul 2 '18 at 10:35
2

Melad's screen capture is for SharePoint Online's "modern UI" while f_gulay's screen capture is from an on-prem version, or from SharePoint Online using the "Classic UI".

To get the file type as text in the Classic UI / On-prem UI will require a workflow. (The file type text is part of the library's data, but not selectable from a View.)

The workflow:

  • Create a new column in your library (Example: "File Extension").
  • Create a SP 2010 or SP 2013 style workflow.
  • Add a "Set Field in Current Item" Action.
  • Set the "field" to your new column.
  • Set the "value" to "Current Item:File Type".
  • Set the workflow to start on Created and on Changed.
  • Create a view that groups on your new column.
  • Upload documents. (this will run the workflow on each new document.)

The workflow:

enter image description here

The result:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.