267
Views
21
Comments
Solved
[FullCalendar Reactive] FullCalendar Reactive displaying default time that not exist in entity record.
fullcalendar-reactive
Reactive icon
Forge asset by Mediaweb
Application Type
Reactive

How to get rid of this default time, I don't know if this is a default display or not but those times did not even exist in the entity record. I've been trying to configure it but it won't work. I know I am missing something but I don't what it is.


Regards,
Mobarak Dimalotang

2019-09-24 18-41-25
Jorge Martins
 
MVP
Solution

Mobarak,

Check my reply above regarding the time difference you see between your entity data and what is displayed on the Full Calendar Reactive.

Unless you are working in an on-premises environment, your OutSystems server's timezone is always set to UTC, and your applications always display date and time in the device's timezone. Timezone adjustment between client and serve is done automatically by the platform.

2025-04-17 05-42-16
Ajit Kurane

Hi,

Please check once in its properties. You will get it.

Kind Regards,

Ajit.

UserImage.jpg
Monette Botin

what properties, I tried to check my attribute in Entity. the data type was Date Time and also the attribute in Structure was Date Time too. I tried changing the Date Time format but I think it can't be changed.

2019-09-24 18-41-25
Jorge Martins
 
MVP

Hi Mobarak,

I can't really help you much with the Full Calendar Reactive as I don't have it installed nor have the time to check now, but a Date Time attribute holds both a date and a time, so it is possible your entity does store the 8am time part... you can check if that info is on the database by viewing the entity's data (double-click on entity in the Data tab of Service Studio).

If that time info is not on the database, it could be that it is being added by the FullCalendar Reactive component itself (but the underlying FullCalendar.io library does not have any default Time component that I can see in their documentation). Someone with more knowledge of the OutSystems component might be able to shed some extra light here.

Hope this helps!

2025-04-17 05-42-16
Ajit Kurane

Hi,

change datatype as "Text" for Date and then you can try.

Regards,

Ajit.

UserImage.jpg
Monette Botin

Hi Jorge,

the data type of my Attribute in Entity was Date and Time, also in the Structure too.
Those time doesn't even exist in my entity table record.


I tried changing the format of StartDateTime and EndDateTime before displaying those records in FullCalendar but the FormatDateTime(dt , text) function won't work and there was an error

Error Message: 'Date Time' was data required instead of 'Text'

Because of those changing the Format, I thought the data type (Text) was changed also.
so I tried to convert it into the Date Time function of TextToDateTime(dt).
When I run those changes, it just displays nothing.

I am not sure what I am missing, Like what you said, hope someone with more knowledge of the component might be able to shed some extra light here.

2019-09-24 18-41-25
Jorge Martins
 
MVP

Hi Mobarak Dimalotang,

Your entities do have a time portion on the database according to your picture. It's not the same time showing on the calendar though, because there's timezone "translation" taking place between the server timezone and your computer's timezone (this happens automatically for Reactive and Mobile applications). How did your entity records get created?

Hope this helps!

2022-11-24 12-49-49
franjzamora

Hi my friend if you want to hide this date, just add this option in the advanced options of the fullcalendar

displayEventTime: false,

UserImage.jpg
Monette Botin

Hi Francisco,

Thank you, it works.

it git rid of the time that displays in the event blocks but it doesn't change the time posted in Weekly or Monthly.

Here it was displayed.

But in my entities, it doesn't post it at the correct time.

2022-11-24 12-49-49
franjzamora

i think that this "error" was because the server hour, in my case add 2h maybe due to I'm from Spain. For my part I dont need the hours in my calendar, only the day, so was not really a problem :/

UserImage.jpg
Monette Botin

Hi Francisco

I totally get it. It's about timeZone, right?
basically, there was no error on it and it was the default display of it.


Just need to configure the timeZone.

Regards,
Mobarak

2019-09-24 18-41-25
Jorge Martins
 
MVP
Solution

Mobarak,

Check my reply above regarding the time difference you see between your entity data and what is displayed on the Full Calendar Reactive.

Unless you are working in an on-premises environment, your OutSystems server's timezone is always set to UTC, and your applications always display date and time in the device's timezone. Timezone adjustment between client and serve is done automatically by the platform.

UserImage.jpg
Monette Botin

Hi Jorge,


Thanks, am gonna check it and try to review the documents of the Full Calendar.
since am just a newbie it is a pain in my ass, I'll consider all of this comment as help.

Regards,
Mobarak

2021-12-30 04-42-54
shweta chaudhari

Hi @Monette Botin's,

I am trying to implement same thing. if possible please share the oml.

Regards,

Shweta

2021-12-30 04-42-54
shweta chaudhari

Hi @Mobarak Dimalotang ,

Can you please tell me how to add the data and show in this Calendar.

Regards

Shweta



2020-12-07 13-36-58
Alexandre Santos
Champion

Hi shweta.


Have you checked the component demo?


Cheers!

2021-12-30 04-42-54
shweta chaudhari

Hi @Alexandre Santos ,

Yes I have seen the demo but most of the things are not cleared, I am having problem while Adding event in database show it in calendar. 



Thanks


2025-04-17 05-42-16
Ajit Kurane

I have found one OML on forum before a month.

you can take reference from it.

Thanks,

Ajit Kurane.

RWALabFCDemo.oml
2021-12-30 04-42-54
shweta chaudhari

Hi @Ajit Kurane,

I have already tried this method but if we use this method then we cannot add events to the calendar.

Thanks

Shweta

2020-12-07 13-36-58
Alexandre Santos
Champion

Hi!

There is more than one way of doing this, but maybe you can try this method:

1) Create 1 local variable on your block/screen of type Event List (Event structure is inside FullCalendar module):

2) Add it to EventSources parameter with NewEventSourceData client action:

3) OnInitialize make a ListAppend like this:


If this works, then you can replace the local list with a DB aggregate, or using Fetch Data From Other Sources action and mapping the events to an event list.


Please let me know if this worked out.

2021-12-30 04-42-54
shweta chaudhari

Hi Alexandre Santos,

Thanks for the reply.

I have simply used  New Event Source Data action and provided data from the aggregate in on After fetch event of the aggregate and then I have used for each widget to add data with the help of add event action you can see in the below image and it is working for me.


But I am trying to implement same logic in resource View screen but no success. 


Regards

Shweta

2020-12-07 13-36-58
Alexandre Santos
Champion

Hi Shweta,


For resource view, you need to add also a list of resources (that need to have and ID) and then all events need to also have the resource ID filled in, so that Full Calendar knows where to display the events.


Are you configuring this and the Ids are matching?


Cheers!

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