Having viewed the Servoy Webinar #52 on Calendaring and Scheduling I have been trying to install the Scheduler plugin into my solution. With no luck.
Seems the current Servoy version of FullCalendar is 2.9.1 of 2016.
So I have found that the Scheduler plugin version 1.3 should be compatible?
I imported the scheduler.min.css and scheduler.min.js to my media folder, and try to load the plugin from my startup method:
- Code: Select all
addJSFileDependancy('scheduler.min.js');
/**
* @param {String} mediafilename
*/
function addJSFileDependancy(mediafilename) {
/** @type {ngclientutils.tag} */
var tag = {
tagname: "script",
attrs: [{
name: "src",
value: "resources/fs/" + application.getSolutionName() + "/" + mediafilename
}]
};
plugins.ngclientutils.contributedTags.push(tag);
return true;
}
I get True returned on the plugins.ngclientutils.contributedTags.push(tag) but using the timeline view in the calendar displays nothing.
Does anybody have experience with this and can give advise to make it work? Please!
Using: OSX, NGClient - Svy 2019.6.2.
/Claus