Developer forum

Forum » CMS - Standard features » Dashboard Feed source and formatting

Dashboard Feed source and formatting

Jens Jakob Kristensen
Jens Jakob Kristensen
Reply

Hi,

This page intrduces the new dashboard, which is a great improvement for the clients. But we need some info for the feed widget.

http://doc.dynamicweb.com/documentation-9/platform/platform-features/dashboards#sideNavTitle1-2-1

Which formats are supported?

We would like to use an external source, like a json feed from another domain. How should we format the data in the external feed?

Thank you in advance


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Oh, sorry.

Like this:

( {
    "items": [
        {
            "Title": "Welcome to Dynamicweb 9",
            "Description": "Learn all about the platform and interface.",
            "Image": "https://dynamicweb.com/logo.png",
            "Link text": "Download the release presentation",
            "Link": "https://dynamicweb.com/Files/Files/ReleasePresentation/Dynamicweb-9-Brochure.pdf"
        }
    ]
})

Votes for this answer: 1
 
Dynamicweb Employee
Carsten Boll
Reply

Hey guys - I've added the feed format to the Dashboards documentation :)

 
Jan Sangill
Reply

I am hijacking this comment.

I ahve added a feed. However the link and image are not used properly.

For instance, the link, when I press the button, nothing happens,a nd source code reveals no link in dashboard.

I see the same with your own latest news dashboard.

is this a bug or?

 
Lars Larsen
Lars Larsen
Reply

Bump!

Your "Latest News" feed is still not showing up in the dashbord in the backend. What is wrong? I thought I could use the Json format that you use in the "Latest News" feed as an example to use in my own feeds. But can't get it working. I get "undefined" in the widget with this Json feed:

{'items':[{'Title':'Welcome to Dynamicweb 9','Description':'Learn all about the platform and interface.','Image':'','Link text':'Download the release presentation','Link':'/Files/Files/ReleasePresentations/Dynamicweb 9.7.pdf'}]}

What can be wrong?

 
Nicolai Pedersen
Reply
This post has been marked as an answer

https vs. non https and CORS, x-frame-options header misconfiguration and other browser changes lately. We are on it!

Votes for this answer: 1
 
Nicolai Pedersen
Reply

https vs. non https and CORS, x-frame-options header misconfiguration and other browser changes lately. We are on it!

 
Lars Larsen
Lars Larsen
Reply

Ah, OK. Thanks

 

You must be logged in to post in the forum