As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<alfresco-config> <!– Repository Library config section –> <config evaluator="string-compare" condition="RepositoryLibrary" replace="true"> <!– Whether the link to the Repository Library appears in the header component or not. –> <visible>true</visible> </config> <config evaluator="string-compare" condition="Remote"> <remote> <endpoint> <id>alfresco-noauth</id> <name>Alfresco - unauthenticated access</name> <description>Access to Alfresco Repository WebScripts that do not require authentication</description> <connector-id>alfresco</connector-id> <endpoint-url>http://localhost:8080/alfresco/s</endpoint-url> <identity>none</identity> </endpoint> <endpoint> <id>alfresco</id> <name>Alfresco - user access</name> <description>Access to Alfresco Repository WebScripts that require user authentication</description> <connector-id>alfresco</connector-id> <endpoint-url>http://localhost:8080/alfresco/s</endpoint-url> <identity>user</identity> </endpoint> <endpoint> <id>alfresco-feed</id> <name>Alfresco Feed</name> <description>Alfresco Feed - supports basic HTTP authentication via the EndPointProxyServlet</description> <connector-id>http</connector-id> <endpoint-url>http://localhost:8080/alfresco/s</endpoint-url> <basic-auth>true</basic-auth> <identity>user</identity> </endpoint> </remote> </config> </alfresco-config>
Actually, there are two parts to the Google Docs configuration - Share and the Repository.For the Repository, copy the values from googledocs.properties into alfresco-global.properties outside the webapps folder (you should never change anything *inside* the webapps folder - it'll get overwritten if the war ever gets redeployed).For Share, you can find the relevant config either in share-config.xml or share-config-custom.xml.sampleThanks,Mike
It's exactly the same config, but due to some problems related to how the installers work, we couldn't include the config in the sample file any more. I think that was just a temporary issue however, so I'll see if I can get it back in to prevent confusion in the future.Thanks,Mike
Ensure that you have the Google Editable Aspect declared.
Look for the Google Docs section of the file and ensure that you have the “enabled” option set to “true”
<!– Document Library config section –> <config evaluator="string-compare" condition="DocumentLibrary" replace="true"> <!– Google Docs™ integration –> <google-docs> <!– Enable/disable the Google Docs UI integration (Extra types on Create Content menu, Google Docs actions). –> <enabled>false</enabled> <!– The mimetypes of documents Google Docs allows you to create via the Share interface. The I18N label is created from the "type" attribute, e.g. google-docs.doc=Google Docs™ Document –> <creatable-types> <creatable type="doc">application/msword</creatable> <creatable type="xls">application/vnd.ms-excel</creatable> <creatable type="ppt">application/vnd.ms-powerpoint</creatable> </creatable-types> </google-docs> </config>
log4j.logger.org.alfresco.repo.googledocs=debug
My first test was to create a Google Docs Document using the drop-down menu. Document is created and then I try to check it out to Google Docs. Result is only this single line in alfresco.log21:26:59,823 DEBUG [org.alfresco.repo.googledocs.GoogleDocsServiceImpl] Trying to initialise google docs service for user ${googledocs.username}
In Alfresco 3.4a you will find the googleDocs configuration undertomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/googledocs/default/googledocs.properties
# # Google Docs # googledocs.googleeditable.enabled=true googledocs.username=my-google-docs-account@gmail.com googledocs.password=mySuperSecretPassword