Testing Your Apache FreeMarker Expressions Using The Online FreeMarker Template Tester by Frank Nimphius

image

About Apache FreeMarker in Oracle Digital Assistant

Apache FreeMarker is the expression engine used in Oracle Digital Assistant dialog flows, entities and skill and digital assistant settings.

An Apache FreeMarker expression is defined using the ${ … } construct or as directives like <#if …> <#else> … </#if>. You can read up on Apache FreeMarker expressions at

· Apache FreeMarker Template Language

· Apache FreeMarker Reference for Oracle Digital Assistant

About the Online Template Tester

The Apache FreeMarker online tester is available as a project on GitHub and online.

On GitHub

You find the GitHub project at https://github.com/apache/freemarker-online-tester

Online Tester

To use the online tester, point your browser to https://try.freemarker.apache.org/

The image below shows the tester that displays in the browser.

The Template field takes the Apache FreeMarker construct or expression you want to test. The Data model field provides various options for you to model the data objects that are referenced by your expression.

The data model may simulate a variable state in Oracle Digital Assistant or the content of a system variable.

As a rule of thumb: Any data object reference in your FreeMarker script needs to be modeled. Read the complete article here.

Developer Partner Community

For regular information become a member in the Developer Partner Community please register here.

clip_image003 Blog clip_image005 Twitter clip_image004 LinkedIn image[7][2][2][2] Facebook image Meetups

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic, WebLogic

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.