How to use an Embedded D2WList

Version 9.1 by Ravi Mendis on 2010/02/02 17:27

How to use an Embedded D2WList

In ERDivaLookExample Studio.movies is displayed as an embedded D2W list:

Picture 1.png

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 to the list add a rule:

     LHS                                                                            key                          RHS                 
 pageConfiguration = 'ListEmbeddedMovie' and parentPageConfiguration like 'Studio' showActions         true                          

To be able to delete items from the list

     LHS                                                                            key                          RHS                 
 pageConfiguration = 'ListEmbeddedMovie' and parentPageConfiguration like 'Studio' isEntityDeletable   true