Working on final step of "Security for Lightning Components" Trail: Failed to save LTNG_Access_Control_Challenge_Wrapper.cmp
Failed to save LTNG_Access_Control_Challenge_Wrapper.cmp: An unexpected error occurred. Please include this ErrorId if you contact support: 510282782-23865 (167693694)
Thanks for any help / suggestions
Here is the code for Common component which can be included any page that record has to be auto-saved without user intervention
Everything works as expected. Only issue is that I can't kill autosave recursion loop when I move to other lightning page. Is there a way to clear the autosave loop , I am using cleartimeout in the code.
autoSave : function(component,event)
var timeValue=component. get("v. timer");
component. set("v. timerValue", window. setTimeout(
// To avoid auto save method call if component becomes invalid
//Fire component event to access child component methods
var autoSaveEventValue = component. getEvent("autoSaveEvent");
// Clear the timer if component becomes invalid
windowHelper. clearTimeout( component. get("v. timerValue") );
Hello everybody, This is my first Salesforce post.
In my controller, I use a query to get the field related to a rich text area.
My need is to get, for example, 200 first character of a rich text area without HTML markup.
I don't know if a method already exists to perform this because when I try to change the field type from rich text area to text area, Salesforce propose if I want to keep or not the HTML markup of rich text area contents.