function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
gopikagopika 

Problem with ActivityDate in native salesforce holiday list

Hi friends,

I have a requirement to check for holidays. I am quering the ActivityDate from Holiday in my controller which gives me a list. But the ActivityDate is not getting the proper holiday date. The date which is coming in the ActivityDate is nowhere related to the correct holiday.I didnt find any other field in holiday to fetch the required dates.
I am not sure whether the issue is because of recent release.
Can anyone help in fixing the issue?

Thanks in advance
krprkrpr
did you check if you have access to all records in Holidays?
gopikagopika
Yes I have access to all holiday records. I am fetching list of holidays in the controller and the list size shows the correct number of holidays too. The problem is that ActivityDate for the records is not correct.