Display "list-data" als HTML-List (Scaffolding Forms & Templates App)

Matthias Born December 28, 2020

Hello Scaffolding Users and Developers!

I'm trying to format a multi-option "list-data" formfield as a bullet-list.

Unfortunately there is no propper "separator" option nor sth. that sounds like "format" 

Formatting surrounding area does not work, neither do a list within the list-option macro body...

I'm irritated: Is my idea that unusual? Or am I blind?

Can somebody help me please ;-)

Thx!

Matze

 

 

1 answer

3 votes
Sayed Bares [ServiceRocket]
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 5, 2021

Hi Matze,

Happy new year 2021.

I am afraid to say Scaffolding alone doesn't have a separator option to show List data values in bulleted list. However, if you have Reporting add-on then your use case is totally possible by formatting your output in a reporter (eg. report on macro):

bulleted list.png

And here is the storage format which you can easily import the solution in your Confluence:

<ac:structured-macro ac:macro-id="4de59b20-32fb-4c5f-839d-9b7c4d7fe688" ac:name="hidden-data" ac:schema-version="1">
<ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
<ac:rich-text-body>
<ac:structured-macro ac:macro-id="7dcd7ed8-d185-4be0-818e-b6e32fc380ed" ac:name="list-data" ac:schema-version="1">
<ac:parameter ac:name="multiple">true</ac:parameter>
<ac:parameter ac:name="name">test</ac:parameter>
<ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
<ac:rich-text-body>
<ac:structured-macro ac:macro-id="b3ed189e-4fb5-4752-84ea-a1894512dfbc" ac:name="content-options" ac:schema-version="1">
<ac:rich-text-body>
<p>
<br/>
</p>
</ac:rich-text-body>
</ac:structured-macro>
</ac:rich-text-body>
</ac:structured-macro>
</ac:rich-text-body>
</ac:structured-macro>
<ac:structured-macro ac:macro-id="44353366-01ee-4453-a142-1b3cc709fcd4" ac:name="report-on" ac:schema-version="1">
<ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
<ac:parameter ac:name="">data:test</ac:parameter>
<ac:rich-text-body>
<ul>
<li>
<ac:structured-macro ac:macro-id="dadbc1f2-63ba-40c7-a6f9-5a9c4c19ae40" ac:name="report-info" ac:schema-version="1">
<ac:parameter ac:name="link">true</ac:parameter>
<ac:parameter ac:name="">@self</ac:parameter>
</ac:structured-macro>
</li>
</ul>
</ac:rich-text-body>
</ac:structured-macro>

Hope that helps and let me know if you have any questions.

 

Best,

Sayed

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events