New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
This question about Using an extension: Answered

Automation of table for revision number of a particular topic


Is it possible to automate the revision number of a particular topic in the edittable plugin?

if in case I have a topic name field on the left cell, i need to have a revision number on the right cell automatically updated

You can do this with the SpreadSheetPlugin and REVINFO macro

| Question941 | %REVINFO{topic="%CALC{"$T(R$ROW():C$COLUMN(-1))"}%" format="$rev"}% |
| Question942 | %REVINFO{topic="%CALC{"$T(R$ROW():C$COLUMN(-1))"}%" format="$rev"}% |

In this case it's not actually updated dynamically, but the current revision of the topic is shown in the table. Use of the $ROW and $COLUMN spreadsheet functions will extract the contents of the cell to the left of the current cell in the current row.

Question941 2
Question942 1

QuestionForm edit

Subject Using an extension
Extension EditTablePlugin, SpreadSheetPlugin
Version Foswiki 1.1.3
Status Answered
Related Topics
Topic revision: r2 - 27 Nov 2011, GeorgeClark - This page was cached on 18 Jun 2018 - 14:28.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy