More in this section
Forums / General Discussions / list of documents

list of documents

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
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:
    12 Sep 2017
    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