Alfresco Mobile for Android : Server Side Configuration

cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Mobile for Android : Server Side Configuration

Intermediate
0 1 897

Obsolete Pages{{Obsolete}}

The official documentation is at: http://docs.alfresco.com



AndroidConfiguration


Disclaimer


This feature is a PREVIEW & NON SUPPORTED feature available on Alfresco Mobile for Android 1.3, 1.4 and iOS 2.0 only.


Summary


Server Side Configuration enable administrators to define a personalized experience for Mobile users.

Since Alfresco Android 1.3 (and including 1.4 and iOS 2.0) this feature is available in 'preview/non supported' mode.
It's possible to


  • Configure Main Menu
  • Display / Hide Main Menu Item
  • Enable My Files shortcut
  • Enable Shared Files shortcut (4.2 only)

Prerequisites


  • Alfresco Server 3.4+
  • Alfresco Android 1.3, 1.4 or Alfresco iOS 2.0




Installation


  • With your Alfresco Server
    • Create a folder named 'Mobile' inside the 'Company Home / Data Dictionary' folder
    • Create a file named 'configuration.json'
    • Copy & paste the following content into 'configuration.json' & save the file

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

NOTE: Features that are supported on 4.2E servers and newer:


'com.alfresco.repository.shared' = Shared Files

'com.alfresco.repository.userhome' = My Files

Alfresco Mobile


1 Comment
Member II

This configuration not work. I have alfresco 5.1 community and alfresco mobile 1.7.

I tested too the configuration.json with :

{"info":{"schema-version":0.2,"config-version":0.1},"profiles":{"default":{"default":true,"label-id":"Custom Default","root-view-id":"views-menu-default"}},"view-groups":[{"id":"views-menu-default","label-id":"Visualizações","items":[{"id":"view-activities-default","label-id":"Atividades","icon-id":"org.alfresco.client.icon.activities","type":"org.alfresco.client.view.activities"},{"id":"view-repository-default","label-id":"Detalhes","icon-id":"org.alfresco.client.icon.repository","type":"org.alfresco.client.view.repository"},{"id":"view-repository-shared-default","label-id":"Compartilhados","icon-id":"org.alfresco.client.icon.shared-files","type":"org.alfresco.client.view.repository"},{"id":"view-sites-default","label-id":"Sites","icon-id":"org.alfresco.client.icon.sites","type":"org.alfresco.client.view.site-browser"},{"id":"view-repository-userhome-default","label-id":"Meus Arquivos","icon-id":"org.alfresco.client.icon.my-files","type":"org.alfresco.client.view.repository"},{"id":"view-task-default","label-id":"Minhas tarefas","icon-id":"org.alfresco.client.icon.tasks","type":"org.alfresco.client.view.tasks"},{"id":"view-favorites-default","label-id":"Favoritos","icon-id":"org.alfresco.client.icon.favorites","type":"org.alfresco.client.view.favorites"},{"id":"view-sync-default","label-id":"Synced Content","icon-id":"org.alfresco.client.icon.sync","type":"org.alfresco.client.view.sync"},{"id":"view-search-default","label-id":"Pesquisa","icon-id":"org.alfresco.client.icon.search","type":"org.alfresco.client.view.search"},{"id":"view-local-default","label-id":"Arquivos locais","icon-id":"org.alfresco.client.icon.local-files","type":"org.alfresco.client.view.local"},{"id":"view-config-menu-editor","label-id":"Configurações","icon-id":"org.alfresco.client.icon.settings","type":"org.alfresco.client.view.config.menu.editor"}]}]}

but not work.