How to tell whether a content item is being published for the 1st time. Options
darrenjferguson
Posted: Wednesday, June 25, 2008 1:55:15 PM

Rank: Fanatic

Joined: 3/19/2008
Posts: 219
Location: London, UK
Hello,

Does anyone have any suggestions on how to determine whether an item in the content tree is being published for the 1st time.

I want to fire an action handler on on the 1st publish.

Thanks.

Darren Ferguson - Umbraco level 2 certified
www.darren-ferguson.com - www.fergusonmoriyama.com
hartvig
Posted: Wednesday, June 25, 2008 2:24:45 PM

Rank: Addict

Joined: 3/17/2008
Posts: 952
Location: Nyborg, Denmark
Count the number of versions?

Jeeeez, did I really start this :-)
darrenjferguson
Posted: Wednesday, June 25, 2008 2:39:28 PM

Rank: Fanatic

Joined: 3/19/2008
Posts: 219
Location: London, UK
hartvig wrote:
Count the number of versions?


ah cool.
I was in TeamSite world where each save is a version not each publish :)

Thanks mate.

Darren Ferguson - Umbraco level 2 certified
www.darren-ferguson.com - www.fergusonmoriyama.com
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.