Skip to main content
4.8 Create a Datasource
Omma Sign avatar
Written by Omma Sign
Updated over a week ago

Datasource enables you to update your content dynamically. Learn more about Datasource here.

Create a Datasource

  • Click Datasources on the left panel.

  • Click Create.

  • Enter a Name.

  • Select the appropriate Refresh period.

  • Paste the api endpoint url if you are going to use an external source.

Important Note: You can use one and only static url as a source. Parametric entries or url lists will be ignored. Api should connect to the same url every time.

  • Click Save.

  • Click on the datasource name.

  • Click the Editor tab.

  • Select Text option on editor area.

  • Copy the sample JSON below for a quick start. You can edit the prices as you want.

{
"prices": [
{
"name": "Toast",
"data": "$6.90"
},
{
"name": "Ice cream",
"data": "$2.20"
},
{
"name": "Salad",
"data": "$4.90"
},
{
"name": "Steak burger",
"data": "$13.90"
},
{
"name": "Ice tea",
"data": "$3.90"
},
{
"name": "Double cheese menu",
"data": "$10.90"
},
{
"name": "Chicken bacon burger",
"data": "$6.90"
}
]
}

  • Go back to Detail page. You should see the code as an output here. Click Save.

Whole process should look like this:

You can use Datasource on Scene Designer or Code Editor.

_______

_______

Did this answer your question?