All Questions

4
votes
1answer
69 views
+50

How to update any field before firing the save event in force:recordEdit

I have a usecase where I want to update some field values at the record before firing the component.find("edit").get("e.recordSave").fire() event. Here is the markup which I am using <force:...
2
votes
0answers
83 views
+50

Programmatically perform validation on Lightning Components

I am trying to write a JavaScript "user journey" test to go through several pages of a flow and eventually assert on the output. I'm getting tripped up because a validation error is preventing me ...
6
votes
0answers
33 views
+50

Cache.Session not honoring ttlSecs argument?

I'm using session cache and trying to set the TTL (lifetime) to 60 minutes. However it is expiring much more quickly (it appears to be using the default 5 minute expiry). The docs say TTLs is ...