Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Is there a Confluence macro to limit or show the number of characters in its body?

Steffen Opel _Utoolity_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Aug 07, 2017

I have a use case that requires many identically structured pages with a fixed multi column/row layout. For the moment, I'm resorting to a custom page template, which works fine as such. However, one aspect of that predefined layout is that several text areas have a hard maximum character limit.

Is there a macro (or any other approach) to limit or at least show the number of allowed characters in a text area so that the page template users are guided regarding the character limit while editing the page?

1 answer

1 accepted

1 vote
Answer accepted
Boris Berenberg - Atlas Authority
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.
Aug 07, 2017

I would start by just using a panel macro which says the max number. But off the top of my head, I don't know of any macro which does what you want.

If you're on Server, then a user macro may be an easy solution? If cloud, then writing a connect add-on for this should also be fairly simple.

Steffen Opel _Utoolity_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Aug 16, 2017

Thanks @Boris Berenberg - Atlas Authority - seems a no is the correct answer then.

The request is for Server right now, but would apply to Cloud scenarios too down the road. I've scheduled a backlog item for our team now, let's see whether we can up with something (looks like the typical 'hardly enough pain to tackle it' issue though ...).

Meanwhile, showing the allowed number of characters in 
a panel macro might indeed be a helpful workaround for scenarios where the layout/visual impact doesn't matter, good idea!

Boris Berenberg - Atlas Authority
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.
Aug 16, 2017

At the end of the day, no macro can modify whats going on in the editor. The closest I can say is you could have a macro that displayed the character count, and try and detect if it's being used in a preview view, and then have text entered into a property instead of macro body. If you don't detect preview view, you just show the text, and no count.

If you need a character count for Confluence our app does that inline Word Count by Easy Apps.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events