+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / list of documents

list of documents

3 posts, 0 answered
  1. NuToSitefinity
    NuToSitefinity avatar
    140 posts
    Registered:
    01 Sep 2010
    08 Apr 2011
    Link to this post
    how can i get a list of documents for each of my libraries?

    I have documents that are linked to products, we uploaded the documents to a doc library, so now I want to show a menu that has links to the documents for a product so example

    product 1 would have a menu with links to product 1 documents
    product 2 would have a menu with links to product 2 documents

    what is the best way to accomplish this?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    11 Apr 2011
    Link to this post
    Hello NuToSitefinity,

    You can use GetContent method with parent Id parameter

    http://www.sitefinity.com/help/developer-manual/content-items-get.html#GetContent_by_from_max_sortExp_parentID

    product 1 would have a menu with links to product 1 documents
    product 2 would have a menu with links to product 2 documents


    You can add custom metafileds to link to the document or product.

    Best wishes,
    Ivan Dimitrov
    the Telerik team

  3. NuToSitefinity
    NuToSitefinity avatar
    140 posts
    Registered:
    01 Sep 2010
    11 Apr 2011
    Link to this post
    I tried that and no luck in getting the correct documents from the correct library for the associated product
Register for webinar
3 posts, 0 answered