search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Load from file

Asked by Anonymous
9 days ago.

Hi,

I use the open source javascript version and want to load the resources and events from a seperate txt or json file.

In the documentation I see

dp.rows.load("eventloadingresources.txt");

dp.events.load("eventloadingevents.txt");

But no resources and events are loading. Attached is the HTML and files.

What is missing?
Thanks

Answer posted by Dan Letecky [DayPilot]
9 days ago.

Loading files this way doesn’t work on a local filesystem. That’s a browser security limitation. You will need to run the app on a webserver.

New Reply
This reply is
Attachments:
or drop files here
Your name (optional):