It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to get back the old "Edit in Office" Feature - Office Connector Edited

Hi everyone,

i just wanted to share our experience with the "Edit in Office" feature.

We use a Citrix Environment to provide Access to external partners or for employees doing homeoffice. Regarding the recent vulnerabilities in confluence we were forced to upgrade to 6.15.2, wich brings the new "Edit in Office" feature with Atlassian Companion.

The Atlassian Companion app is not compatible with multi-sessionn Environments like Citrix, so we had to improvise:

We replaced the "Office-Connector-9.0.0.jar" with the "Office-Connector-6.0.0.jar" from Confluence 6.10. This brings back the old funktionality but breaks the file-preview.
So we had to replace the confluence-previews-8.1.2.jar with the confluence-previews-6.1.2.jar in the atlassian-bundled-plugins.

This actually works pretty well for us with Confluence 6.15.2. The filenames can vary in other versions of Confluence.

(The Plugins Cache has to be deleted after modification!)

Here some steps to repoduce on Linux:

cd /home/%username%
wget https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.10.2.tar.gz
tar xfvz atlassian-confluence-6.10.2.tar.gz
chown -R %username%:%groupname% atlassian-confluence-6.10.2
cp ./atlassian-confluence-6.10.2/confluence/WEB-INF/atlassian-bundled-plugins/OfficeConnector-6.0.0.jar .

cd %confluence-installation%/confluence/WEB-INF/atlassian-bundled-plugins
mv OfficeConnector-9.0.0.jar /home/%username%/
cp /home/%username%/OfficeConnector-6.0.0.jar .
chown confluence:confluence OfficeConnector-6.0.0.jar
chmod o-rwx OfficeConnector-6.0.0.jar

cd %confluence-installation%/confluence/WEB-INF/atlassian-bundled-plugins
mv confluence-previews-8.1.2.jar /home/%username%/
cp /home/%username%/confluence-previews-6.1.2.jar .
chown confluence:confluence confluence-previews-6.1.2.jar
chmod o-rwx confluence-previews-6.1.2.jar

cd %confluence-home%
rm -rf ./bundled-plugins/*
rm -rf ./plugins-cache/*
rm -rf ./plugins-osgi-cache/*
rm -rf ./plugins-temp/*
rm -rf ./bundled-plugins_language/*

 

4 comments

We are also using Citrix, this solved our problem.

Hope Atlassian will fix the companion app soon!

Like Frederik Reiter likes this

Looks like you have 

rm -rf ./plugins-osgi-cache/*

listed twice, I'm guessing one of them should be 

rm -rf ./plugins-temp/*

 

Like Frederik Reiter likes this

Thanks! i corrected this line :)

Like Andrew likes this

Thanks for the short guide.

We needed to adopt it a bit with different versions of these two files as we lost "Edit with" button in preview.

Combination that works for us with Confluence 6.15.9 is :

OfficeConnector-6.0.0.jar (renamed to OfficeConnector-9.0.3.jar )
confluence-previews-7.0.19.jar (file has been taken from enterprise version 6.13.10)

What bugs me here is that Atlassian failed to implement this year and a half after initial release. 

We should have an option to choose between Old edit in office (via WebDav) and new edit in office (via Atlassian Companion app), not like they've implement it using darkfeature which totally disables the other option.

Regards,
Predrag

Comment

Log in or Sign up to comment
TAGS
Community showcase
Posted in Confluence

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

131 views 3 7
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you