When I try to edit the document in MS Word (clicking the "Edit in Microsoft Office" link) the URL of the document contains 127.0.0.1 isntead of the real host, so MS Word cannot open the document.
It is a vanilla Alfresco Community v5.2.0 installation. I did not change anything in the config files. Where should I configure this?
Solved! Go to Solution.
For whatever reason it is not really documented that you can set the aos.baseUrlOverwrite property in alfresco-global.properties to specify an explicit base URL to use when generating the URLs/links for Edit Online, which is necessary in proxy-based use cases but also if the name of the local host is not reliably resolved by default to a publicly accessible name.
The default value of this property is:
aos.baseUrlOverwrite=http://${localname}:8080/alfresco/aos
And you'd simply have to specify an explicit host name to fix it.
For whatever reason it is not really documented that you can set the aos.baseUrlOverwrite property in alfresco-global.properties to specify an explicit base URL to use when generating the URLs/links for Edit Online, which is necessary in proxy-based use cases but also if the name of the local host is not reliably resolved by default to a publicly accessible name.
The default value of this property is:
aos.baseUrlOverwrite=http://${localname}:8080/alfresco/aos
And you'd simply have to specify an explicit host name to fix it.
Maybe you have to configure alfresco.host too in alfresco-global.properties
Regards.
--C.
Yes, but that only / primarily affects email link generation...
Hi Axel,
That was the solution. aos.baseUrlOverwrite works fine. Thank you for your help.
My next problem, that when I save the document after editing in Word, it always says that somebody else is editing as well and the changes will be merged. It is annoying (because it is not true), but the final result is OK, it saves the document correctly as a new minor version.
Hello.
If the original problem is solved, you should be marking this thread as Solved, and then start a new one with the new problem.
You second question is kind of lost in here.
Hello! Have you solved this issue? I faced with the same problem
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.