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.
Post Reply
kkilman
Jr. Propeller Head
Posts: 2
Joined: Wed May 20, 2015 7:51 am

Auto-generated KB article numbers

Post by kkilman »

Does anyone know how to auto-generate the article number for articles in the KB template?
kkelleher
Sr. Propeller Head
Posts: 163
Joined: Wed Nov 12, 2008 12:42 pm

Re: Auto-generated KB article numbers

Post by kkelleher »

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.

Thanks,

Kristen
Kristen Kelleher
Director of Tech Pubs, TIBCO Jaspersoft
Post Reply