adenin-platform / docs-issues

0 stars 0 forks source link

Issues with "Example - Create a RSS Feed Card" guide #43

Open IntranetFactory opened 6 years ago

IntranetFactory commented 6 years ago

Issues with "Example - Create a RSS Feed Card" guide

This guide will go through building an RSS News Feed Card. The finished result will look like this:

https://www.adenin.com/docs/build-cards/rss-feed-card

ghost commented 6 years ago

Under "Creating Card component" -> "Configuration of values", it says to set the 'Template' to 'Basic Card (with API proxy)'.

But on my system I have these options:

Actually it doesn't matter. Whichever option I choose, when I get to the "Editing Card layout" portion of the guide and fill in the "Preview card definition", the "preview data" does not change. It remains stuck at: { "origin": "" }

IntranetFactory commented 6 years ago

In the latest version we now support NodeJs async/await - which makes it a lot easier to call APIs. So using that is that template is recommended.

The preview data should be updated when you after you have switched to the Preview tab. So in Settings -> Preview Mode: Live Data should be selected. After you switch to Preview and back to Settings, you should see the data which was used for the Preview in "Preview Data"