[FullCalendar 2] Resource view

Forge Component
(23)
Published on 29 Mar (3 weeks ago) by Daniel Filipe
23 votes
Published on 29 Mar (3 weeks ago) by Daniel Filipe

Hi, 

First let me say that this component is being helping me a lot! Thanks for building it.

I started to use now the Resources view and i have noticed that i couldn't use the EventsRESTUrl and had to use the EventsJSON property.

Is this a known issue or i might be doing something wrong?


Thanks

João

Hi João,

I have used this component and might not have any issue. Please see below lines of code to distinct the use of EventsRESTUrl & EventsJSON.

SyntaxEditor Code Snippet

// Event Data
            " + If(Trim(EventDataJSON) <> "", EventDataJSON+ ",", "") + "
            eventSources: [
                " + If(EventsRESTUrl <> "", "
                {
                    url: '" + EventsRESTUrl + "',
                    cache: 'false',
                    type: 'GET'
                }", "") + "
                " + If(EventsJSON<>"", If(EventsRESTUrl <> "",", ", "") + EventsJSON, "") + "
            ],

above code written in "FullCalendar" JS.

Hope this will clear your doubt.