Auto-generated KB article numbers

This forum is for all Flare related Tips and Tricks.
Have a tip or trick you use while working in Flare? Share it here.

Auto-generated KB article numbers

Postby kkilman on Fri Jul 17, 2015 10:39 am

Does anyone know how to auto-generate the article number for articles in the KB template?
Jr. Propeller Head
Posts: 2
Joined: Wed May 20, 2015 7:51 am

Re: Auto-generated KB article numbers

Postby kkelleher on Fri Jul 17, 2015 1:46 pm

You can define a new paragraph style that includes an autonumber with the mc-autonumber-position set to inside-tail. Give it an offset to separate it from the Article #: span:
mc-auto-number-format: N:{n+}
mc-auto-number-offset: 1.00em
mc-auto-number-position: inside-tail

The only problem with this solution is that the numbers will change if you move the articles around in the ToC. For example, say I had three articles in my project:
Article 1: Troubleshooting Product A
Article 2: Troubleshooting Product B
Article 3: Troubleshooting Product C

If I decided I wanted to change the order, the article numbers will also change:
Article 1: Troubleshooting Product C
Article 2: Troubleshooting Product A
Article 3: Troubleshooting Product B

That might be okay. But if you have external resources that refer to these articles, (such as forum posts from your Support team or the like), the numbers would get out of date. I'm not sure if you can auto-generate a number that won't get updated if you reorganize your articles.


Kristen Kelleher
Director of Tech Pubs, TIBCO Jaspersoft
Sr. Propeller Head
Posts: 163
Joined: Wed Nov 12, 2008 12:42 pm

Return to Tips and Tricks

Who is online

Users browsing this forum: No registered users and 1 guest