Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-14917

Ability to customize AOS web views for MS Office integration


    • Type: Improvement
    • Status: Closed (View Workflow)
    • Resolution: Fixed
    • Affects Version/s: 5.0.2
    • Fix Version/s: AOS 1.1.8, AOS 1.2.0
    • Labels:
    • Environment:
      Client: Windows 7, Firefox, Office 2010
      Server: Ubuntu, 2x CPUs and 8 GB RAM; Alfresco v5.0.2
    • Bug Priority:
      Category 2
    • ACT Numbers:



      Request for additional customisation options made available for the webviews in the MS Office AOS integration.
      In case you have a lot of sites, the site names (short names or identifiers) are not always intuitive to the end users,
      who are to consume the information. When a site title is changed this is even more clear.
      In Alfresco Share you always see the title in the UI. When browsing the repository through AOS you see just the short name.
      It would be helpful to see/show the the site's title instead or even better, to make the view customisable which will make
      the navigation at the MS Office more user friendly.

      [Steps to reproduce]:
      1.) No steps to reproduce because of request for enhancement

      [Expected Behaviour]:
      Display the site's title.

      [Observed Behaviour]:
      You see the stie's short name at the moment.

      [Analysis to date]:
      Clients idea:

      1.) To customize the web view you can use the sample files provided in the alfresco package as a starting point. 
      2.) Rename shared/classes/alfresco/extension/FileDialog_Sites.ftl.sample and shared/classes/alfresco/extension/custom-aos-webview-context.xml.sample and remove the ".sample" extension. 
      3.) Edit the FileDialog_Sites.ftl to customize the appearance of browsing the sites folder through AOS (http://localhost:8080/alfresco/aos/Sites).
      4.) The line saying "<td style="text-align: left; font-size: 250%;">${item.getName()}</td>" is the line printing out the site short name. 5.) A thought here would be to replace item.getName() with item.getTitle(), or even item.getProperties().getProperty("cm:title"). 
      6.) This however is impossible since the service implementation does not expose any getTitle or getProperties methods.
      7.) To solve this an implementation of the getTitle() method would suffice, however to allow for further customizations of these webviews the getProperties() method should be implemented.

      Side note: The current implementation doesn't allow extension development, so a third party cannot extend the AOS code to give the clients such a feature without refactoring entire code of this area.


          Issue Links




                • Assignee:
                  closedbugs Closed Bugs (Inactive)
                  nkisa Nebil Kisa
                • Votes:
                  0 Vote for this issue
                  4 Start watching this issue


                  • Created:

                    Structure Helper Panel