It seems like the Lightning Data Service is unable to load Event object. Here is my code:

<aura:attribute name="eventObject" type="Object"/>
Event Record Subject: {!v.eventObject.Subject}

When I convert this for other object types like Contact, it works fine.

Any idea what might be happening?

  • What do you mean it doesn't load, do you get an error ? – SallyRothroat Nov 14 '18 at 16:00
  • No data is returned as far as I can tell. I'm not seeing an error in the console log either. – Minto Tsai Nov 14 '18 at 16:06

Event is not supported by Lightning Data Service.

For details on which objects are supported, you can find the details on its documentation here under Supported Objects section.

| improve this answer | |
  • I believe all objects from Activity.. It means Task and Events – m Peixoto Nov 14 '18 at 16:06
  • If not specifically called out in documentation, then I would imagine Yes. – Jayant Das Nov 14 '18 at 16:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.