Documentation > CMS Template API Library > SearchG2Context > IsGeneratingPublishLinks

IsGeneratingPublishLinks

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