Skip to main content

Questions tagged [event]

Use Event to manage calendar appointments.

Filter by
Sorted by
Tagged with
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
1 vote
1 answer
2k views

Event parent relationship fields are null in trigger

I am populating a junction object on from Events and want to capture info from the Event but getting the Account from Account field pulls null. Same who the name via the Who. But if I query the Event ...
jaw999's user avatar
  • 1,315
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
2 votes
3 answers
2k views

Salesforce Public Calendars query

I want to add event to public Calendars using Apex code in trigger. Currently I have hardcoded id of public Calendar in my code. But I don't want to hardcode id of Calendars. I want to query it in my ...
Ankush Dureja'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
6 votes
3 answers
29k 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
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
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
3 votes
1 answer
4k views

Is it possible for nested subcomponents to receive events from parent components in Lightning?

Lets assume we have the following hierarchy of Lightning Components <c:master> <c:sibling1 aura:id="sibling1" /> </c:master> PART I Is it possible for a child component (here ...
Uwe Heim's user avatar
  • 28.4k
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
1 vote
1 answer
2k views

Event Log Monitoring from salesforce API

Below is my requirement: I have to track the event(eg: URI event) from event log file without manually using workbench or REST explorer. It means I have to write a code where it queries the URI event ...
Sravika Birudaraju's user avatar
0 votes
1 answer
205 views

Can I save and fire lightning event later?

I am trying to fire the same lightning event from one component more than once. Is it possible to save the event in a variable and use it to fire? I saw this question. It did not help.
hellohowdoyoudo's user avatar
0 votes
2 answers
6k views

Apex Code to create recurring event salesforce

Can anyone provide me sample apex code to create recurring event in salesforce. I am using below code: Event newEvent = new Event(); newEvent.OwnerId = '023170000004yO9AAI'; newEvent.Subject ='Test';...
Ankush Dureja's user avatar
10 votes
0 answers
825 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
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
4k 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
7k 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
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.4k
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
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,959
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
3 votes
1 answer
863 views

Cloud Scheduler (Meeting Request)

Can we pre populate To field in Meeting Request.How to achieve this. or Is there a way create a meeting request through apex/vf page Note: This is the Pop-Up which comes when we click on New ...
sfdc's user avatar
  • 13.7k
3 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 ...
Anu Appukuttan's user avatar
3 votes
1 answer
2k views

Lightning Application: $A.get(event) returning undefined when called from a jQuery callback

I am using a jQuery widget within my lightning application. The jQuery widget is simply a multi select input which calls a function on selection: <!-- component --> <ltng:require scripts='/...
ZAR's user avatar
  • 2,043
2 votes
2 answers
2k views

It is possible hide 'New Event' button in lightning Community?

It is possible to remove the new event button? (Im using standard calendar in lightning community and already remove the Edit Event permission from the logged user) I want this because New event ...
Tomas Garcia Etchegaray's user avatar
2 votes
1 answer
1k views

Mock child events in test class

I need to create a child event isChild=true with apex. I need it in my test class. any suggestion. Event ev1=new Event (OwnerId=u.Id, Subject= 'Appel', WhoId = whoCon.Id, ...
LoveLace's user avatar
  • 645
2 votes
0 answers
723 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: { ...
SFDCDJ's user avatar
  • 1,874
2 votes
3 answers
4k views

Is it possible to create a lookup or a master-detail field to Event from my custom object?

I want to create a master-detail or lookup relatioship between my custom object and the Event standard object. My custom object would be the child. The problem is that the Event object is not ...
Riadh Mankai's user avatar
  • 1,088
2 votes
1 answer
5k views

Convert event.target.files into a JSON string

I am trying to send uploaded file via a JSON. However I am unable to send the file attribute directly in below way. <template> <div class="slds-p-around_medium lgc-bg"&...
SfdcBat's user avatar
  • 4,811
2 votes
1 answer
357 views

Implement press="c.someMethod" on a custom component

I'm building a generic button lightning component, and I don't find how to implement a parameter which will trigger a controller JS function on the component including the button ( exactly like the ...
Nicolas Vuillamy's user avatar
2 votes
0 answers
762 views

INSUFFICIENT_ACCESS_OR_READONLY, You can’t update hidden events because they contain essential event-series data - What are hidden events?

We all know what INSUFFICIENT_ACCESS_OR_READONLY means, but this is my first time encountering this particular error in all my years of working with Salesforce. INSUFFICIENT_ACCESS_OR_READONLY, You ...
Morgan Marchese's user avatar
2 votes
1 answer
198 views

Is it possible to sum all the days of a set of events inside an opportunity and subtract from a total # of days?

I am using opportunities in Salesforce to track professional services engagements. As soon as the opportunity is won and closed, I will fill in a custom field called "number of days" which represents ...
David Brossard's user avatar
1 vote
1 answer
4k views

Adding Invitees automatically to a Calendar Event

Is it possible to add invitees automatically when a Calendar Event is created? The requirement is to automatically create invitees based on a custom Event Field (Contract Value). The List of Invitees ...
KaLi's user avatar
  • 1,519
1 vote
1 answer
903 views

CloseActionScreenEvent bubbles

Here I've read that CloseActionScreenEvent does not bubble, but we can set in the constructor a EventInit object to force bubbles = true. So I have the following this.dispatchEvent(new ...
Damecek's user avatar
  • 1,948
1 vote
1 answer
83 views

System.QueryException: List has no rows - How can I tie Events created for qualified Contacts to Opps created from the Contact?

Our org was configured such that Opps can only be created during Lead Conversion or from a Contact related list. This ensures each Opp has a Contact Role associated. SDRs create an Event when they ...
Brooks Bruce's user avatar
1 vote
0 answers
77 views

What events can a user see in Salesforce

When looking at the Calendar/Events page, I'm curious what events a user can see. From what I can tell, a user will see an event if: The event is assigned to them They are an invitee on the event ...
contactmatt's user avatar
  • 1,069
1 vote
1 answer
90 views

Test Code for Conditional Event Deletion is not running expected lines

I'm having some problems with a test class and I honestly can't figure out why. Maybe I've been staring at it for too long, but in any case - would appreciate if someone can tell me where I've gone ...
Morgan Marchese's user avatar
1 vote
1 answer
18k views

How to set object permissions to no access for: Tasks, Events, Notes, Users?

Within the profile settings, under object settings, then object permissions - I do not see the option to set a profiles object permissions for Tasks, Events, Notes, Users to no access. Appears that I ...
blunders's user avatar
  • 1,618
1 vote
1 answer
2k views

Display data into a lightning component

I have 2 lightning components, one that display a list of articles, and the other display the details of one article. My problem is that in the second component I can't see the data, but there is no ...
dou's user avatar
  • 1,959
0 votes
1 answer
1k views

contactEvents method returns Internal Server Error

I'd like to use the contactEvents method to insert external Event data into a Data Extension, and fire an Event (which in turn will start a Journey Builder Interaction). Here's what my data ...
Eliot Harper's user avatar
  • 16.6k
0 votes
1 answer
2k views

Event Log Object - Tracking Field Changes

This is a new question that came from this question: Tracking Address Changes - 10+ Years In the SF documentation it states: Objects—Almost every object in the user interface is also an object in ...
S.B.'s user avatar
  • 2,091
0 votes
1 answer
489 views

Dynamic sosl query not returning all events with search term in their subject

I seem to have an odd issue where for certain text phrases being searched with sosl, not all events being queried with the sosl search are returned that should be. For example: when FIND (meeting*) ...
Tyler Dahle's user avatar
  • 2,719
0 votes
1 answer
933 views

Trigger on Attachment to insert FeedItem

I have been trying to get a trigger to fire when a new attachment is inserted (After insert), the ParentId is Event for that attachment, and the Event is related to an Account. So, if anyone inserts ...
Carlos Naranjo's user avatar