Index: trunk/grails-app/controllers/AppCoreController.groovy
===================================================================
--- trunk/grails-app/controllers/AppCoreController.groovy	(revision 687)
+++ trunk/grails-app/controllers/AppCoreController.groovy	(revision 688)
@@ -9,7 +9,9 @@
 
     def authService
+    def assetService
     def appConfigService
     def createDataService
     def searchableService
+    def assetSubItemService
     def createBulkDataService
 
@@ -269,3 +271,35 @@
     }
 
+    /**
+    * Allow admin to create recommended extended attributes for assets.
+    */
+    @Secured(['ROLE_AppAdmin'])
+    def createRecommendedAssetExtendedAttributes = {
+        def result = assetService.createRecommendedExtendedAttributes()
+        if(!result.error) {
+            flash.message = g.message(code:"default.create.success", args:["Extended attributes created", ''])
+            redirect(action: appAdmin)
+            return
+        }
+
+        flash.errorMessage = g.message(code: result.error.code, args: result.error.args)
+        redirect(action: appAdmin)
+    }
+
+    /**
+    * Allow admin to create recommended extended attributes for level 1 assetSubItems.
+    */
+    @Secured(['ROLE_AppAdmin'])
+    def createRecommendedAssetSubItemExtendedAttributes = {
+        def result = assetSubItemService.createRecommendedExtendedAttributes()
+        if(!result.error) {
+            flash.message = g.message(code:"default.create.success", args:["Extended attributes created", ''])
+            redirect(action: appAdmin)
+            return
+        }
+
+        flash.errorMessage = g.message(code: result.error.code, args: result.error.args)
+        redirect(action: appAdmin)
+    }
+
 } // end of class.
