JSON generator
In this article
With this generator you can show data coming from a JSON code, which can be in a file or you can enter the JSON code into an input field too.
Tutorial
- 1
-
Creating a new dynamic slide
To get started, go to any Slider Settings page and add a new dynamic slide. Choose
JSON
. - 2
-
Configuring the generator
Set up your generator. Choose the settings you want.
You can also click on the View Records button to see the data you'll be creating your slide with.
When you're done, click on
Add
. - 3
-
Editing the dynamic slide
After you saved your generator, you'll be redirected to the Slide Editor to set up the look of your slide. You can create your content by using variables.
Not sure what are the variables or how to use them? Learn how to work with variables.
JSON from url
Creates slides from the JSON in the given URL.
Configuration
You can use these options to set what you want your generator to show.
Filter
JSON or XML url
Url to the file or webpage containing the JSON code or the url of an XML file.
Data type
Select wether you are using JSON or XML.
Level separation
JSON/XML codes can be customized to have many different levels. From a code it is impossible to know from which level do you want to use the given datas on the different slides, so you have to select that level from this list.
Remove levels from result
This feature was made for similar reasons, than the previous one, that JSON/XML codes can be customized to have many different levels. In some cases you are starting out from unnecessary levels and you cannot access the datas you want to without removing some of these levels.
Sadly this is quite complicated to be able to access any level structure, so the best we can suggest is to try to go through all variations of 'Level separation' and 'Remove levels from result' to see which one would give you the result you are looking for.
Generator Settings
Learn about the Generator Settings
at the Generator Settings documentation.
Variables
These are the available variables you can use to build your dynamic slide content in the Slide Editor.
Not sure what are the variables or how to use them? Learn how to work with variables.
- The variables are generated based on your JSON file, so it's unique
JSON from input
Creates slides from the JSON in the given URL.
Configuration
You can use these options to set what you want your generator to show.
Filter
JSON or XML
Enter the JSON code into this field.
Data type
Select wether you are using JSON or XML.
Level separation
JSON/XML codes can be customized to have many different levels. From a code it is impossible to know from which level do you want to use the given datas on the different slides, so you have to select that level from this list.
Remove levels from result
This feature was made for similar reasons, than the previous one, that JSON/XML codes can be customized to have many different levels. In some cases you are starting out from unnecessary levels and you cannot access the datas you want to without removing some of these levels.
Sadly this is quite complicated to be able to access any level structure, so the best we can suggest is to try to go through all variations of 'Level separation' and 'Remove levels from result' to see which one would give you the result you are looking for.
Generator Settings
Learn about the Generator Settings
at the Generator Settings documentation.
Variables
These are the available variables you can use to build your dynamic slide content in the Slide Editor.
Not sure what are the variables or how to use them? Learn how to work with variables.
- The variables are generated based on your JSON file, so it's unique