Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • juhi 1 post 71 karma points
    Jan 31, 2018 @ 09:44
    juhi
    0

    List of all published site

    Hello,

    My company is using Umbraco for a project having many nodes, in turn having published and unpublished sites. My requirement is to get a list of all published site across all node in an xslx, csv etc. Is there any way to get this without hitting Umbraco extented APIs?

    Can some help?

  • Mila Pandurska 43 posts 190 karma points
    Feb 02, 2018 @ 12:56
    Mila Pandurska
    0

    Hi, Juhi, When you make queries through Umbraco tree the queries always return only the published nodes. You can make new Document Type and Template. In the template you can do something similar to CurrentPage.Site().Descendants() and this should return only the published nodes. You can structure your Template in a way to copy/paste in csv/excel.

    Hope that this will help.

    Mila

Please Sign in or register to post replies

Write your reply to:

Draft