[FullCalendar 2] Resource view

Forge Component
(21)
Published on 13 Jan by Grazina
21 votes
Published on 13 Jan by Grazina

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.