
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2017 11:47 AM
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?
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2017 05:05 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2017 05:05 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2017 07:48 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2017 09:22 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2019 05:12 AM
Hello! Have you solved this issue? I faced with the same problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2017 05:38 AM
Maybe you have to configure alfresco.host too in alfresco-global.properties
Regards.
--C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2017 05:40 AM
Yes, but that only / primarily affects email link generation...
