Wiki Markup rendering semi broken in Visibility Plugin Version 4.x.x

  • 1
  • Problem
  • Updated 2 years ago
  • (Edited)
The following wiki markup does not render correctly with Visibility Plugin version 4.x.x anymore.

{show-to:group=ldapgroup}
[Phone Book|Spacekey:Spacepage] {show-to}

It's displayed like this.

[Phone Book|Spacekey:Spacepage]

However... if I add a panel around this it renders correctly.

{show-to:group=ldapgroup} {panel} [Phone Book|Spacekey:Spacepage] {panel} {show-to}

Displaying a link called Phone Book.

This was working with Visibility Plugin 3.0.2.

We are using Confluence version 5.9.7
Photo of TomB

TomB

  • 3 Posts
  • 0 Reply Likes

Posted 2 years ago

  • 1
Photo of Mervyn Toh

Mervyn Toh, Alum

  • 117 Posts
  • 7 Reply Likes
Hi Tom,

Thanks for reaching out to us.

I've tested this on Visbility 4.1.0, and it seems that the first wiki markup you've provided is working as intended. Perhaps you can try upgrading your Visibility to 4.1.0?

That said, do note that wiki markup is no longer the suggested format to work on storage formats, as Atlassian has moved away from wiki markup since Confluence 4.x. I'd suggest to insert the macro from the default richtext editor provided, or via Source Editor.

Thank you.
Photo of TomB

TomB

  • 3 Posts
  • 0 Reply Likes
Hm, this is strange. I'm using 4.1.0. I tested it with  4.0.0,  4.0. 1 and 4.1.0

This is the storage format.

<ac:structured-macro ac:macro-id="a67b8b03-8a20-4ee4-8d00-3c9508dce7ea" ac:name="unmigrated-wiki-markup" ac:schema-version="1"><ac:plain-text-body><![CDATA[{show-to:group=ldapgroup}
[Phone Book|Spacekey:Spacepage]
{show-to}]]></ac:plain-text-body></ac:structured-macro>
Photo of Mervyn Toh

Mervyn Toh, Alum

  • 117 Posts
  • 7 Reply Likes
Hi Tom,

Excuse me as I missed this out from my earlier reply.

I looked into the list of macros provided by Visibility, and only two macros are available : {show if} and Phide if}. I was presuming that you meant {show if}. Visibility doesn't have any macro named {show to}.

Upon testing this with {show if}, it works as intended. Perhaps you can refer to our ServiceRocket Documentation on the macros that Visibility provides :
https://docs.servicerocket.com/displa...

Thank you.
Photo of TomB

TomB

  • 3 Posts
  • 0 Reply Likes
"show-to" seems to be an older command.

https://docs-old.servicerocket.com/display/VISIB/show-to

But if I change it to show-if, it shows the same behaviour.

But support contacted me and I will send them more info.
Photo of Mervyn Toh

Mervyn Toh, Alum

  • 117 Posts
  • 7 Reply Likes
Hi Tom,

Thanks for your update. We shall continue to communicate and work with you through our Support Desk.

Thank you.