Documentation > CMS Template API Library > IPublishing > IsGeneratingPublishLinks

IsGeneratingPublishLinks

A read only property that tells whether asset.GetLink() will return a live link or a preview link. The rules are different depending on the context that you are in. NOTE: Does not apply to Util.ReplaceAttachments() or UploadedFile.GetLink() those always return a live link if package info is available.

Type

System.Boolean

Connect with Crownpeak