Documentation > CMS Template API Library > PublishDirection

CrownPeak.CMSAPI.PublishDirection

Used in the PostPublishContext this tells you more about the type of operation that was going on.

Possible enumeration values:

NameDescriptionValue
Add

A workflow state change lead to this publish.

1

Delete

Files are being removed from the server

3

None

The direction is unknown, unspecified, or not applicable in the current case.

0

Refresh

The workflow state did not change.

2

Connect with Crownpeak