Changelog

Data Designer Improvements

In addition to no longer requiring you to have a model open, Data Designer is now accessed through the application's Tools menu. The interface contains a wealth of information to help you get started using the feature, including a brand new Welcome Panel.

Welcome-Introduction.jpg

Collections of data, previously known as objects, are now called Tables. A table can be given a short description in addition to its name, and every table includes headline information such as the date it was created and the date it was last updated.

Tables-Grid-1.jpg

Safeguards have been added to reduce the risk of users deleting data by mistake. This includes a double confirmation when deleting tables and their properties, and validation to stop linked tables being deleted until their links have been removed.

Deleting-Referenced-Table.jpg

Two new property types named Geography and Document have been added, and the New Table Property has been redesigned to make it easier to understand and implement any type of property.

New-Table-Property.jpg

Editing table data is now done using a new interface, which allows you to add and edit rows in a batch. When you commit a batch, all changes will be applied at once. Deleting a row is an independent action that occurs immediately, and does not need to be committed.

Table-Data-Editor.jpg

Posted on 21 June 2017

Content Delivery Improvements

The Your Site panel now includes two new tabs, the first of which is named Structure. It contains a tabular list of information about the pages on your site, letting you sort them according to their title, URL, master page, and much more besides.

Your-Site-Structure.jpg

The second new tab is named Log. It contains a list of events that have occurred during the current user session, including the initialisation of the site within KnowledgeKube and any modifications that have been made to the site since it was initialised.

Your-Site-Log.jpg

In addition to the existing Save button, the Edit Page and Edit Master Page windows now include an Update button. This will save your current changes without closing the active window, and publish those changes immediately. Doing this allows you to make incremental changes to site content without having to re-open the window each time.

Managed-Page-Update.jpg

The Edit Page and Edit Master Page windows now display the date and time that the page was created, when it was last edited, and the name of the user responsible in each case. Content created prior version 5.2.170.2 will display the start date of the subscription instead.

Managed-Page-Dates.jpg

When viewing the Site Map tab, right-clicking a node will expand the tab's focus to include the node's parent. Holding down the Alt key while double-clicking a page or master page will cause the HTML Page Content panel to be selected when the edit window appears. Finally, you will no longer be able to save a page or master page if either its title or virtual URL is invalid.

Posted on 21 June 2017

New Stand-alone Elements

APPSETTING returns the value assigned to an app setting (e.g. SettingName) on the site.

<%# APPSETTING(SettingName) %>

 

MACHINENAME returns the name of the user’s machine.

<%# MACHINENAME() %>

 

SERVERVARIABLE returns the value assigned to a server variable (e.g. VariableName).

<%# SERVERVARIABLE(VariableName) %>

 

Also, DATAFILTER, DATAROW and GENERATEJSON have now been added to the element tag picker menu.

Posted on 21 June 2017

ISDATATRUE Wrap-around Element

After producing structured JSON data - for example, by using a service request or generating it locally - you can use the ISDATATRUE element tag to conditionally evaluate it. If the result of the evaluation is True, the wrapped content will be displayed; otherwise, it will be hidden.

The following example counts the number of results allocated to ProductData, then checks whether the total is equal to zero. If so, an explanatory paragraph will be displayed.

<%= ISDATATRUE(
    Keyword="ProductData"
    Path="results"
    Type="Count"
    Name="TotalProducts"
    Expression="TotalProducts = 0;") %>
<p>No products in category.</p>
<%= %>

Posted on 21 June 2017

Controlling Visibility According to Site Version

Every KnowledgeKube site has a setting that designates it as either a Live site or a Preview one. You can now wrap markup in one of two new wrap-around elements that stop it rendering depending on the type of site it exists on.

For example, if you have a paragraph of text that should only appear on Preview sites - including KnowledgeKube's own Form Preview window - you should wrap it in a ISRELEASEVERSION element, as demonstrated below:

<%= ISRELEASEVERSION(Preview) %>
    <p>This paragraph will only appear on Preview sites.</p>
<%= %>

 

On the other hand, if you want the text to appear on any type of site except Preview, you will need to swap the tag for an ISNOTRELEASEVERSION one, like this:

<%= ISNOTRELEASEVERSION(Preview) %>
    <p>This paragraph will not appear on Preview sites.</p>
<%= %>

 

In either case, swapping Preview for Live in the tag's header will change its behaviour accordingly.

Posted on 21 June 2017
Blog posts