Introducing Lightning Component Architecture, Component Driven Development Approach and their benefits. Places where Lightning Components can run, Tools used for Lightning Component Development & Debugging
Learn about the Lightning Components Framework which helps you develop component based apps which are compatible
with Salesforce1 and Lightning Experience.
This presentation was presented at the New Delhi Salesforce DG and #SalesforceSaturday session on 23rd April, 2016 in New Delhi.
Introducing Lightning Component Architecture, Component Driven Development Approach and their benefits. Places where Lightning Components can run, Tools used for Lightning Component Development & Debugging
Learn about the Lightning Components Framework which helps you develop component based apps which are compatible
with Salesforce1 and Lightning Experience.
This presentation was presented at the New Delhi Salesforce DG and #SalesforceSaturday session on 23rd April, 2016 in New Delhi.
IoT Explorer can be subscriber to multiple platform events. Publishers are not only Salesforce products but also servers outside of Salesforce. This demo shows that IoT Explorer is central rule engine among Community, Heroku, Marketing Cloud, Mobile App, Commerce Cloud and Service Cloud.
You can integrate IoT Explorer with any objects which is not be related with device or machine. I use contact at this demo, but will implement user record with iot explorer for complicated company rule engine.
The demo shows how to identify potential campaign memebers for a targeted marketing campaign. SFDC stores general information about customers/leads, and information about how they responded to previous campaigns. Those dataset are fed to AWS Machine Learning for prediction
24. ソース
({
getExpenses: function(component) {
var action = component.get("c.getExpenses");
var self = this;
action.setCallback(this, function(response) {
var state = response.getState();
if (component.isValid() && state === "SUCCESS") {
component.set("v.expenses", response.getReturnValue());
self.updateTotal(component);
}
});
$A.enqueueAction(action);
},
updateTotal : function(component) {
var expenses = component.get("v.expenses");
var total = 0;
for(var i=0; i<expenses.length; i++){
var e = expenses[i];
//If you’re using a namespace, use e.myNamespace__Amount__c instead
total += e.Amount__c;
}
//Update counters
component.set("v.total", total);
component.set("v.exp", expenses.length);
},//Delimiter for future code
})