Questions tagged [event]
Use Event to manage calendar appointments.
474
questions
0
votes
1
answer
22
views
EventRelation - Retain record of contact's account relationship when contact added to event
I am looking for a way to capture the Account associated with a Contact at the time the Contact is added to an Event. Currently, the Account gets updated in the EventRelation object when the Contact'...
-1
votes
0
answers
21
views
Detect when details page on record page is on editing mode
Is there a way to detect when a user is currently updating a record through its lightning record page?
I mean detect the event of when the details section of the record page comes from this :
to this:...
-1
votes
1
answer
74
views
How to find the last activity (event or task) related to an object record?
In my contact object i have to update fields based on the last activity. If the last activity is an event ,update the field with event details and if it is task ,then with task details.
How to check ...
0
votes
0
answers
25
views
Subscribing to a Canvas App published event in an Aura Component controller
We have an Aura component that contains a Canvas App. The Canvas App uses the Canvas SDK to publish events.
This is my Aura component's controller...
({
doInit: function (component, event, helper) {
...
0
votes
1
answer
49
views
How to bypass a validation rule on event creation?
I want to bypass this validation rule on new event creation and this validation is on contact object
NOT(
OR(
LEN(Linkeldin__c) = 0,
REGEX(Linkeldin__c, "^https:\\/\\/[a-z]{2,...
1
vote
0
answers
51
views
Custom visual picker onclick fires two click events (LWC)
This morning I'm told a visual picker doesn't work anymore. Simplified version:
<template>
<div class="slds-visual-picker slds-visual-picker_medium" onclick={handleClick} style=&...
0
votes
1
answer
80
views
Is it possible to sync recurring events from Google calendar to Salesforce?
I am trying to sync my Google calendar to Salesforce, but the recurring events from Google are not coming through to Salesforce. I've tried with both Lightning Sync and Einstein Activity Capture. ...
0
votes
1
answer
52
views
Notify Aura component of a window.location change
It looks like once an aura components (that overrides the New button of a custom object) is loaded and opened, it does not stop running when the user closes it and navigates to other pages. In fact, ...
0
votes
0
answers
56
views
Getting RecordTypes and Layouts in LWC for Event/Task?
I am a developer working on a custom LWC component that is made to be used in Outlook via the email application pane and as a mobile page. In the application, one of the features is the ability for ...
0
votes
0
answers
89
views
Record triggered flow not invoking when Event record is created via Lightning sync
Issue:
In our org events are created via lighting sync when outlook meeting is scheduled for user who is part of sync configuration.
When a lead has events associated with it and that event owner is ...
0
votes
1
answer
96
views
Attendees Field on Event object is null in backend
In my use case I would like to grab all event where a certain user has been added as an attendee for the event.
When I do get records in the flow and I actually get null value in the Attendees field ...
-1
votes
1
answer
417
views
Track Login and Logout Time of Every User In Salesforce and Community Users
For tracking login and logout of every user, people says to buy Event Monitoring licenses. We are not thinking to buy the licenses of event monitoring as we just wanted to track 2 event login and ...
2
votes
1
answer
106
views
Deploying Event Layout : Invalid field:NAME in related list:ManyWhoRelatedPeopleList
I'm deploying a Page Layout for Event from GitHub to my integration org.
The deployment fails with this error: Invalid field:NAME in related list:ManyWhoRelatedPeopleList
The relevant XML from the ...
-1
votes
1
answer
104
views
What is supposed to be searchable in the 'Resources' tab input on the Event Attendees standard field?
I can see that by default you are able to add Users, Contacts to an event etc. But what is the Resources tab/input for? My sandbox has no data so unsure of what object this references?
0
votes
0
answers
180
views
Added non-passive event listener to a scroll-blocking <some> event
I have an event that I fire on a child component (code below) I am getting the following message:
[Violation] Added non-passive event listener to a scroll-blocking event. Consider marking event ...
0
votes
0
answers
25
views
Mobile Calendar Event creation having attendee roll up to contact object
I have in issue where on the desktop version my org event creation allows the idea for attendees to roll up into the contacts object. But it does not do this action in Mobile version and was wondering ...
1
vote
0
answers
196
views
Edit a Single Event in an Event Series in Apex
I need to edit a custom field on an Activity for a single Event in a series. Whenever I make the change and update it in Apex, it changes the value for all of the events in the series.
In the ...
1
vote
2
answers
2k
views
how to pass record id to lwc from custom button on detail page of event object?
I have created a custom button on the detail page of the event object and passed the record id in the URL but I'm not able to get the get that id in the LWC component as you can see in the screenshots....
0
votes
1
answer
222
views
How to handle Salesforce Standard Application Events (not custom created) in Aura?
In the chatter publisher, there is a Upcoming and Overdue tasks section in which a checkbox is shown in front of task, when I check it the task status will change to Completed.
I need to do some steps ...
1
vote
0
answers
111
views
Event created via composite API not showing up in Contact's activity timeline
We're seeing an issue with Events created via the composite API where one duplicate event in the composite batch is causing the other non-duplicate events to be only partially created, without their ...
0
votes
1
answer
564
views
LWC Run Event Child Then Reun Even on Parent
In my parent LWC I have a modal which displays a child compoent. When the User clicks the Save & Close button I want to fire the Submit event on the Child which then fires a Success Event. Once ...
0
votes
1
answer
122
views
Can't get parameters on parent Aura from Child LWC event
So I have this code in my LWC
const passRecId = new CustomEvent( 'passrecordid', { detail : recordId });
and I have this code on my aura (parent)
getUserRecordId : function(component,event,helper){
...
-1
votes
1
answer
88
views
Activities, Events and List Views
The question is more about the understanding of Salesforce features rather than looking for any specific solution.
Recently, I've been closely working on the objects Activities and Events and it seems ...
0
votes
0
answers
171
views
Tracking when a contact reaches a goal in Journey Builder
I'm attempting to track at what time a contact reaches my goal in Journey Builder in Salesforce Marketing Cloud. What I would like is to time stamp when a contact reaches a goal, and drop that either ...
1
vote
0
answers
77
views
Fire LWC Event anytime Record Page Tab Selected
I have a custom LWC under the "View Writeup" Tab in my Lightning Record Page. I would like to fire an Event in the LWC anytime the Record Page Tab is selected.
I tried including the event ...
1
vote
0
answers
782
views
LWC Fires on Change Event when Record Edit Form Picklist Fields are reset
On my Lightning Page I am using a Record Edit Form with Input fields for Picklists and Text.
When any of the Input fields are changed the onchange Event Handler is firing the HandleChange Event. This ...
5
votes
2
answers
2k
views
'EventTarget': parameter 1 is not of type 'Event'.] when firing event from LightningModal according to the documentation
I'm trying to use the lightning modal component described here.
This is what I'm trying to do:
<lightning-modal-footer>
<lightning-button variant="brand" label={labels....
0
votes
1
answer
169
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 ...
0
votes
1
answer
242
views
LWC - Run Event on Child when Datable Row Selected on Parent
I am trying to run an Event on my Child Component when the Datable row is selected on my Parent Component.
I am receiving the error below
Here is the Event code from my Child Component
handleCancel(...
0
votes
1
answer
2k
views
how to get event.detail values from combobox multipicklist using LWC?
multiSelectcombobox HTML :
<template>
<div class="slds-form-element">
<label if:true={label} class="slds-form-element__label">
<abbr if:...
0
votes
1
answer
819
views
How to get value which has been changed per <td> in table using LWC?
i fetch this records from DB :
HTML :
<template for:each={createDefaultsData} for:item="acc" for:index="index">
<tr key={acc.key} id={acc.key}>
<td>{...
1
vote
2
answers
734
views
Call function on lightning-navigation standard__recordPage edit pop-up close
I have a custom lwc that calls an edit pop-up for Event records like this:
this[NavigationMixin.Navigate]({
type: "standard__recordPage",
attributes: {
recordId: ...
2
votes
2
answers
334
views
DoInit method in controller not executed on page redirecte
I have an aura component in which
for init event I am subscribing to message event using window.addEventListener and
for aura:locationChange event I am unsubscribing to the event using window....
2
votes
0
answers
174
views
Replace trigger on EventRelation
We have a business need where we want to store an Account (business account or person account) last activity date, according to specific criteria from Event and Task the account is in (for example ...
2
votes
1
answer
3k
views
Communication from embedded Custom LWC to parent FlexCard
We have a requirement in which we embed a custom LWC into a Vlocity FlexCard. We can communicate from Parent FlexCard to embedded child custom LWC. But couldn't figure out how to communicate back from ...
0
votes
1
answer
496
views
LWC: Rerender component at will
I have a component like the above where using Edit Page, I have created a new Email tab, and I have added an LWC component. I am looking for a way such that whenever I click this Email tab, the ...
0
votes
1
answer
896
views
Salesforce event monitoring log access required permissions
Have a requirement to create a permission set which will allow users to access the event log monitoring files. As per this link https://help.salesforce.com/s/articleView?id=000363350&type=1 User's ...
0
votes
1
answer
65
views
Aura Lightning Components - waiting for event or cmp.find('editForm').submit() to finish
I need to clone an item that contains lightning:recordEditForm before the user clicks submit and values are saved. The problem is that before my cloning I need to force recordEditForm to save. I ...
2
votes
1
answer
808
views
Why are our Platform Event EventUuids missing and how do we fix it?
We have a bunch of Platform Event events which we are successfully sending out of Salesforce to Dynamics 365 by way of an "event bridge" which receives messages from Salesforce and places ...
1
vote
1
answer
524
views
EventRelations not showing up on Event with multiple attendees
So I have a piece of code that takes contactIds and creates EventRelations for an event during a piece of Apex code.
//looping through each contact
EventRelation er = new EventRelation();
er.EventId = ...
0
votes
1
answer
300
views
How to set recurring events IsReminder date and time using Apex
I am trying to create a recurring event which is a full day event and event will create every week and I want to set a reminder before 15 min of the event starts.
Below are the lines which I am using.
...
0
votes
1
answer
3k
views
Compare date in lightning web component
I want to compare my two dates, start date with end date, if start date >= end date so I can save if not I can't save, the problem I have is that in the console I get only the value of the end date ...
1
vote
1
answer
4k
views
Dispatch event from lwc to another lwc that is not in the same DOM tree
I have a lwc that dispatches an event to be received by another lwc that's not in the same DOM tree.
This is my child lwc block of code:
this.dispatchEvent(new CustomEvent('newfilesuccess'));
And ...
1
vote
1
answer
348
views
Select Id, UserRecordAccess.HasEditAccess didn't understand relationship name on sObject Event
On Account I can run a query like so:
Select Id, UserRecordAccess.HasEditAccess FROM Account
and this would give me the information about user's access to the record in a single query.
However, if I ...
0
votes
0
answers
452
views
How to create a new record in a custom object whenever a new event is created in calendar?
I am totally new in writing triggers.
In my org there is custom object called meeting where they track all the meeting details with contacts (like meeting time, meeting place, who all are attending ...
1
vote
1
answer
314
views
Internal salesforce.com error while trying to access trigger.new context variable
I have created a trigger on the LogoutEventStream object, to perform the user logout-related functionality. When the user tries to log out from the application by clicking on the logout button, it is ...
2
votes
2
answers
502
views
How can I capture checkbox toggles in a custom data type?
I'm using a custom data type to provide an interactive checkbox within a lightning datatable.
Here's the component's JS:
import checkbox from './checkbox.html';
export default class CoreDatatable ...
1
vote
1
answer
2k
views
Einstein Synced events are not events - what are they?
We have Einstein syncing events from our work google account into SF calendar.
However, when these events are created, they are different from a regular event created in SF.
This event was created in ...
0
votes
2
answers
667
views
Aura : Passing attribute across different components in containment hierarchy
I am trying to get the user's profile from Apex Controller once and re-use it across multiple components. I have a grandParent.cmp which creates a Parent.cmp. After the user does some selection on ...
2
votes
0
answers
687
views
Is there a way to Listen Standard Cancel/Save button event of Standard Record form in LWC?
I am using NavigationMixin to navigate to Record create page as below:
this[NavigationMixin.Navigate]({
type: 'standard__objectPage',
attributes: {
...