Welcome, Guest Login

Support Center

Embedded Browser Blocks - Creating an EBB

Last Updated: Nov 19, 2018 09:42AM EST

To create an EBB, go to the Augment tab in the EachScape Studio, and click New Block.


On the New Block form, under the Basic tab, give your block a Name, a Package name and a Version number.

Under Definition, use the Raw descriptor field to define the configuration options for block (see Descriptor How-To tab for help with the Descriptor syntax). Use the Raw event descriptor field to define any events that your block will trigger.

Under the Advanced tab, you will find the fields for creating your block template. You can ignore the sections related to iOS and Android, which do not pertain to EBBs, and focus on the fields below: Code to Obfuscate, Iterating data source, and the 3 HTML Template fields, Prologue, Body, and Epilogue.

Code to Obfuscate is a field for Javascript code that will be minified and stored as a file in your app which you can include using a <script> tag in the HTML Template for your block. The name of the file will appear after the Code to Obfuscate field once you have saved your block.

Iterating data source allows you to specify a field from your Block’s Descriptor that is of type “feed”. If specified, the Body field of the HTML Template will be repeated for each record in the data source selected in the block configuration for that feed field.

Under HTML Template, there are 3 fields: Prologue, Body and Epilogue. If nothing is entered for Iterating data source, these fields are simply concatenated in the order they appear. If an Iterating data source is configured, the Body section will be repeated for reach record in the data source that the user of the block configures for the Iterating data source field.

For information on how to write the HTML template, see Embedded Browser Blocks - Writing the Template


Help us improve! Rate this article:

Yes I found this article helpful

Ask a Question   

seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found