Hello,
I need to display the document ID and the version of the wiki page in the wiki page itself. This is for printing purposes. I have not figured out a good way to do this though.
First, I have tried using a calculated column. The calculated column works fine in the list view, but as soon as you open the wiki page to view it then the variables in the calculated column, such as version, disappear. If you look back at list view then they remain missing until you go back into list settings, open the calculated column, and then press 'OK' on the calculated column. No changes to the column are needed, just press 'OK'. This makes it work again but only in the list view.
Next I tried a SPD workflow. The workflow writing to a multiple lines of text seems to work ok for anything but version. A version will display on the page but it is one minor version behind. This happens because the workflow writing the information to the multiple lines of text column is seen as an update, so the item gets a new version after the workflow writes it. Another problem with this method is that it prevents publishing from working. If you try to publish a major version then it never goes through because the SPD workflow makes a change.
What is the best way to display the properties of the document. I have thought about changing the template but it seems that would only work for new documents added.
We are using SP 2007 with SP3
-Eric