How to get sever date as defaultly selected in client side system calender in coldfusion? - datefield

Hai, I'm Deepa.I'm in an issue in coldfusion development.my doubt is that
how i got the current date as defaultly selected in my client pc,
while the client system date is wrong bt the server date is correct.
I used the cfinput datefield,bt i got the client system date as defaultly
selected in my datefield calender. The issue is that if whatever the client system date, i want the server date as default in clientside calender. can you help me

Related

How to get unread message via rest api in Rocket.chat without providing a date?

I'm trying to get the number of unread messages. This answer provided an answer by adding a date to the rest endpoint. This seems fine but requires you to store a date somewhere which can ofcourse be deleted. However, the rocktchat webclient seems to do it in another way. Deleting the browser history or login in somewhere else will still result in the same number of unread messages. So I guess they are not providing a date? How can I get the number of unread messages without providing a date?
Version of Rocket.Chat Server: 0.61.1
If you have no "updated at" date at hand (cleared history or else) you should probably just pass a very old date in.
probably: var unixTimeZero = Date.parse('01 Jan 1970 00:00:00 GMT');
However you might want to ask the user if he wants to pull the last 2 days, or "all". Maybe "1 week".
Slightly offtopic: Please do this. I use google mail on my android and when I need the latest email, but haven't updated in 3 weeks, I'm getting a looot of mails I don't need. (note: I have auto-sync off)

Local request's timestamp

Is it possible to get local date time when user submitted request to Skype bot?
Asking because it seems that Activity.timestamp which is available at web hook handler - is a timestamp from MS Bot Hub and is always UTC 0.
For privacy reasons the user's location is not shared with the bot.

Office 365 API Calendar Event Reminder not compatible with Outlook in case of None

I am trying to set the reminder of a calendar event to None by code using Microsoft Office 365 API
I am passing -1 value to Microsoft.Office365.OutlookServices.Portable.dll, v1.0.41.0 (using the updated DLL's) Event class reminder property and creating the event
The event is causing issue in Outlook as I am passing -1 to nullable integer type reminder and it is taking it as -1 minutes to the value of reminder. OKAY. Makes sense.
But it is not allowing me to create an event with null as reminder and taking 15 minutes as default value to reminder.
Moreover it is not updating the reminder value of any event to null but when I set any reminder to none in Office 365 then trying to fetch the event, it is fetching the value as null.
And when I am setting -1, it is OK in Office 365 web portal but creating issues in Outlook synced events on Desktop
Please suggest what value of reminder should I pass or how can I create an event with None as Reminder in Office 365.
Please let me know if I missed anything or if any other info is required.
You need to set the IsReminderOn property to false to turn off the reminder. This property is available in the v2.0 and beta endpoints of the API. This should be available in the Microsoft.Office365.OutlookServices-V2.0 nuget package.
https://msdn.microsoft.com/office/office365/api/complex-types-for-mail-contacts-calendar#RESTAPIResourcesEvent
From this release notes document ,Currently you can't set a reminder from the client library or directly via REST when you're creating or updating events. The event reminder field is not updated, but no error is returned. For example , i set the Reminder property of event as 1 :
After adding this event to calendar successfully, you could use fiddler to grap the post request , you will find no Reminder information will post to the api endpoint :
Also if you not set the Reminder property,it will be set as null ,and will also add the event successfully.When checking that event in O365, the reminder will be 15 minutes .

Get Outlook calendar to Oracle Application Express (APEX)

I have created an application in Oracle Application Express (APEX). Now, I need to display the event on calendar. If I use the database in APEX, I just select EventName, StartDate, EndTime from Table_A and link the dates in Setting (Figure 1: Calendar Setting in APEX).
Now, I wish I could get the event details from Outlook Calendar and probably store in oracle table too.
May I know the way to sync the record from Outlook?

How to change modified On/ Created on date of all email activities in MSCRM using SQL

We have MS CRM 2013 on-premise.
We had to update email id of all our previous email activities and in doing so all the activities have got updated with the new modified on and sent date.
Now the problem is whenever we see the activities on first page it is by default sorted by modified on date.
Is there any script(SQL) with which we can change the modified on/ Sent date of all the email activities.
Have a look here, you might find a solution to your problem:
http://www.magnetismsolutions.com/blog/vincentzhong/2012/08/15/how_to_modify_the_created_on_value_of_dynamics_crm_2011_part_1
I would also say, that modifying created on date using SQL is possible, but unsupported and I would really discourage you from doing that.

Resources