Set up In-context editing to work with Data Definition Fields (only getting metadata)

edgar.alcantara's Avatar


11 Sep, 2015 03:14 PM

I currently have a block based layout and each block has all the working parts (data definition, velocity format, etc.). i'm trying to use In-Context editing and am only able to provide access to metadata fields. How can i get the Data Definitions in there for editing?

Main-Content (Data definition):
banner-image (field)
alt-tag (field)
text (field)

We would like to be able to edit these in-context just like metadata fields.

There is plenty of articles that say it's possible "if configured", but there seems to be no "how to" on this.
In-context editing example:

  1. 1 Posted by Ryan Griffith on 11 Sep, 2015 05:16 PM

    Ryan Griffith's Avatar

    Hi Edgar,

    As long as your Content Type is configured with a Data Definition, you can add Data Definition fields just like the Metadata fields:

    • Click the Editable Fields pane
    • Open the desired region
    • Click on the pencil icon next to Data Definition Fields
    • Select the desired groups and/or fields and click OK in the modal
    • Save the Content Type

    I have attached a screenshot for reference as to what things should look like.

    Please let me know if you have any questions.


  2. 2 Posted by edgar.alcantara on 11 Sep, 2015 06:51 PM

    edgar.alcantara's Avatar

    Hi Ryan,

    That was helpful. At first we only got the pencil for metadata. After applying one (any random one) of our data definitions I could see the pencil for Data Definitions. Unfortunately any Data Definition I applied was for one of the regions and this caused me to only be able to select fields for that data definition in all of my regions.

    Our Current setup:
    We have multiple regions, each with their own blocks, Data Definitions, formats, etc. Not using one central "DEFAULT" region that contains everything, because we tried to go modular, especially on the home page, which has a lot of modules (blocks/regions).

    Screenshots attached:
    img1: Modular Home page (each region to be edited in-context)
    img2: I applied slideshow data definition to content type for example
    img3: Here you can see that the chosen data definition's fields are the only choices I have regardless of which region.

    Is there something I can do to get each Region to have it's own Data Definition fields to choose from within Content Type.

    Please let me know.

    Edgar A.

  3. 3 Posted by Ryan Griffith on 11 Sep, 2015 07:41 PM

    Ryan Griffith's Avatar

    Hi Edgar,

    Currently, the Data Definition fields will only be based on the Data Definition that is associated with the Content Type, so there's no way around that at the moment.

    That being said, the user should be able to edit the Block that is attached to that region in-context if the following conditions are met:

    • you enable the Allow XHTML/Block contents to be edited in-context option for the region
    • the user has EDIT permissions to the Block that is attached to that region

    Please let me know if you have any questions.


  4. 4 Posted by edgar.alcantara on 18 Sep, 2015 02:37 PM

    edgar.alcantara's Avatar

    This worked for us....thanks for all the great help.

  5. edgar.alcantara closed this discussion on 18 Sep, 2015 02:38 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac