Forum Index

No notifications
Notifications

Favorites

No favorites found
What`s New Discover new product features and functionality
Announcements > What`s New > New Content Delivery Element Tags View modes: 
User avatar
KnowledgeKube Staff
KnowledgeKube Staff
GCM - 13/12/2016 10:43:43
   
New Content Delivery Element Tags

Over the last couple of months, the engineering team has been busy adding lots of new element tags to the KnowledgeKube Content Delivery System. Element tags are a great way to not only embed KnowledgeKube models, assets and images into your apps but also control the visibility of content based on roles and states.

Here is a quick refresher on all the element tags available from the content delivery system.

Assets and Properties
<%# SCRIPT(name) %>
<%# STYLE(name) %>
<%# SCRIPTTEXT(name) %>
<%# STYLETEXT(name) %>
<%# PROPERTY(name) %>
<%# USERPROPERTY(name) %>
<%# SESSION(name) %>
<%# QUERYSTRING(name) %>
<%# LINK(name) %>
<%# IMAGE(name) %>
<%# ASSET(name) %>

Environment
<%# ENVIRONMENT(SITE) %>
<%# ENVIRONMENT(SITENAME) %>
<%# ENVIRONMENT(SITETITLE) %>
<%# ENVIRONMENT(PAGETITLE) %>
<%# ENVIRONMENT(USERID) %>
<%# ENVIRONMENT(USERNAME) %>
<%# ENVIRONMENT(AUTHENTICATION) %>
<%# ENVIRONMENT(PAGEURL) %>
<%# ENVIRONMENT(CURRENTPAGEURL) %>
<%# ENVIRONMENT(LASTPAGEURL) %>
<%# ENVIRONMENT(DATETIME) %>
<%# ENVIRONMENT(DATE) %>
<%# ENVIRONMENT(TIME) %>
<%# ENVIRONMENT(CURRENTPAGE) %>

Visibility
<%= ISINROLE(roles) %>
​      YOUR CONTENT GOES HERE
<%= %>

<%= ISNOTINROLE(roles) %>
​      YOUR CONTENT GOES HERE
<%= %>

<%= ISAUTHENTICATED() %>
​      YOUR CONTENT GOES HERE
<%= %>

<%= ISNOTAUTHENTICATED() %>
​      YOUR CONTENT GOES HERE
<%= %>                                                               

KnowledgeKube Expressions
<%# KEYWORD(name) %>
<%# RUNACTION(name) %>
<%# EXPRESSION(expression) %>

<%= ISTRUE(expression) %>
      YOUR CONTENT GOES HERE
<%= %>

<%= ISNOTTRUE(expression) %>
​      YOUR CONTENT GOES HERE
<%= %>

Addins
<%# PLACEHOLDER() %>
<%# MODEL(name) %>
<%# MODELDATABROWSER() %>
<%# LOGIN() %>
<%# CHANGEPASSWORD() %>
<%# FORGOTTENPASSWORD() %>
<%# LANGUAGESELECTOR() %>
<%# CAPTCHA() %>
<%# EXCELUPLOAD() %>
<%# DATASOURCEUPLOAD() %>
<%# SITEADMIN() %>
<%# SITEERROR() %>
<%# ERRORLOG() %>


RSS Feed