cancel
Showing results for 
Search instead for 
Did you mean: 

Configure tabs in app

frkas
Champ in-the-making
Champ in-the-making
Hi

I want to remove the tab Repository from the standard Alfresco app for Android. I cant find out how to do it in the newer version. (Alfresco 5.0.2 and app version 1.7.0.267). In the old version it was easy, just add

{
   "rootMenu":{
      "com.alfresco.activities":{
         "visible":true
      },
      "com.alfresco.repository":{
         "visible":false
      },
      "com.alfresco.sites":{
         "visible":true
      },
      "com.alfresco.tasks":{
         "visible":true
      },
      "com.alfresco.favorites":{
         "visible":true
      },
      "com.alfresco.search":{
         "visible":true
      },
      "com.alfresco.localFiles":{
         "visible":true
      },
      "com.alfresco.notifications":{
         "visible":true
      },
      "com.alfresco.repository.shared":{
         "visible":true
      },
      "com.alfresco.repository.userhome":{
         "visible":true
      }
   }
}

In the configuration.json and put it into Company Home/Data Dictionary/Mobile. But this doesnt work anymore.
3 REPLIES 3

steven_okennedy
Star Contributor
Star Contributor
It looks as if the format of the configuration file has changed slightly in the later versions.  What I think you need to do is to define a profile and have that profile specify a specific view (or view group).  The view is similar to what you have outlined above, except that you can define multiple different configurations that can be used with different profiles.

Have a look at the docs and the sample configuration file http://docs.alfresco.com/5.1/concepts/mobile-config-overview.html - the documentation is not complete and there are holes, but it might at least give you the high level structure you need

Regards

Steven

I was looking into this but thought there was an easier way.

I managed to remove the Repository tab but I couldnt add <strong>My Files</strong> and <strong>Shared Files</strong>. Any ideas how to add those two tabs?

Hi,

No, I don't know what values represent these views/menus. I have brought it to the attention of the team who manage the documentation that this content is not complete and they are working on improving it, but in the meantime, the source code of the mobile app itself might be the place to find out what values it expects when processing this file

Regards

Steven