New answers tagged


parent.location = self.location; is used for reloading the page. Since, you are assigning the location, there is a chance that parameters can also be assigned directly which in-turn can modify database record. So, this might be restricted in your checkmarx. You can instead use below for refresh: parent.location.reload();


When you use JSENCODE, it adds \ (backslash). Then you can decode it in lightning component on init by using decodeURI(component.get("v.attributes")) $Lightning.use("c:AccountApp", function() { $Lightning.createComponent("c:AssignAccount",{!attributes},"lightning",function(cmp) { }); }); Change this to $Lightning.use("c:...

Top 50 recent answers are included