Copied to clipboard

Flag this post as spam?

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


  • David Peck 690 posts 1896 karma points c-trib
    Mar 16, 2023 @ 17:12
    David Peck
    0

    Displaying an editor in a context app

    I think I may have imagined a feature because I can't find it in the documentation.

    Is it possible to have a context app, where it shows the editor for a single entity rather than the list view of a collection?

    Additionally can you have a context app where the FK is held within the content, rather than the entity having the FK?

    My use case being:

    1. A collection of Resources is already setup in Konstrukt
    2. A user creates a ResourcePage in the content section
    3. A property on the ResourcePage has uses an Entity Picker to allow selection of a Resource (the content is then published).
    4. A Content App exists for the ResourcePage that shows the Editor view of the resource that was picked on the content item.

    I'm guessing I'm making stuff up 😳.

    The open button in the Entity Picker is a good fallback to create the sort of UX that I'm imagining. Even better would be if the Editor could load an overlay so that they don't need to leave the content section to edit a mixture of content and custom data tables.

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Mar 17, 2023 @ 08:42
    Matt Brailsford
    100

    Hey David

    Unfortunately no you can’t do that. Konstrukt is always “collection” based so you’ll always have a list view and then an editor view.

    Re linking on something other than the entity ID again unfortunately not. I think we do have an ID resolver that can be replaced but that still assumes it’ll be a node ID

Please Sign in or register to post replies

Write your reply to:

Draft