86
Views
1
Comments
[FullCalendar 2] Resource view
Question
fullcalendar-2
Web icon
Forge asset by João 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

2020-03-04 06-31-48
Arvind Kumar

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.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.