Details
-
Bug
-
Resolution: Won't Fix
-
Medium
-
None
-
None
-
None
-
- Confluence 4.2.1 and Office Connector plugin 2.1.7
- Confluence 4.3 and Office Connector plugin 2.1.7
Description
NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.
Also, for existing {viewfile}
macro, in an Edit mode, when you choose the attachment it says: "(Not found)" and do not show the list of attachments from the specific page. See screen shot:
Workaround:
Download and install Confluence Source Editor plugin through UPM. Next, go to the page which has the
{viewfile} macro, edit the page, on the editor you'll see this [<>] button in between 'binocular' button and the [?] button, click on it and a window will pop-up and you'll get something like this:<p> <ac:link> <ri:attachment ri:filename="Book1.xlsx"/> </ac:link> </p> <p> <ac:macro ac:name="viewfile"> <ac:default-parameter>Book1.xlsx</ac:default-parameter> </ac:macro> </p>
You may edit this specific line:
<ac:macro ac:name="viewfile">
to
<ac:macro ac:name="viewxls">
and then click 'Apply'. This should transform the {viewfile}
macro to
{viewxls}. However, I'm afraid this still has to be done manually on each affected {viewfile} macro.OR you can also insert {viewxls}
macro into Confluence page using Insert > Wiki Markup. The file will be displayed fine in Confluence page but still can't be successfully edited/updated.
{viewxls},
{viewdoc},
{viewppt}macros are working as expected.
Attachments
Issue Links
- relates to
-
CONFCLOUD-39118 {viewfile} macro is no longer available from the list of available macros and existing viewfile macro can't be edited/updated
- Closed