Copied to clipboard

Flag this post as spam?

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


  • Jonathan Roberts 409 posts 1063 karma points
    Sep 02, 2019 @ 13:03
    Jonathan Roberts
    0

    Find blocks added to a page - Umbraco 7.13

    Is it possible to search for all the pages a specific block type has been added to - Published or UnPublished?

    Thanks

    Jon

  • Shaishav Karnani from digitallymedia.com 354 posts 1638 karma points
    Sep 02, 2019 @ 13:18
    Shaishav Karnani from digitallymedia.com
    0

    Hi Jonathan,

    You need to update config/ExamineSettings.config and add options for supportUnpublished=true to include them in the results. supportProtected is also another option.

        <add name="ExternalIndexer" type="UmbracoExamine.UmbracoContentIndexer, UmbracoExamine" supportUnpublished="true"
           supportProtected="true"/>
    

    Regards,

    Shaishav

  • Jonathan Roberts 409 posts 1063 karma points
    Sep 02, 2019 @ 13:22
    Jonathan Roberts
    0

    Hi,

    Im looking for something like Nexu but without the database - where I can pick a block in the CMS and then it tells me all the pages in the CMS that the block is on. It needs to search Published and unpublished pages.

    Thanks

  • Shaishav Karnani from digitallymedia.com 354 posts 1638 karma points
    Sep 02, 2019 @ 14:32
    Shaishav Karnani from digitallymedia.com
    0

    Please can you expand slightly on what is block?

  • Jonathan Roberts 409 posts 1063 karma points
    Sep 02, 2019 @ 14:35
    Jonathan Roberts
    0

    A block is something like a Quote block or a Rich Text editor or an Image block. We have even created our own bespoke Blocks like a Card (bootstrap) block.

  • Shaishav Karnani from digitallymedia.com 354 posts 1638 karma points
    Sep 02, 2019 @ 15:05
    Shaishav Karnani from digitallymedia.com
    0

    Are these block part of Grid Editor?

  • Jonathan Roberts 409 posts 1063 karma points
    Sep 02, 2019 @ 15:08
    Jonathan Roberts
    0

    Unfortunately not - it is using Nested Content

  • Shaishav Karnani from digitallymedia.com 354 posts 1638 karma points
    Sep 02, 2019 @ 16:04
    Shaishav Karnani from digitallymedia.com
    0

    Hi Jonathan,

    I would suggest that you create a GatheringNodeData Event and add a new field that can store comma separate block alias.

    Therefore, you will be able to do Examine search on that block and view all the nodes for that block.

    Regards,

    Shaishav

Please Sign in or register to post replies

Write your reply to:

Draft