Skip to main content

Questions tagged [event]

Use Event to manage calendar appointments.

Filter by
Sorted by
Tagged with
19 votes
2 answers
3k views

Find Parent Event of Child Event

Problem Statement Show a list of events on visualforce page, and give ability to respond as accept/reject/maybe. Scenario: 3 users are participating in an event. Event is created by a user named "...
Abhinav Gupta's user avatar
13 votes
5 answers
2k views

How to send an email in response to a triggered event?

We need to send emails in response to a triggered event. We have created two data extension, one for client data and another to event data. These data extensions are filled with API procedures. We ...
MRSR's user avatar
  • 285
11 votes
4 answers
26k views

Bell notifications via apex

My customer wants to send bell notifications whenever you add an Attendant to an Event. Is there a way to create custom bell notifications via apex code? If not, is it possible to achieve this ...
molinet's user avatar
  • 925
10 votes
2 answers
6k views

CometD Issues when subscribing to Platform Events

I am using the notification Console Component described in this trailhead: Subscribe to Platform Events Trailhead I am able to get it working, and the majority of the time I have no issues. However, ...
Mitch Spano's user avatar
  • 1,635
10 votes
0 answers
827 views

Implement Domain Event Pattern in Apex - can and should it be done?

In Domain Driven Design a single pattern is drawing a lot of attention to itself - Domain Events and Event Queues. (slide via http://de.slideshare.net/andysal/never-mind-the-bollocks-heres-the-domain-...
Robert Sösemann's user avatar
9 votes
3 answers
4k views

Event record type selection is bypassed from Activities list view

I have two Event record types specified. When I create an Event from the Home tab via the New Event button or when I create an Event directly on a record (e.g., an Opportunity) via the New Event ...
Peter Knolle's user avatar
  • 29.1k
8 votes
1 answer
12k views

Treat click event on <lightning:icon> as a click on <ui:input>

I have a lightning:icon next to a ui:inputDate like so. When clicking into the input area, the calendar datepicker pops up, as expected. Is it possible to treat a click event on the calendar icon as ...
Brian Mansfield's user avatar
8 votes
2 answers
2k views

What is the difference between {!URLFOR($Action.Activity.NewTask)} and {!URLFOR($Action.Task.NewTask)}?

When you try to create a custom button for a Task, if you choose "$Action" in the "Select field type", you have two options to define that button: $Action.Activity.NewTask - This will take you to a ...
Shailesh Deshpande's user avatar
8 votes
1 answer
415 views

Recreating the Event Notification Email

Is there a way to determine what the aid parameter is for a given event relation record? We would like to add Invitee's to events and send a custom email notification to them allowing for the ...
Eric's user avatar
  • 54.3k
8 votes
1 answer
2k views

POST interaction/v1/eventDefinitions creates an Event Definition but I cannot see the Event on a Journey

I am attempting to post a new API Event that can be added to a Journey as an entry source. I am able to make this call via Rest and see the new event when I open Entry Sources under Journey Builder....
Mike's user avatar
  • 918
7 votes
1 answer
8k views

Firing Events in Journey Builder

I'm struggling with the Journey Builder documentation on firing events. I believe it's wrong, or perhaps it's right and I'm wrong. As I understand it, an Interaction begins by firing an Event. When ...
Eliot Harper's user avatar
  • 16.6k
7 votes
3 answers
4k views

Lightning components - Prevent event bubbling from ui:checkbox to parent div

I'm facing issue with click event bubbling in Lightning. I have div and inside of it few components including lightning checkbox and <a href> tag: Component: <div aura:id="container" class=...
Wookie88's user avatar
  • 733
7 votes
1 answer
5k views

403:denied_by_security_policy:create_denied when subscribing to platform events

This error is thrown when I try to subscribe to a platform event using the EMP-connector. I followed the steps outlined in the documentation: https://developer.salesforce.com/docs/atlas.en-us.220.0....
Sebi's user avatar
  • 213
7 votes
1 answer
3k views

Why are phone calls "Tasks" and not "Events"?

Is there a reason that the generic Salesforce model makes phone calls "Tasks" and not "Events"? It seems like calls have start times and end times just like Events. What advantage does not having ...
Charles Koppelman's user avatar
6 votes
3 answers
31k views

ShowToastEvent notification is not displayed in LWC

I have a problem with Toast Event in Lightning Out App. I don't know why when I click on button "Show notification" - nothing happens. I want to see notification, but it's not showing. HTML file: &...
Valentine Potapov's user avatar
6 votes
1 answer
14k views

Process Builder - Add Minutes,Hours to Event End Date

I want to make the Event End Date as NOW()+60 Mins in process builder while creating a new Event record. But It is adding 60 DAYS even though Event End date is date/time field. How do I add minutes ...
SFDC FanBoy's user avatar
  • 4,084
6 votes
2 answers
7k views

Lightning Components: What is the easiest way to have an onclick event on a HTML-tag?

In a Lightning Component I have <div style="border: green solid 3px;" onclick="console.log(123);"> <br/> <br/> <br/> </div> As far as I see, the old-...
Uwe Heim's user avatar
  • 28.5k
6 votes
3 answers
2k views

Analytics: how to use Activity (Task / Event) in a Dataset?

I'm setting up Analytics / Salesforce Wave and trying to report on Events. The use case here is these Event records are used as a mechanism for logging billable hours. Unfortunately, I can't see any ...
Matt and Neil's user avatar
6 votes
1 answer
1k views

Platform Events- Event Delivery Limit for Simple Use Case

Trying to solution for the following use case: A desktop softphone Salesforce Classic Visualforce Page On call received on desktop softphone, pop in user's classic SF console. Created platform Event ...
S.B.'s user avatar
  • 2,131
6 votes
2 answers
1k views

Accomplishing 'Long Polling' to monitor events - REST or STREAMING API?

My use case is to be notified of any new documents uploaded to the account - { I could potentially use the StreamingApi but my entire infrastructure is based on REST, while the StreamingApi uses ...
Noob_ForceDev's user avatar
6 votes
2 answers
8k views

How to handle events from LWC datatable custom data types

I have created lightning data table MyLightningDataTable with a custom data type. This custom datatable is a child component of MyDataGroup component and MyDataGroup is a child of MyData component. ...
Isuru Buddhika Herath's user avatar
6 votes
1 answer
5k views

Where is the documentation for aura:handler?

I can find some reference to it in the documentation, but I find it odd that I cannot find specific documentation on aura:handler. Does it exist and I just cannot find it or does it just not exist?
notthehoff's user avatar
6 votes
2 answers
1k views

Is it possible to create a lightning event series in Apex?

It says that IsRecurrence2 and its related fields (Recurrence2PatternText, Recurrence2PatternVersion) are read only, but have to get set on initial event creation. When attempting to set them on a new ...
Tyler Dahle's user avatar
  • 2,729
6 votes
1 answer
2k views

Workflow on Last Activity Date

is it possible to set a workflow that would create a task or email alert if there was no activity e.g. for the last 180 days...? By activity I mean only logging a task or event not editing the account ...
Pawel's user avatar
  • 61
5 votes
1 answer
2k views

Are lightning event synchronous or asynchronous?

Are lightning event synchronous or asynchronous? component1: <aura:component> <aura:handler name="event1" event="zced:TypeDoesNotMatter" action="{!c.event1Function}"/&...
hellohowdoyoudo's user avatar
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....
MadMax's user avatar
  • 1,020
5 votes
1 answer
5k views

Trigger to get fields from Object linked with the 'Related To' field in an Event

I have created a custom app called 'Projects'. The app is linked with a Master-Detail field called Account which looks up an Account name and then links the Project to it. Then I create an Event ...
jmawle's user avatar
  • 53
5 votes
1 answer
2k views

Access Check Failed! on ui:inputText component event after Apex call

I've got a really basic component which call an Apex method when we press the Enter key. However, since Spring'16, I've got the following warning message: WARNING: Access Check Failed! Component....
Fabien Taillon's user avatar
5 votes
1 answer
393 views

Lightning: How to ignore valueChange event handler from parent component if sub component 'overrides' it?

There are parent and sub components. Each component has : <aura:handler name="change" value="{!v.var}" action="{!c.onVarChange}"/> Each component defines onVarChange in its controller ...
Natallia's user avatar
  • 3,231
5 votes
1 answer
5k views

How To Add Event to a Public Calendar using Apex?

I need to automate adding Event records to a Public Calendar. Is it possible to do so using Apex? I tried using the OwnerId field, but no luck.
Dedo's user avatar
  • 5,017
5 votes
1 answer
2k views

How to create a timed fade out message using force:showToast

So this is pretty simple to create. I have the code: showMessage : function(){ var toastEvent = $A.get("e.force:showToast"); toastEvent.setParams({ mode : "dismissable", ...
Nicolas O's user avatar
5 votes
1 answer
631 views

Is it possible to listen to events fired by Lightning Experience?

As I understand the general idea behind aura/lightning is to be able to have components which can interact with each other. However, Salesforce's documentation seems to be lacking any information ...
Koen Faro's user avatar
  • 773
5 votes
1 answer
691 views

Email notifications for Event invitees using the API?

Can someone help me understand whether it is possible via the REST or SOAP API (version 29) to trigger the email notifications that get sent when adding an invitee (e.g., contact, lead) to the ...
wideize's user avatar
  • 83
5 votes
0 answers
377 views

Is it possible to pass parameter between napili template built with lightning component

I am working on napili community template pages built with lightning components. There is a requirement to pass value from a lightning component in page 1 to a lightning component in page 2.. I ...
Gopi Nath's user avatar
4 votes
3 answers
450 views

Why is this trigger to prevent event deletion not executing correctly?

I have written this trigger which is supposed to prevent a user (unless they are a system administrator, marketing director or telesales) deleting an event of type 'Telemarketing Appointment'. But ...
Nik's user avatar
  • 125
4 votes
2 answers
5k views

How to add a VF page to Event standard pagelauout

Is it is possible to add a Vf page to Event standard page layout. If it is possible please tell me, how can i do it?
AnuRaj's user avatar
  • 2,482
4 votes
2 answers
2k views

Lightning Components: Unable to handle an event

I have a component which consists of another child component which is added dynamically: <aura:component> <ltng:require styles="/resource/SLDS0122/assets/styles/salesforce-lightning-...
Karthikeya Pammi's user avatar
4 votes
1 answer
2k views

SOQL aggregate functions do not work with Task.ActivityDate

When I try the following in the Query Editor of the Developer Console: SELECT WhoID, COUNT(Id), MIN(ActivityDate), MAX(ActivityDate) FROM Task GROUP BY WhoID LIMIT 1000 I get the following error: ...
catalandres's user avatar
4 votes
2 answers
22k views

How can I add an event redirecting to a record to a Lightning component?

I have a lightning component, and I want that when I click a div, it redirect me to an object record. I guess I have to use an event but I don't know how it work exactly ? Do you have an example of ...
dou's user avatar
  • 1,979
4 votes
1 answer
8k views

Apex Trigger Creating Event on Account- Won't show in Open Activities

I've created an Apex trigger on a custom object that creates an event for an account. The trigger works, and I have the data, but I can't get it to show up under Accounts=> Choose Account=> Open ...
Adrian Carr's user avatar
4 votes
1 answer
1k views

how to call NodeJS from apex using Evergreen function

Salesforce has recently announced the Evergreen serverless functions. Information about the Evergreen can be found: https://developer.salesforce.com/blogs/2019/11/introducing-salesforce-evergreen....
Derminal's user avatar
  • 356
4 votes
1 answer
845 views

Do Lightning Components need to register/declare standard app events?

My Lightning component: <aura:component controller="MyController" implements="flexipage:availableForAllPageTypes,force:hasRecordId" access="global"> <aura:attribute name="recordId" type="...
Robert Sösemann's user avatar
4 votes
2 answers
12k views

onchange event listener for ui:inputSelect not working

I am trying to implement a picklist using the Aura component <ui:inputSelect> with a change event listner. But I see that the change event listener (JavaScript function) is not getting ...
Kiran C V's user avatar
4 votes
3 answers
2k views

Return custom event.message using Javascript remoting?

Short version: Can I return my own messages in the javascript remote event.message object? Long version: I use a javascript remote call to perform an ajax search. This is the code (pretty much just ...
Joshua Dance's user avatar
  • 1,613
4 votes
2 answers
1k views

associating event with lead(Activity history)...?

I am inserting events and inserting multiple invitees(Lead/Contacts) to event using EventRelation. EventRelation er = new EventRelation(EventId = '00UD0000005zijH', RelationId = '003D000000Q8adV'); ...
miku's user avatar
  • 1,761
4 votes
2 answers
13k views

$A.get('e.force:refreshView').fire() did not refresh the record detail component

I have created a lightning component for the lightning experience record pages. In the customize record page, I drag standard Record Detail component and my component to the page. In my component, I ...
Ying Luan's user avatar
4 votes
1 answer
2k views

Unable to edit Public Calendar Event

One of the user is not able to edit some of the public calendar events. Here is the error message when the user is trying to edit the event. Insufficient Privileges You do not have the level ...
sfdc's user avatar
  • 13.7k
3 votes
1 answer
13k views

Re-entering a Journey (Journey Builder SFMC)

I am currently creating multiple Journey's in Journey Builder, and was under the impression that once a subscriber completed the Journey they would be able to re-enter it regardless if 'Contact Entry' ...
AnonWonderer's user avatar
  • 2,133
3 votes
1 answer
14k views

How to send multiple parameters to Event in LWC

I have a below event in LWC const selectedEvent = new CustomEvent('custEvent', { detail: this.someData; }); this.dispatchEvent(selectedEvent ); I also want to pass this.anotherData; Could ...
gs650x's user avatar
  • 2,708
3 votes
1 answer
13k views

System.FinalException: Record is read-only. How to update fields in event object?

i wrote a function inside event trigger handler that should receive custom times for a meeting, a custom time zone of the customer, and a timezone for the user - and calculate the time of the meeting ...
Dana Griff's user avatar
  • 1,586

1
2 3 4 5
10