Display select Document Libraries on Page

Hello
I want to display on a page all document libraries with read access, shared access and secured. The best way to categorise these, I think, is to associate libraries with content types. So I'll have 3 content types which dictate permissions. (Permissions set
manually).
Now that the libraries have content type I need a way to display them on the page. So if its Content Type Read then I see a green icon, clicking on this will navigate to the library. If CT is Shared then I see an amber icon .. etc.
I've provided a high level idea but maybe there’s some other way to tag the libraries signifying access levels.. even read the permissions directly..
Any ideas on how to achieve? I don’t have CQWP (publishing is off) at my disposal so maybe front end / back end code ?

Hi,
Based on your description, my understanding is that you want to get all the libraries associated with specific content types.
I recommend to loop through all the libraries in the site programmatically, then use
SPList.ContentTypes or List.ContentTypes property to get the content type in the library and check if the content type is the one specified.
More references:
http://stackoverflow.com/questions/15219968/how-to-get-list-of-all-document-libraries-from-sharepoint-site-programatically
http://spdailytips.blogspot.com/2012/06/retrieve-all-document-libraries-in.html
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splist.contenttypes.aspx
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.list.contenttypes(v=office.15).aspx
You can also use the SPList.CheckPermissions method to check if the permission of current user on the libraries.
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splist.checkpermissions.aspx
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

Similar Messages

  • How do I display PDF document as single pages on iPad?

    Hi,
    I have a company catalogue in PDF format, 20 pages long. We use Issuu to allow customer to view the catalogue on their PCs and mobile devices.
    In Issuu you can customise the embed widget to show single pages, and this works fine when viewing the catalogue on a PC. The problem arises when trying to view the catalogue on an iPad. It appears that the iPad automatically sets the PDF to view as a Facing Pages document. It doesn't matter if I'm using Safari, or the Atomic browser we have installed (so that we can hide the URL bar).
    I've created the document in inDesign as a single page document but the iPad still merges pages 2-3, 4-5, 6-7 etc.
    The iPads will be used in our retail stores so it's important that the set up and navigation is as simple as possible. The catalogue is placed within an iFrame on the page so that I can but a navigational banner at the top that easily takes customers back to the main menu page. It's important that the catalogue opens within the page. The Issuu embed widget for Tumblr, etc only creates a preview of the catalogue which then opens in a separate tab, which unfortunately will not be suitable to our needs.
    You can view the page here: http://www.eurocollections.com/block/catalogue.html
    I've tried a number of different options, I've written to Issuu but they were unable to help as it only seems to be an iPad-related problem.
    Any help or suggestions would be greatly appreciated.
    Kind regards,
    Peter

    The PDF viewers on the iPad do not understand customised widgets.  They understand the PDF format, exactly as it was designed by Adobe.  Instead of trying to use a custom solution, use the features which are provided by the PDF format.  Custom solutions work only for the situations that the company that wrote the custom solution wants them to work and they are a corruption of the normal way PDFs are used.
    In your situation I'd remove all dependency on any custom widgets from your PDF document.  Instead you can use links which allow you to click on a piece of text or an image in the PDF and the PDF software will take you to a different page.  This is part of the PDF standard and will work on all software capable of showing PDFs.  It is all your users should need to navigate from one part of your catalogue to another.  Whatever software you're using to create your PDF should give instructions on how to create links in your PDF document.
    Similarly your use of iFrames is a little stange.  If your material is on a web site, put it in web pages where you can use all the features web pages give you, including blue-underlined links to other pages.  If, instead, your material is in a PDF then put all the navigation in the PDF.  Don't try to depend on a strange interaction between the PDF and your web pages.

  • Problem in displaying selected page items in the title in Graph

    Hi There;
    I have a problem in displaying selected value of named page item in the graphs.
    Eg. I have in my worksheet a page item named "Location"; when I use "&WorksheetName &Location" in the title of worksheet it is displaying both the worksheet title and value of selected page item "Location" in my example.
    But when I use the same (&WorksheetName &Location) in the title of graph or Axis of the graph, it would show up only the name of the worksheet but not the value of page item "Location", instead it would print "&Location"
    Any idea why it is not able to reference the select page item in Discoverer graph? I am using Oracle BI Discoverer 10.1.2.1.
    Thanks in Advance,
    Regards,
    Nidhi Jethoo

    Hi Michael;
    Thanks a lot. It might not have been considered necessary but you do require, e.g in my case I am plotting Average value of a Parameter and it does make sense in including the name/value of Parameter(surface water temp/bottom watter temp) as an Axis instead of just a constant Parameter or say Average Parameter. So that user can plot the variation of different parameters by changing the page items and when user changes the value of parameter and export the graph he/she has the parameter name(actual value) in the graph.
    But I can include all the parameters (&Parameters) or all the page items(using &PageItems) in graph then why not individual page-item and individual parameter.
    I would log a SR and see what they say.
    Thanks again,
    Nidhi

  • Zoom/Page Display - EPUB document

    I downloaded an EPUB document from the iTunes Store. (It's a comic.)
    I just want to be able to view this on my PC (Windows XP) - I have Adobe Digial Editions 2.0 installed.
    Maybe this is a stupid question, but is there a way to zoom in/out like I can with PDF documents in Adobe Reader? The default display for this document in Digital Editions doesn't show the full page, and I just can't figure out how to zoom out to fit the full page on the screen.
    Thanks

    Hi,
    Based on your description, my understanding is that you want to get all the libraries associated with specific content types.
    I recommend to loop through all the libraries in the site programmatically, then use
    SPList.ContentTypes or List.ContentTypes property to get the content type in the library and check if the content type is the one specified.
    More references:
    http://stackoverflow.com/questions/15219968/how-to-get-list-of-all-document-libraries-from-sharepoint-site-programatically
    http://spdailytips.blogspot.com/2012/06/retrieve-all-document-libraries-in.html
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splist.contenttypes.aspx
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.list.contenttypes(v=office.15).aspx
    You can also use the SPList.CheckPermissions method to check if the permission of current user on the libraries.
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splist.checkpermissions.aspx
    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

  • Problems displaying and editing long documents on small pages sizes

    Problems displaying and editing long documents on small page sizes
    I read this problem have called with the helpdesk they didn't know the solution but how can I find the solution:
    In Pages 09, I can't scroll down andand click on text to edit it!! All the mouse will do is draw gray transparentboxes and not place the cursor in the text. Again, like the display problem, itdoesn't happen at the beginning of the doc, but starts showing up around 50 to60 pages in ... I can't select text at the bottom of pages ... at 50 pages, thecursor can be clicked into anyplace on a page. Further and further down, the unselectablearea on any particular page creeps up from the bottom line by line: at 175pages in the unselectable area is 12 lines high; at 360 pages in theunselectable area is 25 lines high. and finally at around 440 pages down, Icannot place the cursor anywhere on any page all the way to the end of thedocument.
    I have Page versie 4.1

    What you get was described here several times.
    As we are end users like you, we can't change the app behavior.
    Under 10.6.8 you have the buttons allowing you to scroll one line up or one line down.
    Under Lion they are no longer available.
    Yvan KOENIG (VALLAURIS, France) jeudi 18 août 2011 17:53:12
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Display data from multiple document Libraries in List View Webpart

    Hi All,
    I want to display data from multiple document libraries into one list view webpart(custom i have created)
    I went through the following link http://blogs.msdn.com/b/ramg/archive/2009/04/22/implementing-a-simple-cross-site-collection-list-view-webpart.aspx
    but it tells to display only from one document library.
    My motive behind displaying data in the list view webpart is to achieve the functionality of Check In ,Check Out and other OOB features.
    With Regards,
    Jaskaran Singh

    Hi,
    As there is no such OOTB feature, a workaround is to create a visual web part to gather items from libraries and implement functionalities like Check in, Check out files
    in different libraries.
    The links below will provide more details:
    Create Visual Web Parts in SharePoint
    2010
    A demo about displaying list items in visual web part:
    http://www.dotnetcodesg.com/Article/UploadFile/2/217/Web%20Part%20in%20SharePoint%20To%20Show%20All%20List%20and%20List%20Items.aspx
    About the Check In and Check Out:
    How to Check In a document programmatically
    SPFile.CheckIn method
    and SPFile.CheckOut method
    Best regards
    Patrick Liang
    TechNet Community Support

  • HT201301 How do I "Select All" in a Pages document? I would like to copy and past more than one paragraph at a time.

    How do I "Select All" in a Pages document. I would like to copy and paste more than one paragraph at a time.

    I just tab and hold untill the loop shows then let go and I get the menu with select all in it

  • How to display a document content in a JSP page

    Hi friends,
    I am trying to display a document's content in a JSP page after user authentication.For that I mapped a jsp file with extension ".sens" in Content Management SDK manager,and put the file in the directory '/ifs/jsp-bin' of webstarterapp,but it is not working.Please help me to solve the probleb as earliest.
    Regards
    Prasenjit

    under view put a new tag
    <f:view>
    <ui:script url="page.js"/>
    and thats it

  • How to display a document content in JSP page

    Hi friends,
    I am trying to display a document's content in a JSP page after user authentication.For that I mapped a jsp file with extension .sens in Content Management SDK manager,and put it the file in the directory '/ifs/jsp-bin' of webstarterapp,but it is not working.Down I am giving the code snippet,please help me.I need this to be done fast.
    <HTML>
    <HEAD>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ page import="oracle.j2ee.connector.Login" %>
    <%@ page import="oracle.ifs.adk.filesystem.IfsFileSystem"%>
    <%@ page import="oracle.ifs.adk.http.HttpUtils"%>
    <%@ page import="oracle.ifs.beans.LibrarySession"%>
    <%@ page import="oracle.ifs.beans.DirectoryUser"%>
    <%@ page import="oracle.ifs.beans.PublicObject"%>
    <%@ page import="oracle.ifs.beans.Document"%>
    <%@ page import="java.io.*"%>
    <jsp:useBean id="login" scope="page" class="oracle.j2ee.connector.Login">
    <TITLE>FileExtension.jsp</TITLE>
    </HEAD>
    <BODY BGCOLOR="SILVER">
    <%
    String theDisplay = "initialized";
    String theHidden = "initialized";
    boolean theAdminRights = false;
    try
    login = (Login) request.getSession(true).getValue("IfsHttpLogin");
    LibrarySession ifsSession = login.getSession();
    IfsFileSystem ifsFile = new IfsFileSystem(ifsSession);
    DirectoryUser du = ifsSession.getDirectoryUser();
    String path = HttpUtils.getIfsPathFromJSPRedirect(request) ;
    PublicObject po = ifsFile.findPublicObjectByPath(path);
    if(po instanceof Document)
    Document doc =(Document) po;
    InputStream in= ifsFile.getDocumentContent(doc);
    int i=in.read();
    while(i!=-1)
    out.write(i);
    in.close();
    out.flush();
    out.close();
    theAdminRights = du.isAdminEnabled();
    theDisplay = po.getAttributeByUpperCaseName("DISPLAY").toString();
    theHidden = po.getAttributeByUpperCaseName("HIDDEN").toString();
    catch (Exception e)
    e.printStackTrace();
    %>
    Here is some static content.
    <P>
    The Display Value: <%= theDisplay %>
    <P>
    <%
    if (theAdminRights)
    %>
    The Hidden Value: <%= theHidden %>
    <%
    %>
    </jsp:useBean>
    </BODY>
    </HTML>

    these may help you.
    Google map integration to EBS

  • How to display error documents in selection screen level

    Hi,
      Currently Iam doing Smartforms for journal voucher. Iam taking multiple documents as input and displaying relavent item data for each.
    Now, my requirement is i want to display invalid document numbers at selection screen level. For example there are 30 invalid document number i want to display them before start-of-selection.
    Thanks in advance,
    Regards,
    Chinna..

    i have a query......say i am using a selet-options s_ebeln for ekko-ebeln.
    i want to display error messages for
    1>lower limit cant be greater than upper limit?
    2>for special cahracters given in the select-options fields.....etc...
    now when i am writing the code......
    if s_ebeln-low gt s_ebeln-high.
    message e001.
    it is showing SAP's message not mine.
    but ....if my s_ebeln-high field is 0.
    then my message is showing.
    pls give me the codes for these?

  • How to display selected records on one HTML page?

    Hi,
    I would like to display selected part of records on one page in HTML region. For example I have a Master - Detail table set named Procedures and Tasks (each Procedure can have one or more tasks)
    I would like to be able to display all Tasks for a given Procedure in one HTML region on a page... The problem is that the number of tasks vary between procedures and can change in time. Also, the 'task description' can be very large so a simple report list of all tasks is something I cannot use... (I would like eg for the task name to be here, and the task_description to be there - unlike the report where everything is in one line...) The following are my ideas but non of them seemed to be feasable here...
    1. Use a report based on vertical columns (However I am using Theme 10 for which there are no vertical column templates. The only vertical templates I can see are the default ones but I have no idea how to customize them - where are they?)
    2. In HTML region use &ITEM_NAME. substitutions. In order to display more than one &EMN_NAME. (based on eg. EMPID) I suspect that I would need to write some kind of javascript loop. Has anyone have an idea about how would such a script look like?
    3. Display each Task in a separate screen. This is something I would want least but better than nothing - to have a customized report which would display one task at a time with some kind of pagination to it...
    Please let me know if someone has tried something simmilar or maybe there is a 4th option which will be simpler and easier...
    Many thanks,
    Pawel.
    I tried to make a very simple illustration of what I would like to achive here:
    http://htmldb.oracle.com/pls/otn/f?p=44995:3:9461299983704828937::::
    Message was edited by:
    padmocho

    Just to answer this one myself....
    In order to achive the above I used a PL/SQL Dynamic Content page and entered a html content in htp.prn('');
    Then, I created a PL/SQL LOOP which searches through the various rows...
    In the end, whenever I wanted to display html content I just used htp.prn and for variables I used htp.p(<var_name>);
    Maybe, it helps ;)

  • SAP Query: Display Selection Fields in the header page of Basic list

    Hello,
    I have to display the selection fields in the header page of the basic list and statistics
    in a SAP Query.
    I know the usage of short names for fields in the header page, but this doesn't work
    for the selection fields.
    How can I display the selection fields in header pages?
    Kind regards
    Thomas

    Try using:
    DATA: wa_lstab TYPE line
    READ LINE sy-index line value INTO wa_lstab
    Thanks,
    SKJ

  • Why Do Pages Headers Go Away on a Two Page Document When I select No Header for Page One

    MacBook Pro 15 Retina, Mid 2014 Chassis, Yosemite 10.10
    In the PAGES application.  I am writing a simple business letter I copied from a prior letter.  The letter is two pages long.  I add a header in the second page and it appears on the first page as well.  I correct the problem, and unselect the box that indicates I want the same header on all pages.  The header goes away on page one and on page two.
    I cannot access a header for page two.  It is as gone as gone can be. 
    I assume there is at least some amount of QA on this stuff, or do the customers do all of that?

    Hello Peter,
    Thanks for the reply.
    I want to make sure I understand.
    So I want to write a simple business letter, say to you.  All standard settings, profile for a business letter.
    I write the first page, and I happen to go one paragraph into the second page.  At the upper right hand corner of the second page I "mouse over" the header, select the right side box, and enter To Peter, Page Two.  Then I navigate to Document Inspector, under headers and footers, I select "Hide on First Page of Section."  But that is not right?  Because it doesn't solve my problem?
    Just to make sure I understand, even though I am in the second page of the section, selecting the option will make the page headers go away for page one and page two?  Forgive me I appreciate your help and am not blaming you.  Apple expects me to not only go through the search to find this setting as it does not default, but Apple also wants me to create a second section for the second page, and then enter the header, then navigate to Documents Inspector and then select "Hide on First Page of Section?"
    By the time I go through all of that, then save and print the two business pages, I then create an envelope in a new Pages document.  Give it a name, enter your address, and then print, and save the envelope.
    Thanks again Peter.
    Does anyone else think that seems like a lot of extra work to get a two page, simple business letter, into the post?
    Cheers,
    Ken

  • Display new items in document libraries on hompage

    I have created several document libraries and added documents to each one. How do I show new items added to the document libraries on the homepage of the subsite>
    sukai

    You've had a few suggestions in your post here
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/5cdb3305-b3ef-4884-8745-b14d76e7fb60/display-new-items-in-document-libraries-on-hompage?forum=sharepointgeneralprevious
    Have you any budget to spend?  If so, I'd suggest looking at the Lighning Tools Lightning Conductor Web Part.  This'll allow you to combine multiple libraries into one.  You can then set a date filter to show the most recent 3/4 days of documents
    only.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • How do I stop my cursor from selecting things on the page? It shows up like I want to type something and when I press the down key it goes through all the words like its a word document.

    How do I stop my cursor from selecting things on the page? It shows up like I want to type something and when I press the down key it goes through all the words like its a word document.
    == This happened ==
    Every time Firefox opened
    == June 27, 2010

    You have '''caret browsing''' enabled - that preference appears as set in your Troubleshooting Information.
    http://kb.mozillazine.org/Accessibility.browsewithcaret
    Hit the '''F7''' key to disable '''''caret browsing'''''.

Maybe you are looking for

  • Shipping Point Determination

    Hi, SD GURUS Client Requirement is Extend Ship Point TSA2 Plant 1001 Extend Ship Point TSA2 Plant 1001 for Ship Condition 06 "Ship or Barge" and add Loading Group 0002 "Bulk Bin". I have tried the same in OVL2. Its throwing error as an entry already

  • How can I magic move within a mask

    Hvave masked a long mobile image in keynote over a phone graphic and want to magic move the visual down within the mask but does not seem to work and just fades in and out rather than move?

  • XI3.1 install takes forever

    Good day, I am installing XI3.1 on AIX. It is taking forever to install (5 hours). I am using the standard MySql and Tomcat. I have installed on Windows before and never had this issue. Any ideas as to why the progress is so slow? Lee

  • Can't Upgrade WRT54GS v5

    Greetings - I'm trying to upgrade the firmware on my WRT54GS v5 to the latest 1.5.0.80 code. During the upload process, the progress bar fills to 100% once, then about 75% a second time. Once it hits that mark, I get a failure and the upload/upgrade

  • HT201272 I updated jelly sms and now when I went to use it it says not available in Ireland. Can you help me please with my query? Thanks

    HI No idea whats happened to jelly sms, I updated it, went to use it, I uninstalled it and theninstalled again and now it says it's not available in Ireland. I did pay for the app, several ywars back, does anyone know anything? thanks