Documentation > CMS Template API Library > OutputContext > PublishingLoopNumber

PublishingLoopNumber

The current publishing loop number. Usually the same as page number, but it always starts at 1. Goes hand-in-hand with "PublishAgain". Use this to see which iteration you are on if you are using PublishAgain to continue publishing.

Type

System.Int32

Connect with Crownpeak