In a previous post ( TP4 ) I already showed how you an application user can personalize the JSF pages of the ADF 11G application and that ADF will persists these username, role or site changes in a file or database. In TP4 I had to configure MDS manually. With the July release of JDeveloper 11g we can do this with a few wizards.
First we need to enable Customizations the viewcontroller project options. Enable User and Seeded Customizations
Open the adf-config.xml where we have to select the type of customization. We can choose user , role or site. You can always make your own customization class and select this class instead of the default options.
I choose for UserCC, this means I need to enable and configure ADF Security
Select Tag Configuration and choose for example column. This mean the user can change the properties of a table column.
In this case I want to enable that the user can change the column order and the width of the column.
The last step is to configure MDS or the Metadata repository. for this we need to go the application properties.
Make a new MAR deployment profile.
Select the MDS option where we can select the just created MAR profile.
Finally we can run your ADF application and change the column order of a ADF table. We can see these changes on our file system. ( JDEV_USER_HOME JDeveloper\system18.104.22.168.33.54.07\o.mds.dt\adrs )