Document library pending view with Folder

I have a document library with content Approval setup. I have many folders and files inside them.
I can see all Pending items from library in a view with filter - Status='Pending'. This is working ok.
But I want to see the actual location of file
1. In the same view I should have a column which says the Folder name of the file.
OR
2. Display only folders with Pending items and inside it display all Pending files.
Thus display a folder only when its contains Pending files.
-Avinash!

Hello,
I think that the best way to achieve it, is developing one Event Receiver or one workflow to populate one column with your required information.
In the following link you could find more information: 
https://social.technet.microsoft.com/Forums/office/en-US/7fccf212-a0c8-418a-a131-ea193d30f28e/calculated-column-to-get-folder-name?forum=sharepointgeneral Link
Hope this helps. Regards

Similar Messages

  • Document Library Custom View "Grouped By" only shows one group

    I have created a Document Library Custom View with the  "Grouped By" option turned on and grouped by a column  called "media type" which has 3 possible choices.  For some reason only the first group is displayed. The other
    groups show that they have items in them but can't be accessed. I have expanded turned on. 
    Here are some screenshots: 

    Hi zaxxon,
    Please check if the above first 6 images (e.g. Managing Threating Confrontations - OneDrive for Business Tutorial)are with value "Training" and "tutorial", if yes, there should be something wrong with the grouped list view of Assets library.
    Based on icons from your image, you should be using Office365 SharePoint Online, I would recommend you post this issue in our dedicated Office365 SharePoint online forum below, and I think fixing this issue would be involving back-end support engineer from
    server side.
    http://community.office365.com/en-us/f/156/t/236901.aspx
    Office365 SharePoint Online forum
    Thanks
    Daniel Yang
    TechNet Community Support

  • Not able to copying files/folders from one Document Library to another Document Library using Open with Browser functionality

    Hi All, 
    We have SharePoint Production server 2013 where users are complaining that they are not able to copy or move files from one document library to another document library using “Open with Explorer” functionality.
    We tried to activate publishing features on production server but it did not work. We users reported following errors:  
    Copying files from one document library to another document library:
    Tried to map the document libraries and still not get the error to copy files: 
    In our UAT environment we are able to copy and move folders from using “Open with Explorer” though.
    We have tried to simulate in the UAT environment but could not reproduce the production environment.  
    Any pointers about this issue would be highly appertained.
    Thanks in advance
    Regards,
    Aroh  
    Aroh Shukla

    Hi John and all,
    One the newly created web applications that we created few days back and navigated to document library, clicked on “Open with Explorer”, we get this error.
    We're having a problem opening this location in file explorer. Add this website to your trusted and try again.
    We added to the trusted site in Internet Explorer for this web application, cleared the cache and open the site with same document library but still get the same above error.
    However, another existing web application (In same the Farm) that we are troubleshooting at the moment, we are able click on “Open with Explorer”,  login in credentials opens and we entered the details we are able to open the document
    library and tried to follow these steps:
    From Windows Explorer (using with Open with Explorer), tried to copy or move a files to
    source document library.
    From Windows Explorer moved this file to another destination document library and we got this error.
    What we have to achieve is users should be able to copy files and folders using
    Open with Explorer functionality. We don’t know why Open with Explorer
    functionality not work working for our environment.  
    Are we doing something wrong? 
    We have referred to following websites.
    we hope concepts of copying / Moving files are similar as SharePoint 2010. Our production environment is SharePoint 2013.   
    http://www.mcstech.net/blog/index.cfm/2012/1/4/SharePoint-2010-Moving-Documents-Between-Libraries https://andreakalli.wordpress.com/2014/01/28/moving-or-copying-files-and-folders-in-sharepoint/
    Please advise us. Thank you.
    Regards,
    Aroh
    Aroh Shukla

  • Send to is not working when a document library is associated with work flow.

    Send to is not working when a document library is associated with work flow.
    question is when a workflow is tied to list send  to don't work ?
    we get a ntlm login prompt sphoradically, if we cancel the prompt we and reload the page we get the resultsen

    could you please give more detail about the issue?
    What kind of the workflow associated to the Library and what error you getting when trying to perform send to?
    check ULS logs...
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Using Visio Web Access Web Part to dynamically display visio drawings in document library according to which folder a user is viewing

    I have a document library web part in SharePoint 2010. There is also a Visio Web Access Web Part on the same site, side by side with the doc lib. In the folder structure of the document library web part (it is pretty complex and a few levels deep),
    each folder contains one and one only Visio diagram. I want the Visio web access web part to display the visio drawing that exists in what ever folder the user is currently browsing. For example.. if the file structure is as follows below and a user clicks
    on folder A from the list I would like the Visio Web Access web part to display the visio diagram that lives in folder A. Same for any folder at all anywhere in the structure that the user is viewing, dynamically changing as the user browses the directory.
    Is this possible?
    1.0 Folder A
      1.1 Word Doc
      1.2 Visio Doc
      1.3 Folder a.1
        1.3.1 Word Doc
        1.3.2 Visio Doc
        1.2.3 PDF Doc
        1.2.4 Folder
    2.0 Folder B
      2.1 Word doc
      2.2 Visio doc
      2.3 pdf doc
      2.4 Folder B.1

    Got this to work. Made a new data view in a designer for document library. Created parameter and used it to filter the data view. Then I connected the visio's shape data to the parameter and OOB sorting and filtering works as expected.

  • Unable to apply color formatting to document library custom view using javascript

    Hello,
    I have applied color formatting to some values in Document library at "Allitems.aspx" page.
    Created one view where record of library displaying as per sort rule and trying to apply the color formatting on that view, but its not getting apply.
    also tried to insert that list as web part in one page with the same view(created by me) and tried applying color..but not working.
    I used below script for color formatting, included in script editor web part:
    <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.0/jquery.min.js"></script>
    <script type="text/javascript">
    $(document).ready(function()
    $Text = $("td.ms-cellstyle.ms-vb2:contains('Very limited risk - acceptable A')");
    $Text.css("background-color", "#7FFF00");
    $Text = $("td.ms-cellstyle.ms-vb2:contains('Measures Required (in 6 months) - M')");
    $Text.css("background-color", "#D2691E");
    $Text = $("td.ms-cellstyle.ms-vb2:contains('Immediate measures required - I')");
    $Text.css("background-color", "#6495ED");
    $Text = $("td.ms-cellstyle.ms-vb2:contains(Stop work until measures are taken - S)");
    $Text.css("background-color", "#DC143C");
    </script>
    Could please suggest a way out.
    Thanking you in advance.
    Regards,
    Jayashri

    Hi Jayashri,
    Follow the steps to debug your JS code, preferable in IE browser
    Press F12 to open your developer tool
    Select Script tab
    Search for your code, set debugger point by clicking on the left extreme position on line numbers
    Click on Start debugging at top, if its not there in your browser just refresh the page, it will hit the debug point.
    Hope it will help you in debugging your code, if you need any further details about debugging this, mail me @
    [email protected]
    Thanks
    Shakir

  • How to get the count of items(folders or documents) in a SharePoint document library and for a folder in any SharePoint document library?

    I need to get a count of documents and folders in a selected document library(the item for EventRecievers for event deleting) and the count of documents in a selected folder(the item for EventRecievers for event deleting) to determine whether the item(document
    library or folder) is empty or not, as I need to use this condition for one of my custom EventReceivers.
    Can you please suggest me the code to do the same?

    Hi.
    Try this:
    class Program
    static void Main(string[] args)
    using (SPSite site = new SPSite("http://z2012net"))
    using (SPWeb web = site.OpenWeb())
    SPList l = web.Lists["List001"];
    List<FolderInfo> res = new List<FolderInfo>();
    getListCount(l.RootFolder, ref res);
    private static void getListCount(SPFolder sPFolder, ref List<FolderInfo> res)
    SPQuery query = new SPQuery();
    query.Folder = sPFolder;
    res.Add(new FolderInfo() { ItemCount = sPFolder.ItemCount, Name = sPFolder.Name, Url = sPFolder.Url });
    SPListItemCollection items = sPFolder.ParentWeb.Lists[sPFolder.ParentListId].GetItems(query);
    foreach (SPListItem item in items)
    if (item.FileSystemObjectType == SPFileSystemObjectType.Folder)
    SPFolder f = sPFolder.ParentWeb.GetFolder(item.UniqueId);
    getListCount(f, ref res);
    class FolderInfo
    public string Url { get; set; }
    public string Name { get; set; }
    public int ItemCount { get; set; }
    Regards,
    Bubu
    http://zsvipullo.blogspot.it
    Please mark my answer if it helped you, I would greatly appreciate it.

  • Document library: File name with spaces at EOF

    I noticed a strange issue with uploading files with space at end of file (example "ABC  .xlsx"). Such files are allowed to be uploaded for the first time but when the end user (with contribute permission) tries to upload the same file again
    (overwrite) then it uploads the file and goes to the next dialog box where properties for the form is collected (EditForm) and then when user tries to hit save, he gets "Sorry this site is not shared with you" error. The owners (with Full control
    permission) get the error message that the file needs to be renamed. 
    This does not happen with files having proper names. The files are automatically overwritten as expected.
    Is it a SharePoint bug or am I missing something ?

    Hi Prakash,
    When we upload a document which contains spaces at the end of the file name, then SharePoint will trim out the spaces in the Edit Item Form, so the name for this document should be “ABC.xlsx”.
    When we re-upload the document to SharePoint, because of that extra space it sees the filename(ABC  .xlsx) as different to the existing document (ABC.xlsx) so it adds it as a new document.
    And in the edit item form, the space has been trimmed out. Because there is already a document with that filename in the document library, it throws the error.
    So this issue is by design that SharePoint uploads the document first and then edit the properties of the document.
    For more details, please refer to the link below:
    https://discoverlars.wordpress.com/2012/10/27/sharepoint-doesnt-overwrite-a-document-with-the-same-name-but-creates-duplicates/
    Thanks,
    Victoria
    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]
    Victoria Xia
    TechNet Community Support

  • Office Document Imaging as Viewer with Archivelink ?

    Hello,
    i'm dealing with these Archivelink themes for the first time. We have an archive (SAPERION) which is connected to SAP Rel.4.7 using HTTP.
    i've read the documentation but it's just confusing .
    What would be the customizing ( OAA3, OAA4 ?? ) to use the Microsoft Document Imaging  just to view documents ?
    Is it possible to get the viewer user - dependend ( perhaps via exit ) - so that the usery could decide which viewer (ECL-Viewer or Microsoft ) they want to use ? i found in debuuging the table TOAEX but no documentation  what to do with that .
    An help would be appreciated ..
    Regards Wolfgang

    Hi Wolfgang,
    If you would need to open the documents with Microsoft Office Document
    Imaging without opening the document viewer,please do the following
    settings in your system.
    1.Launch the transaction OAC0.Double click on the respective content
    repository.
    2.Go to edit mode.click on the 'Full Adminstarion' tab.
    3.Please maintain a protocol if not maintained already.for example the
    protocol SAPHTTP.save it.
    4.Launch the transaction OAA3.Create an entry with the same protocol and
    the same version.Save it.
    5.Double click on the protocol and it will take you to a screen
    'Over view of protocol'.
    Then click on 'Display Stored document'  >Choose the document type
    'TIF'  >choose the communication type as 'ARCHIVELNK'  >Click on
    continue.
    Similarly click on 'Retrieve Stored Document on Client PC'  >choose the
    communication type as 'TABLE'  >Click on continue.
    Then click on 'Display local file'  >choose communicaion type as
    'ARCHIVELNK'  >Click on continue.
    6.SAVE the settings.
    Once the above setting is done,the document should get displayed with
    the Microsoft Office Document Imaging in your system.
    Best regards,
    Christoph

  • Issue with site template that contains a document library with a lookup column to another list

    I have a document library called Proposals with a lookup column in the same site called Document Categories (multiple values allowed).  It points to a list called document categories.  I have several sample documents in the Proposal Library that
    contain valid document categories.  When I save the site as a template and instantiate it, everything is fine.  However, when I remove the sample documents from the Proposal library and rebuild the site template, I can't get the  template to
    create another site.  I get an error Unable To Open Lookup List.
    I don't understand why I can instantiate a site from the template when there's sample data, but not when the document library containing the lookup column is empty.
    Does SharePoint 2010 site template support lookup columns?
    Why would it make a difference if the library is empty?
    Thanks

    Hi,
    According to your description, my understanding is that the error occurred when you created a site from the template with no files in the document library.
    I tested the same scenario per your post, and I can create a site from the template with no files in the document library with no errors.
    To solve this issue, I recommend to verify the things below:
    Did you save the site as a template with Include Content checked? If yes, I recommend to test if it works when saving the site as a template with Include Content unchecked.
    Test the same scenario with a new site to narrow the issue scope.
    I also recommend to check the event log and ULS log to see if anything unexpected occurred.
    To check event log, click the Start button and type “Event Viewer” in the Search box.
    For SharePoint 2010, by default, ULS log is at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS.
    You can check the ULS log by the methods here:
    http://blogs.msdn.com/b/opal/archive/2009/12/22/uls-viewer-for-sharepoint-2010-troubleshooting.aspx
    http://msdn.microsoft.com/en-us/library/gg193966(v=office.14).aspx
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Issue when filtering with Managed Metadata Columns in Share Point Document Library

    Hi All
    I have a document library, and a four Metadata Columns in it, with each column having a number of term in it. I have no issues in adding a document or in term sets. We have set property of Managed Metadata Column as Allow Multiple Values. So some of the items
    in library contains values with only one term set. While other documents contains values with multiple values.
    We have a number of country sites having the document library  with same metadata columns. In document library default view i am showing Metadata column, User want to filter the documents (view) based on Metadata column selected.
    The filtering is giving inconsistent behavior. In production server it is giving in error with some correlation ID. On our development machine some times it is working fine and some other times it is given error of Validation of Viewstate MAC failed. i tried
    on different countries sites.
    I checked we have already kept the Metadata Navigation and Filtering under site action feature as activated. It was even more weird when i deactivated the feature on one country site and the filtering was working fine. And on other country site where i
    kept the feature as activated and the filtering was giving an error.
    Thanks & Regards
    Amit

    Hi Amit,
    Have you checked the ULS error message for more information with correlation ID?
    Please try using the library metadata navigation to filter these managed metadata columns value via configuring library "Metadata navigation settings" after you enabled the "Metadata Navigation and Filtering" feature,
    then check if the issue would still persist.
    Please see more information from below article with similar issue.
    http://blog.tippoint.net/filter-by-managed-metadata-field-in-asset-picker-dialog/
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you havefeedback for TechNet Subscriber Support, contact [email protected] 
    Daniel Yang
    TechNet Community Support

  • How to move files to Archive folder in same document library

    hi,
    we have one document library (Upload Documents) in that document library we have Archive Folder , when upload document to upload document library first we want check same document   name is there or not and check version also ,if the same document
    is there in that document library then move to that  document to Archive  folder  with  same version and add to document to  upload document library..
    ex:
    Document Lib name:---Upload document
    folder name-->Archive Folder
    Document: Test.txt and version is 1.0
    when upload  same document to document library the Test.txt file move to archive folder and add same document in upload document library with new version

    you can look at Item Adding Event receiver and before you add the new document do you check and move the document to archive folder 
    Hope that helps|Amr Fouad|MCTS,MCPD sharePoint 2010

  • Create folder in Document Library using Sharepoint 2010 Client Object Model

    I would like to check for the existence of a folder in s Sharepoint 2010 Document Library and if the folder is not found, create it. (I would then subsequently programmatically upload documents to that folder -- which I have figured out). Can someone
    please help me figure out how to check for the extistence of and then create a folder using the Sharepoint 2010 Client Object Model?

    You can use this:
    public static void CreateFolder_ClientOM(string listName, string folderName)
    ClientContext clientContext = new ClientContext("http://basesmc2008");
    Web web = clientContext.Web;
    List list = clientContext.Web.Lists.GetByTitle(listName);
    clientContext.Load(clientContext.Site);
    string targetFolderUrl = listName + "/" + folderName;
    Folder folder = web.GetFolderByServerRelativeUrl(targetFolderUrl);
    clientContext.Load(folder);
    bool exists = false;
    try
    clientContext.ExecuteQuery();
    exists = true;
    catch (Exception ex)
    if (!exists)
    ContentTypeCollection listContentTypes = list.ContentTypes;
    clientContext.Load(listContentTypes, types => types.Include
    (type => type.Id, type => type.Name,
    type => type.Parent));
    var result = clientContext.LoadQuery(listContentTypes.Where
    (c => c.Name == "Folder"));
    clientContext.ExecuteQuery();
    ContentType folderContentType = result.FirstOrDefault();
    ListItemCreationInformation newItemInfo = new ListItemCreationInformation();
    newItemInfo.UnderlyingObjectType = FileSystemObjectType.Folder;
    newItemInfo.LeafName = folderName;
    ListItem newListItem = list.AddItem(newItemInfo);
    newListItem["ContentTypeId"] = folderContentType.Id.ToString();
    newListItem["Title"] = folderName;
    newListItem.Update();
    clientContext.Load(list);
    clientContext.ExecuteQuery();
    Blog | SharePoint Field Notes Dev Tool |
    ClassMaster

  • Document Library Template with Permissions

    I need to create like more than 50 document libraries that contain the same folder structure and the same permissions its posible to create some kind of template that include permissions or some kind of automation?

    Hi,
    According to your post, my understanding is that you wanted to create more than 50 document libraries that contain the same folder structure and the same permissions.
    First, you need to create a document library that contain the folder structure and the special permissions.
    Then you need to make sure that you want to the libraries have same name or not.
    If the libraries have different names, we need to store the names in a database first.
    The solution is:
    storing the names in a text file database(or other location such as sql server)
    Receive the names from the database, and then create the libraries.
    Here is a similar thread for you to take a look at:
    http://social.msdn.microsoft.com/Forums/silverlight/en-US/2ed1c9ab-ace2-47a8-8556-553119a63583/bulk-create-records-or-document-libraries-via-powershell
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Download files from document library in zip file using javascript

    Hi,
    I am developing SharePoint Hosted App which needs to download all the files in the document libraries of SharePoint site in a zip folder where in that zip file each document library should be a folder, in that folder the files of that document library will
    be shown. Currently I am display all the document library in a table with check boxes as shown in the below figure. Now when user selects the check boxes and click on download button, the selected document libraries along with the files should be downloaded
    in a zip folder. This should be achieved through javascript. Can anyone share me the code to solve this problem.
    Thanks & Regards,
    Kishore
    Kishore

    You can use
    zip.js, but the best way - implement your solution on the server-side.
    [custom.development]

Maybe you are looking for

  • Error while deploying ADF web application from JDeveloper 11g to Web Logic

    Hi, I developed application following "Developing RIA Web Applications with Oracle ADF" tutorial. It works fine when started locally, from JDevelopwr 11g (11.1.1.1.0). I tried to deploy it to remote Oracle WebLogic Server (10.3.1, with ADF libraries

  • Displaying a blob image in a report and form

    Hello all, Can anyone help me. I have a deadline after two days and I want to fix this as soon as possible. I am using Application Express 4.1.1.00.23. My problem is in displaying an image retrieved from a table. In my table, I have created these fie

  • OAS 10g & DB 10g link

    Is there a link between my 10g Application Server login and my 10g database session id? Will Oracle Enterprise Manager show which end user has which database session?

  • Question: Do Any Mac/Lightroom users use a case-sensitive filesystem?

    I know most people use the default case-insensitive Mac filesystem. But plugins may have issues in a case-sensitive filesystem (if not explicitly programmed to handle case), which I just learned is an option for Mac users. Just wondering if any Light

  • Missing files on iDVD start up

    Whenever I start up iDVD I get a missing files notice that reads: Macintosh HD/Library/Application Support/iDVD/Tutorial/Pictures Picture and Macintosh HD/Library/Application Support/iDVD/Tutorial/Pictures video I remember going through the tutorial