Documentation > CMS Template API Library > PostPublishContext > IsGeneratingPublishLinks

IsGeneratingPublishLinks

Whether or not asset.getLink will give a live link or a preview. Based on value of RenderPublishLinks. Defaults to false 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