Using JSON dataArray in Dashcode, doesn't display binded information
I'm trying to write a simple dashboard widget 开发者_StackOverflow社区(possibly an additional webapp) that displays the information from a JSON feed. I've added the URL to a datasource, and it loads the info properly. It doesn't have any items.
This is the format:
{"username": "emb1995", "unconfirmed_reward": "0.02107742", "send_threshold": "1.00000000", "confirmed_reward": "0.11128238", "wallet": "key_here_but_removed", "estimated_reward": "0.00000000"}
As a test, I added a text element. I went to the datasource section and binded the string to the element that I wanted:
Here is what my layout looks like:
But when I run the widget, the information is never displayed:
Any ideas on how to make this work?
This is really trivial but have you allowed access to the network. In the menu on the left you will see "Widget Attributes", click that then second box down "Network / Disk Access" one or both need to be checked to allow the widget access to either/both the the network or local file access. If you have already done this and it's failing let me know.
精彩评论