Alfresco Share: what shall I do make my documents previewable? - alfresco

When I upload document into Alfresco Share library - site tells me: "preview is anavailable for a document" though document is a standard winword.
What shall I do to make my winword documents previewable? I use Community Alfresco Edition

In order to let the preview correctly work, you need the following third party software to be properly installed on the server running Alfresco:
OpenOffice (NOTE: don't use version 3.3.0 as it is affected by a known bug)
Imagemagick
swftools
The first link I provided already includes the configuration changes you need to provide Alfresco with in order to point out to those external tools.

You can add custom preview for documents in alfresco share, Fist you need to add new mime type (here) in alfresco and then Create your preview plug in which renders the content in document details page
you can refer this example for creating plug in PdfJs
For more information refer this page

Related

Qt Installer Framework - Update control script

The problem
I have a Qt IFW installer with an online repository, from which users fetch data to install and update the software.
My installer has a "root script" defined in config.xml:
<Installer>
<!-- ... -->
<ControlScript>controllerscript.qs</ControlScript>
</Installer>
Now I want to change the content of controllerscript.qs and deploy it on the online repository.
when a new user installs the software for the first time, it works as expected
when a user updates its software from a previous version using MaintenanceTool.exe, it does not get the update
Possible solution
I realized that when you create the installer, it generates a file named MaintenanceTool.dat which seems to contain controllerscript.qs (+ other things). I managed to manually copy that file and push it to the online repository (inside a package). That way, the maintenance tool is able to see the package update, and correctly gets the new MaintenanceTool.dat. After that, the maintenance tool is indeed using the new code from controllerscript.qs.
Question
Is there another (cleaner) way to achieve that?
If not, is it really safe to provide a manual update to MaintenanceTool.dat? That file contains many other things, so is there a risk to interfere with the rest?
Thanks,

.dll files successfully added but are not enabled in the active designer

When I use .dll files in the ASP.net toolbox with the chosen item menu, a message displays like: "The following controls were successfully added to the toolbox but are not enabled in the active designer". I want to use this .dll (Aguage.dll file downloaded from internet & want to use in my project).
What can I do to solve this issue.
This .dll file basically contain a gauge like speed meter of car, clock etc
The following link appears to have the answer to your question (though is slightly different, it appears).
how to import a dll into a asp.net web application running on webserver
So hopefully you should find all the info you need there. However if you need more help do let me know :).
Edit: I have checked and the initial version of the file seems to have been created for .NET 2.0 rather than the version you are currently using. There may be a way to amend the DLL file but I would suggest this is problem.
Edit 2: Works fine on my system with latest version of VSEE 2015 so outdated file doesn't seem to be the issue. Suggest there is a likely a probably with user's setup. More info in comments.
http://www.codeproject.com/Articles/17559/A-fast-and-performing-gauge
I have uploaded a video to help:
https://www.youtube.com/watch?v=HWFIgFonZ3A
(in reply to the user who previously removed reference to this question, this is not a link only answer by any stretch of the imagination; furthermore, the answer holds information which is likely useful to other users and is part of a process of ongoing inquiry into the roots of the user's issues, which we are more than happy to look into as deeply as the concerned party is willing to furnish us with additional information)
Additional note: At the current time our best information has been forthcoming regarding the problem the user is experiencing. If the user wishes additional support, and assuming Visual Studio had been installed from scratch, we would be ok to remote on to the user's system if they wish us to do so

Show Versions within the document (IT Hit WebDav)

I am trying to evaluate the ITHit WebDav Server Engine Library as I would like to implement a feature to have the ability to modify different versions within Word.
I am using Word Office 2013 and I am wondering if its possible to show the versions in the word document, under Info tab and then under Versions (next to manage versions button).
I have followed the steps through the wizard to generate the code. I have selected
1) 'store files and metadata in SQL DB'
2) Delta V support checked
3) 'auto-put under version control before the first update' and 'allow auto versioning' as checked.
I have tried editing the word file, saving and opening it again. However, I am not able to see the list of versions under the Versions tab. Maybe the versions can only be seen through the AJAX File browser plugin, if thats the case, is there a way to show the different versions available for the document file which was send to the client ? Do I need to extend an interface of IFile or IVersion etc?
Unfortunately Microsoft Office is using its proprietary protocol extensions to manage document versions, it is not using WebDAV. As a workaround you can manage versions via Ajax File Browser.
Currently DavEngine class contains AllowOffice12Versioning property which enables versioning in MS Office UI. However this property is experimental and currently marked as internal. It is available for source codes license owners only.

Is it still possible to edit a document in google docs from alfresco share 4.2?

I have a 4.0.x binary installation of alfresco and have this menu highlighted below:
I have 2 custom installed 4.2.c versions and this option is missing. I have done the following to try and enable it as read from different parts of the web:
1) added the two following lines to both the share and the repo's alfresco-global.properties file
#enable GoogleDocs integration
googledocs.enabled=true
googledocs.googleeditable.enabled=true
2)Modified the share-custom-config.xml file in attempts to enable this and other google docs functionality.
So far this is the only thing missing. I am not sure whether this is a bug or whether I'm overlooking something else.
Yes, Google Docs integration works fine with Alfresco Community Edition 4.2.c. In fact, here is a video that shows you how to get it working:
http://www.youtube.com/watch?v=EbNDEp1KG1g
The video shows that the out-of-the-box installer will not create a working Google Docs integration due to changes on the Google side. So you need to reinstall the AMPs to both the alfresco and share wars as gagravarr mentioned above.
If you are using Google Docs integration in the repository folders (external to a Share site) you will need to install from head because there is a bug. If you are using the integration only within Share sites the latest released version of the integration, downloadable from the 4.2.c file list page, will be fine.

How to host and publish Alfresco WCM

I'm very new to Alfresco and trying to get hold of it. I'm using Community edition 4.2 and I've created one website using Alfresco Share and I did not imported Government/Finance website data. Below is the screenshot -
Now I've created two folders under Document Library tab and have uploaded few PDFs into that. It looks like below -
Now if I click on publish link then its saying that "There is no appropriate channel for this content".
I entered ubswcm as URL name while creating this site.
I followed the link http://docs.huihoo.com/alfresco/Getting-Started-with-WCM-for-Alfresco-Commumity-Edition-3.2.pdf which talks about stating but I could not find staging in this version of Alfresco 4.2.
My questions
How can I publish this content?
How can I run this website on localhost? Do I need to create war file? If so then please advice how to proceed on this.
http://:8080/wcmqs running fine. How can I build slimier site like this in http://:8080/ubswcm ? Please suggest if you have any tutorial on this.
Many thanks for your help!
You need to follow a tutorial on the Alfresco Web Quick Start capabilities. You should find that these capabilities are well-documented on docs.alfresco.com, e.g. Using Alfresco Web Quick Start.
Do not confuse Web Quick Start with the Social Publishing framework (which the Publish action is associated with) or with the legacy AVM-based WCM services (which I assume the PDF refers to, but I could not tell for sure as you link gives me a 404) that are no longer supported in Alfresco 4.

Resources