How to use an Embedded D2WList
In ERDivaLookExample Studio.movies
is displayed as an embedded D2W list:
You use it by setting the following rules:
LHS |
key |
RHS |
---|---|---|
entity.name = 'Studio' and task = 'inspect' and propertyKey = 'movies' |
componentName |
ERDEditableList |
pageConfiguration = 'ListEmbeddedMovie' and parentPageConfiguration like '*Studio' |
displayPropertyKeys |
("title","category","rated") |
All embedded D2WList pages have pageConfigurations beginning with ListEmbedded.
They also are assigned a parentPageConfiguration.
So the particular setting for a embedded list can be identified using both these keys, as seen in the second rule listed above.
How to make the list Editable
To be able to add items to the list use a rule like the following:
LHS |
key |
RHS |
---|---|---|
pageConfiguration = 'ListEmbeddedMovie' and parentPageConfiguration like '*Studio' |
showActions |
true |
To be able to delete items from the list, use a rule like:
LHS |
key |
RHS |
---|---|---|
pageConfiguration = 'ListEmbeddedMovie' and parentPageConfiguration like '*Studio' |
isEntityDeletable |
true |