Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple active hide columns in Table Filter macro

sverigo March 2, 2018

I have a dynamic table, to which the Table Filter macro is added. I need to make, that by default in a field hideColumns there were some values like that:

Screenshot from 2018-03-03 05-10-11.png

But "&&" doesn't work, request returns 400. How can I do this?

<ac:structured-macro ac:name="table-filter" ac:schema-version="1" ac:macro-id="d7cb0f70-e728-4372-8e4c-ac6a1a61984d">
<ac:parameter ac:name="userfilter">Name</ac:parameter>
<ac:parameter ac:name="hideColumns">true</ac:parameter>
<ac:parameter ac:name="default">userfilterField,hideValue1&&hideValue2</ac:parameter>
<ac:rich-text-body>

1 answer

1 accepted

1 vote
Answer accepted
Andrey Khaneev _StiltSoft_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 3, 2018

Hello,

Try to replace all ampersands with %26 for the request. Generally, you need to escape the whole request parameter (page body) for URL.

sverigo March 5, 2018

It works with html-encoding "&amp;". Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events