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
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.
Hi,
Please check once in its properties. You will get it.
Kind Regards,
Ajit.
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.
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!
change datatype as "Text" for Date and then you can try.
Regards,
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 errorError 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.
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?
Hi my friend if you want to hide this date, just add this option in the advanced options of the fullcalendar
displayEventTime: false,
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.
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 :/
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
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
Hi @Monette Botin's,
I am trying to implement same thing. if possible please share the oml.
Shweta
Hi @Mobarak Dimalotang ,
Can you please tell me how to add the data and show in this Calendar.
Regards
Hi shweta.
Have you checked the component demo?
Cheers!
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
I have found one OML on forum before a month.
you can take reference from it.
Thanks,
Ajit Kurane.
Hi @Ajit Kurane,
I have already tried this method but if we use this method then we cannot add events to the calendar.
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.
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.
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?