I have an embedded property represented as table in UI, which has page definition of data class, i have a scenario to add another record (as model dialog) to the table for that i have configured form view with required properties in data class. But the view that i have created in data class is not populated in the main view where i want to add model. i could only able to see one option i.e ‘Edit’.
The Add/Edit modal for a table is controlled by the table configuration, not just by creating any form view in the data class. If you only see Edit, it usually means the table is not fully configured for Add or the modal view is not being created in the location/type that the table expects.
Please check whether the table has Allow add/edit/delete enabled, and also confirm whether your property is embedded data or data reference, because the supported modal-view configuration differs between those patterns. For data-object-based tables, the form view is usually created under Data type > UX > Other views > Form and then selected in the add/edit modal setup.
@yt110154 This behavior is expected for an embedded data table in Constellation. The View for add/edit dropdown does not show all views created in the data layer. It only shows the views that are valid for that embedded-table modal context. That is why your custom form view is not appearing.
In this setup, you should use the supported standard views such as Create and Edit for the embedded object, or build your customization from those view types. A standalone custom form view in the data class is usually not picked up by the embedded-table add/edit selector.
@RaviChandra can i use action instead?
@yt110154 Yes, for an embedded data table, you can use Action instead of View for the add/edit modal. In fact, Action is often the better choice when you need extra control, because it supports pre-processing, post-processing, validations and refresh logic, which a simple modal view does not handle as well.
So if your custom form view is not appearing in the View for add/edit dropdown, using Use View or Action = Action is a valid and recommended alternative for more complex embedded-data scenarios
i have created a user action in data class(in action tab beside UX) but still i cannot see the action in the embedded property.
A standalone user action created under the data object is not always eligible for selection there. For embedded data tables, the safer supported approach is to use the standard Create/Edit views for the modal, or a Flow Action that is available in the case context. Also make sure the embedded page context is initialized, because some embedded-data options depend on that
Could you please confirm the Platform version? Pre and Post Actions are available from 25 onwards for Embedded Data.
we are on 25.1.2
In the table’s properties, enable “Allow add” so a new record can be created. Then, under the Data Class, create a Form view (go to Data type > UX > Other views > Form) and add the required properties to it. Next, open the Add/Edit modal setting for that table, set “Use View or Action” to “View,” and select the form view you just created. This makes your new view appear as an option for adding a record, instead of showing only the Edit action.



