Questions tagged [calendar]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
32 views

System.DmlException: Insert failed. First exception on row 0; first error: INVALID_CROSS_REFERENCE_KEY, invalid cross reference id: []

I am a newbie to Apex programming in Salesforce so I have been basing my code off of the example code found here: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/...
  • 17
0 votes
1 answer
17 views

Invalid constructor syntax, name=value pairs can only be used for SObjects: Calendarview

I am attempting to create a CalendarView object for my users. I am basing it off of the example code found here: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/...
  • 17
0 votes
1 answer
28 views

Example Code from CalendarView Object Doesn't Compile?

I am attempting to create a calendar view object for my users. It is my first forray into Apex programming, so I have been referencing the example code in the developer docs. I ran into an issue with ...
  • 17
0 votes
1 answer
9 views

How to Filter Events by Account Properties in Salesforce Events?

I am having some trouble trying to create a list view filter in the Events object in Salesforce. I am trying to find a field that is on the Account object to use in my filter on the Events object ...
  • 47
1 vote
1 answer
855 views

Change Calendar datepicker color for lightning-input type 'date'

I am trying to override standard salesforce datepicker colors. I want to update a hover color and today color to others. Any ideas how can I do it? I want to do it in my own lwc. I tried to use hooks &...
0 votes
1 answer
61 views

Can anyone tell me how to add list view to the other calendar(public calendar) or how to share my calendar?

Picture for the problem statement
0 votes
1 answer
331 views

Unable to sync google calendar after enabling the gmail integration in salesforce

I have enabled the Gmail Integration and sync in my salesforce and added the gmail salesforce chrome extension. But I'm unable to sync my google calendar with salesforce calendar. Can you anyone ...
  • 15
0 votes
1 answer
759 views

popover events doesn't trigger eventClick function on FullCalendar

We are unable to handle the eventClick when an event is clicked from pop over list. This is codepen url to for the POC that we did. It is working fine here. https://codepen.io/shubhamsapkal/pen/...
0 votes
0 answers
162 views

Sending Google Calendar Invites via Salesforce List Emails

Is it possible to send Google calendar invites through Salesforce where the Google calendar widget pops up just like how when you schedule it through Gmail with the invite it pops up? I've tried ...
0 votes
1 answer
59 views

Add a text description to ical and outlook meeting invite urls

Looking to populate the description sections of an ical and outlook meeting invite button in an email via ampscript. Example, for ical, we want the description/desc ="text" to populate when ...
0 votes
1 answer
181 views

"My Calendar" Create via flow or apex?

I contacted salesforce support but they just told me that it's possible. I would like to ask if there is a way to create "My Calendars" via flow or process builder. Because these are the ...
0 votes
1 answer
49 views

Connect calendar invite response to custom field?

Is there an integration to connect calendar invite status (perhaps with Outlook) to a Salesforce field? I'm setting up Volunteers for Salesforce and am manually creating Outlook calendar invites for ...
0 votes
2 answers
898 views

Lightning DatePicker Displaying Outside of Modal Pop-up Form

I have a modal form appearing on a button click. Basically just setting the flag to true and the modal is rendered (it's always on the page). The modal contains multiple fields, one of which is the ...
  • 1
1 vote
0 answers
298 views

Users cannot edit "Assigned To" field in Events

Salesforce pushed some updates over the weekend that are causing issues I haven't run in to before. Users are not able to edit the Assigned To field on Events after the changes. The error they are ...
  • 11
1 vote
0 answers
132 views

Salesforce - Google Calendar Syncing [closed]

How can I sync salesforce calendar with google calendar using custom apex based way not through "Lightning Sync for Google" or any appxchange app. I could not see any blogs explaining the ...
0 votes
1 answer
55 views

How to insert Event for specific user's calendar as Salesforce Sites Guest user

I Salesforce Sites set up on a sandbox org. I'm trying to create an Event to be added to a specific user's calendar when a Guest user clicks Save on the public Visualforce page below. The page's ...
0 votes
1 answer
165 views

How to insert Event with same time/timezone as it appears on Visualforce page

I have a public Visualforce page on Salesforce Sites with the form below. The site Guest user expects the event to be created in their time zone (EST) for the same date and time as it appears on the ...
1 vote
0 answers
189 views

Question about having Salesforce-generated ICS calendar invite organizers perform organizer-like tasks

I am using Salesforce to send ICS calendar invites to contacts in the system. It works great in general, but I was wondering if anyone has had issues with the designated ICS organizer not being able ...
0 votes
1 answer
526 views

Can't find Einstein Activity Capture in personal settings, to connect calendar

I've enabled Einstein Activity Capture with G Suite for my org and now trying to connect a Google calendar. I've tried to follow the instructions to connect a calendar as described in this article, ...
1 vote
1 answer
131 views

How to view someone elses data (owned by them) in my calendar

I can create a calendar my records I own but not my teams. How can I see my teams activities in my calendar.
0 votes
2 answers
288 views

how to change tabs in salesconsole

hello everyone I have the problem that in the salesconsole I have the objects as dropdown and I need to change them to the "standard" form change this: to :
0 votes
1 answer
448 views

How to view event details from another user's calendar on your calendar?

I have two Users : Bob and Community User Calendar I have one public calendar that is shared with Bob : Calendar One I have a community user : John Bob assigns an event HR BENEFITS to Calendar One and ...
0 votes
2 answers
469 views

How to programmatically display public calendar on own calendar?

I have a public calendar that is shared with a public group. An observation I've made is that you have to manually add a calendar that has been shared with you. It doesn't automatically appear on your ...
3 votes
2 answers
944 views

Not able to add Public Calendar as Community User on Community

I have added the Calendar component to a page on my Salesforce Community. When I login as a Portal User and try to Add Calendar, I don't see the Public Calendar and Resources option in the dropdown. ...
3 votes
1 answer
2k views

How to share custom Object records to community users?

Is there any way to share Standard / Custom object records to Customer Community Licensed users. The different records to different users based on some conditions. As we are using Customer community ...
0 votes
0 answers
148 views

How to share record access to customer community licensed users

Primarily, I am trying to show custom object(Calendar_Events__c) records to customer community licensed users based on the condition/tag such as Tag = Group A, Group B .i.e users will have a Multi-...
1 vote
0 answers
434 views

Check if Calendar is shared in Apex (can create events for other user as owner)

I have a custom LWC and Apex code that work together to allow users to create Event objects. The user can select the OwnerId for the newly created events. Due to the unrelated business rules it so ...
  • 1,726
0 votes
1 answer
191 views

Customize Calendar

Are there possible ways to customize calendar in Saleforce? For example, i want to "get" the event when user changes view from Day to Week for example. Or is there an easy way to create a calendar ...
0 votes
1 answer
27 views

Anyone knows of a salesforce release calendar out there that we can import into our calendar app?

I want to add the release dates into my own/org calendar. Does anyone know of a public ical or any other format we can use?
  • 5,461
0 votes
1 answer
1k views

Unable to change Event Date in Series Event

I created a daily recurring event for 5 days in Salesforce 3/30 - 4/3 (see screenshot). It created 5 events for each day. Now when I go and edit the event for tomorrow 3/31 and change the start and ...
  • 837
0 votes
1 answer
169 views

Syncing Custom Object to a Global Google Calendar [closed]

I know that the Lightning Sync will sync users' events with their calendars, but we are wanting to sync a custom object that has a Name, Start Date, End Date and publish this to a shared Google ...
0 votes
3 answers
2k views

Salesforce Lightning Custom Object Calendar Sharing with users

We want to create Salesforce Lightning Custom Object Calendar and make it available for all the sales reps. How do I do it rather than asking each user to create their own.
2 votes
1 answer
823 views

Is there a way to programmatically subscribe Users to a Public Calendar?

With the release of Public Calendars in Lightning this update, we are moving a central calendar for our Sales users from a specific user over to a Public Calendar. We would like to seamlessly move ...
0 votes
1 answer
63 views

Unable to make use color coded text in sales force lightning Calendar

How can I make this "null" text different color in salesforce lightning calendar. I tried with formula field but it is not working. I tried with image function to show a image but html tag does not ...
1 vote
2 answers
905 views

Mobiscroll calendar working inside a LWC?

Has anyone got the Mobiscroll calendar e.g. https://demo.mobiscroll.com/javascript/range/date# working inside a Lightning Web Component (LWC)? The version I am using is the "For JavaScript" trial. ...
  • 132k
0 votes
1 answer
39 views

calendar without search bar

I was trying to bring Salesforce OOTB lightning calendar under one tab without search event and more option bar. Is it possible? If so, how?
1 vote
1 answer
591 views

Formula field with BR() function in lightning calendar

I created a formula field to show two field values but in separate line. Here is the formula field with BR() function Field1& BR() & Field2. I created a calendar for a user and It is coming in ...
1 vote
1 answer
492 views

What is the correct approach to create an Event in Apex for another User with their Timezone?

I'm trying to create an event for another user which needs to appear on their Calendar (in that user's Timezone). e.g. Current user's Timezone is Australia/Sydney, I need to create an event for a New ...
0 votes
0 answers
393 views

How do you create Resource Calendar in Apex for test class?

I need to have a Resource Calendar in Apex test class. I tried to do below in Test Class. List<Calendar> lc = new List<Calendar>(); for(Account acc :listAcc) Calendar c =...
1 vote
0 answers
203 views

Public Calendar's URL in Lightning Experience

We have home page components in classic view where a user can click on different public calendars link to view the particular shared public calendar. In classic, if we change the calendar to any ...
0 votes
1 answer
891 views

Cloud Page .ics file unable to be opened in safari

I have an email with a button that has ampscript RedirectTo(CloudPagesURL(x)). After redirecting, it automatically downloads .ics file. I am having problem when trying to get the ics file to download ...
  • 109
1 vote
1 answer
5k views

Calendar lightning component to display on home page

Does anyone know an appexchange with a lightning component that would display the current user's calendar and the users calendars below in the hierarchy (as in Classic)? I would like to display this ...
  • 11
0 votes
2 answers
1k views

it is possible to change which field to display on the calendar when creating an event?

I need to display on the calendar another text field, but by default subject its shown. It is possible to change it to Account name or another field?
user avatar
1 vote
1 answer
478 views

How to populate the next closest hour based on the current date in Salesforce apex

How to populate the next closest hour based on the current date.The fields im using are of datetime datatype. ex:If my current time is 8:15 am it should populate 9:00 am. I tried using time class,...
0 votes
0 answers
504 views

Add custom event object to calendar, and sync with Outlook via Lightning Sync

I created a custom "Event" type of object, where our Sales Reps log client visits or calls. I offered the chance for our Sales Reps, to include another user on the event (like an engineer, who helped ...
  • 229
2 votes
1 answer
1k views

I'm trying to add a link (to a webinar) in a Calendar invite attached to an email

Starting with Doug Ayers' Visualforce solution (thank you, Doug!) (https://douglascayers.com/2015/01/09/salesforce-send-calendar-invites-in-visualforce-email-templates/), I create the invite as a ...
0 votes
1 answer
3k views

How to delete recurring calendar events in salesforce?

I am unable to delete recurring calendar events in salesforce. If I create an event by unchecking repeat then I will be able to delete that particular task but If I check the checkbocx 'repeat' then I ...
1 vote
1 answer
2k views

Accept Event and Decline Event buttons not present in Lightning Experience

I have Lightning Sync configured and when I open an Event as an invitee and then I want to either accept or decline the invitation, the buttons to do this are not visible. When I switch to Classic, ...
  • 597
1 vote
0 answers
82 views

Please provide an example of creating a recurring event using new Lightning model [closed]

Winter'19 release has made the new recurring event model available which is very different from the original model for series. Could someone please provide a REST API (v44) or APEX example of creating ...
  • 111
0 votes
1 answer
629 views

When I am trying to select December 31 from date picker built in Appiphony Lightning JS (ALJS), I am getting wrong value, as below case

Scenario 1: When I select input date Day: 1 Month: March Year: 1996 Expected result = 01/03/1996 Scenario 2: When I select input date - 31/12/1995 from the January Calendar of year 1996 Day: 31 Month:...
  • 3