You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The %pagenumber% and %pagecount% placeholders do not appear to be working. They both continuously generate the value 1, regardless of what page contains the object using the placeholder.
Start a new document, then enable page separators (View > Page View).
Place a text object on the visible page and fill it with the contents %pagecount%. Right-click and choose the Edit Data option, then enable the Placeholders option. With the Placeholders option enabled, the text object (when not editing the contents) should show the number 1.
Add a second text object and drag it across the edge of the page to cause a second page to be created. Configure the second text object in the same way (contents %pagecount%, Placeholder enabled). The number 1 appears on the second text object, as well.
Print the document - the number 1 on both pages.
I'm using the online tool at diagrams.net, currently 13.8.6.
The text was updated successfully, but these errors were encountered:
Please could you close all diagrams.net tabs, load https://app.diagrams.net/?offline=0 to clear your cache, close that tab and open a new one. That should update you to a more recent version. Does the problem still happen?
With the cache cleared, I now see version 14.1.1, but the behavior is still the same. Below is the complete XML from the Extras > Edit Diagram menu.
Note that including headers/footers shows the correct page number and number of pages (1/2 and 2/2), while %pagenumber% and %pagecount% are still both 1 for all pages on the same document.
Are you able to use these placeholders successfully using the web-based app at diagrams.net?
The %pagenumber% and %pagecount% placeholders do not appear to be working. They both continuously generate the value 1, regardless of what page contains the object using the placeholder.
Start a new document, then enable page separators (View > Page View).
Place a text object on the visible page and fill it with the contents %pagecount%. Right-click and choose the Edit Data option, then enable the Placeholders option. With the Placeholders option enabled, the text object (when not editing the contents) should show the number 1.
Add a second text object and drag it across the edge of the page to cause a second page to be created. Configure the second text object in the same way (contents %pagecount%, Placeholder enabled). The number 1 appears on the second text object, as well.
Print the document - the number 1 on both pages.
I'm using the online tool at diagrams.net, currently 13.8.6.
The text was updated successfully, but these errors were encountered: