TreeNodeGetPreviewLink Method |
Returns document preview link.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax public virtual string GetPreviewLink(
string userName,
bool ensureQueryHash = false,
bool readonlyMode = true,
bool embededInAdministration = false
)
Parameters
- userName
- Type: SystemString
User name - ensureQueryHash (Optional)
- Type: SystemBoolean
Indicates if query string hash should be added. For content-only nodes, hash is added always. - readonlyMode (Optional)
- Type: SystemBoolean
Indicates if preview link should be in read only mode. - embededInAdministration (Optional)
- Type: SystemBoolean
Indicates if page is embedded in administration inside an iframe.
Return Value
Type:
StringSee Also