Alfresco from a developers point of view
RSS icon Email icon Home icon
  • Alfresco Share – refresh tagscope cache

    Posted on November 2nd, 2009 jan 1 comment

    Alfresco uses a concept called tagscope caching to support performant tagging services in Alfresco Share. Each folder representing a site or a site container (doclib, wiki…)  has a d:content property cm:tagScopeCache thats acts as a tag cache. More detailed this property is a txt-file that contains a list of tags & their quantity, e.g.:

    test|2
    test2|1

    Sometimes these tagScopeCache are out-of-sync (at least in Alfresco 3.1), so I wrote a simple Javascript snippet to refresh this caches:

    function refreshTagScope(folder){
    var refresh = actions.create("refresh-tagscope");
    refresh.execute(folder);
    for each(item in folder.children)
    {
    if (item.isContainer)
    {
    refreshTagScope(item);
    }
    }
    }
    refreshTagScope(space);

    Steps to use this script:

    1. Upload js to data dictionary / Scripts
    2. navigate in JSF client to site or site container where you want to refresh your tagScopeCache
    3. open details page of folder
    4. Run Action -> Execute Script & choose the uploaded script.
  • internal twitter-like system in Alfresco Share?

    Posted on April 28th, 2009 jan 4 comments

    I’m an active twitter user since march & and I’m currently working on a Share customization project (intranet knowledge portal).

    Now, I’m wondering if it is a nice idea to add sth. like a internal twitter system to Share. Alfresco’s Activity Feed is a nice approach to track each activity, but in a system with more than hundred members of a site this feed gets very chattering. So, my basic idea:

    • reuse twitter syntax (@, DM, RT & #)
    • # –> automatically tag the message
    • twitter user-dashlet (like BeTwittered Google Gadget)
    • site-dashlet: last messages of site members
    • action link in DocLib, wiki etc. “recommed via twitter”:
      - opens dialog to write twitter message
      - autocompletion for user names typing @ or DM
      - automatically add shortened link to content
    • decide if each member follows all other site members or reuse twitter-like follow mechanism
    • tbc

    So…what do you think about this?

  • Alfresco Share eats documents

    Posted on March 30th, 2009 jan 6 comments

    I just recognized thats Alfresco Share has some really bad behaviour handling documents with the same name:

    1. Upload a a new document to Share doclib, e.g. called test.doc
    2. Upload another test.doc document with other content to the same space/folder via Share
    3. What happened? The 2nd upload overwrites the first one, the content property has been replaced, the first test.doc content has gone…

    Upps! Please don’t try this with your boss’s 200 page concept ;-)

    I followed this in Enterprise 3.0.1 & Ent. 3.1…

    I’ll raise an issue when I recover my  JIRA credentials.

  • Role based configurations in Alfesco Share?

    Posted on March 19th, 2009 jan 3 comments

    I’m currently writing a concept of a knowledge management portal based on Alfresco Share. The Alfresco guys are adding some missing features to Share in the next release(s), e.g. support of custom meta-data, Rules & Actions. But I’m missing a few other things, one of them I’d like to discuss in this post.

    What about Role based configuration? I think it is quite often that you’d like to configurate, that for example a consumer doesn’t see some adminitrative components or Dashlets you’ve added to Share to support your use case.

    I know that you can achieve this by custom coding (Or am I missing sth.?), but from my point of view this should be an configuration task.

  • Preview of custom metadata support in Share

    Posted on March 13th, 2009 jan 1 comment

    As discussed in my prevoius post, Alfresco Share is currently missing support for custom metadata.
    Gavin Cornwell (Alfresco) gives a preview of the comming support in 3.2 Enterprise here

    I’m sure, that the new REST based Form Service will help a lot of developers!

  • Does Alfresco Share need an iPhone interface?

    Posted on February 26th, 2009 jan 3 comments

    Alfresco ist currently designing an iPhone client for their collaboration platform Share. Thus I get an iPod touch from Alfresco as price for winning the Alfresco Developer Challenge a year ago I’m very interested in this stuff.

    Here are the wireframes of the user stories at slideshare.

    But I’m not sure if this is a real must for Share…I’m not sure if the user NEED this client. Of course Alfresco will gain a lot of marketing momentum offering an “iPhone-Enterprise-Collaboration” app. Does Sharepoint have sth. like that ;-)

    BUT, from my point of view there are other 1st prio features enterprise customers really need:

    • supporting custom Types, Aspects and Metadata  (docLib & search)
    • group based site membership (& more permission stuff like, SiteCreatorGroup etc.)
    • combination of Share & MS Sharepoint protocol usage within MS Office
    • Support of Rules inside of Share

    Most of these features are part of the Alfresco roadmap. Specially the support of custom types & aspects within Share is a real MUST.

    I’m doing ECM-Projects since a while and I cannot remember a project where we used only basis types and metadata.

    To sum up:
    It’s cool that Alfresco is always developing new stuff, that’s why I love it. But from my point Share is lacking some features which should be done before going onwards with other new apps.