Blog

Alfresco and ECM

Your are browsing tag : share

Select metadata edit form based on aspect

may 04 2012

Categories : Tips and Tricks, Tutorials

For a client I needed to come up with a solution to use a specific metadata edit form when the document had a certain aspect applied. Reason was that that if it had this aspect, you should only be allowed to edit this subset of metadata, not the default name, title etc (sort of a lockdown). Out of the box you can only configure different forms based on document type so I needed to find a way to see if the document had the aspect applied, and if so show a special form.

Tags : share, forms, surf

Replace Alfresco standard Flash viewer with pdf.js

jan 08 2012

Categories : Announcements, Products and Add-ons

Have you noticed that the flash based previews in Alfresco 4.0 looks a bit blurry? Then you are correct, it is not your vision that’s failing, they really are. This is due to change settings for pdf2swf program (that create the flash) to make it more reliable for large pdfs, and for certain pdfs it could crash the jvm completely. So there was a good reason for the change.The image above shows the difference between the settings. Details can be found in this issue ALF-10870. This issue is now closed as won’t fix, something I do not agree with. It would have been better to postpone the fix for 4.0.x (or any later version) if there is no immediate resolution, because a fix is needed, no one wants previews that makes Alfresco look like an inferior product (that it absolutely not is) on first impression.

Tags : share, PDF, viewer, pdf.js

Alfresco multilingual properties – feature or bug?

oct 30 2011

Categories : Notes

Many of you that use Alfresco is probably not aware of that Alfresco has built in support for multilingual properties. Out of the box Alfresco use this for Title and Description, but only for those two. What this means for documents is that if you are logged into Share as a user with en_US locale preferences and create a document with title “My English Title” and description “My English description”, then a user with sv_SE (as in swedish) updates the properties to title “My Swedish Title” and description “My Swedish description”, any user with en_US will still see the original text, sv_SE user will see the “translated” Swedish text. For this to happen you do not need to have that language pack installed. To test this I recommend Firefox with the plugin Quick Locale Switcher.

Tags : share, forms, i18n