Ideas

Give us your best ideas!

ParentBlockSystemId for nested blocks

I have a few cases where a nested block need information from it's parent, but for that I need the systemId of the parent. Currently there is no information about that on the block.

It would be great to have the same functionality as for pages where ParentPageSystemId references the parent page. For blocks it would be ParentBlockSystemId.

  • Tobias Johansson
  • Aug 18 2023
  • Not right now
  • Attach files
  • Tobias Johansson commented
    October 09, 2023 06:25

    There are some cases where I want the nested block to access properties or type of it's parent block. I did check the database and the property I want to be able to get is the OwnerBlockSystemId in Blocks.BlockItemLink.

    I cannot see any way to access that through the API:s.

  • Admin
    Patric Forsgard commented
    October 05, 2023 15:03

    This may be little tricky to get correct because a block can have multiple parents because it is placed in multiple places on the same time.

    Can you describe little more about what you need this information to and we can see if there is any other good way to achieve that?