ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
¤ªÌâ½âÕh
Apex OpportunityTableController
2
public class OpportunityTableController {
@AuraEnabled
public static List<Opportunity> getOpportunities (String accId) {
List<Opportunity> oppList = [SELECT
id,Name
,StageName
,Amount
FROM
Opportunity
WHERE
AccountId = :accId
AND isClosed = false
];
return oppList;
}
}
LightningComponent COMPONENT£¨Ç°°ë£©
3
<aura:component implements="flexipage:availableForAllPageTypes,force:hasRecordId"
controller="OpportunityTableController">
<aura:attribute name="oppList" type="Opportunity[]"/>
<aura:handler name="init" value="{!this}" action="{!c.doInit}" />
<table border="1">
<thead>
<tr>
<th>ÉÌÕ„Ãû</th>
<th>¥Õ¥§©`¥º</th>
<th>½ðî~</th>
</tr>
</thead>
LightningComponent COMPONENT£¨áá°ë£©
4
<tbody>
<aura:iteration items="{!v.oppList}" var="opp">
<tr>
<td>
<ui:outputText value="{!opp.Name}" />
</td>
<td>
<ui:outputText value="{!opp.StageName}" />
</td>
<td>
<ui:outputText value="{!opp.Amount}" />
</td>
</tr>
</aura:iteration>
</tbody>
</table>
</aura:component>
LightningComponent CONTROLLER
5
({
doInit : function(component, event, helper) {
helper.getOpps(component,event);
}
})
LightningComponent HELPER
6
({
getOpps : function(component,event) {
var action = component.get("c.getOpportunities");
action.setParams({
"accId" : component.get("v.recordId")
});
action.setCallback(this, function(response) {
var result = response.getReturnValue();
component.set("v.oppList", result);
});
$A.enqueueAction(action);
}
})
LightningComponent STYLE
7
table.THIS {
background-color: white;
}
áá¤Ï¥¢¥×¥ê¥±©`¥·¥ç¥ó¥Ó¥ë¥À©`¤ÇÈ¡ÒýÏȤΥک`¥¸¤ËÅäÖä·¤ÆÍê³É£¡
Ad

Recommended

Storytelling By Numbers
Storytelling By Numbers
Michael King
?
RichFaces: more concepts and features
RichFaces: more concepts and features
Max Katz
?
for this particular program how do i create the input innotepad 1st ?#include...
for this particular program how do i create the input innotepad 1st ?#include...
hwbloom14
?
for this particular program how do i create the input innotepad 1st ? #includ...
for this particular program how do i create the input innotepad 1st ? #includ...
hwbloom59
?
Huhdoop?: Uncertain Data Management on Non-Relational Database Systems
Huhdoop?: Uncertain Data Management on Non-Relational Database Systems
Jeff Smith
?
Use sqlite
Use sqlite
Jesus Diaz Gonzalez
?
e computer notes - Advanced subqueries
e computer notes - Advanced subqueries
ecomputernotes
?
SPL, not a bridge too far
SPL, not a bridge too far
Michelangelo van Dam
?
SPFx: Working with SharePoint Content
SPFx: Working with SharePoint Content
Vladimir Medina
?
SPFx working with SharePoint data
SPFx working with SharePoint data
Vladimir Medina
?
6 things about perl 6
6 things about perl 6
brian d foy
?
jdbc
jdbc
vikram singh
?
Perl 5.28 new features
Perl 5.28 new features
brian d foy
?
Api presentation
Api presentation
Susant Sahani
?
20150730 Sql AutoCommannotator - sac v2
20150730 Sql AutoCommannotator - sac v2
Sharon Liu
?
Database
Database
Divya_Gupta19
?
Performante Java Enterprise Applikationen trotz O/R-Mapping
Performante Java Enterprise Applikationen trotz O/R-Mapping
Simon Martinelli
?
dcs plus Catalogue 2015
dcs plus Catalogue 2015
dcs plus
?
Php using variables-operators
Php using variables-operators
Khem Puthea
?
6 more things about Perl 6
6 more things about Perl 6
brian d foy
?
Perl v5.26 Features (AmsterdamX.pm)
Perl v5.26 Features (AmsterdamX.pm)
brian d foy
?
Fine-grained Processing of CVS Archives with APFEL
Fine-grained Processing of CVS Archives with APFEL
Thomas Zimmermann
?
exportDisabledUsersRemoveMailbox
exportDisabledUsersRemoveMailbox
Daniel Gilhousen
?
Stack queue
Stack queue
Harry Potter
?
Archtect meetup sharing_territory_20190801
Archtect meetup sharing_territory_20190801
Ikou Sanuki
?
Sfdgr19 apex 20190730
Sfdgr19 apex 20190730
Ikou Sanuki
?
Sfdg spring19 flow_20190306
Sfdg spring19 flow_20190306
Ikou Sanuki
?
Japan Dreamin2019 Salesforce Developer Group Rookies
Japan Dreamin2019 Salesforce Developer Group Rookies
Ikou Sanuki
?
SFDGR#04
SFDGR#04
Ikou Sanuki
?
Sfdgr04 ¥°¥ë©`¥×Õnî} v2
Sfdgr04 ¥°¥ë©`¥×Õnî} v2
Ikou Sanuki
?

More Related Content

What's hot (16)

SPFx: Working with SharePoint Content
SPFx: Working with SharePoint Content
Vladimir Medina
?
SPFx working with SharePoint data
SPFx working with SharePoint data
Vladimir Medina
?
6 things about perl 6
6 things about perl 6
brian d foy
?
jdbc
jdbc
vikram singh
?
Perl 5.28 new features
Perl 5.28 new features
brian d foy
?
Api presentation
Api presentation
Susant Sahani
?
20150730 Sql AutoCommannotator - sac v2
20150730 Sql AutoCommannotator - sac v2
Sharon Liu
?
Database
Database
Divya_Gupta19
?
Performante Java Enterprise Applikationen trotz O/R-Mapping
Performante Java Enterprise Applikationen trotz O/R-Mapping
Simon Martinelli
?
dcs plus Catalogue 2015
dcs plus Catalogue 2015
dcs plus
?
Php using variables-operators
Php using variables-operators
Khem Puthea
?
6 more things about Perl 6
6 more things about Perl 6
brian d foy
?
Perl v5.26 Features (AmsterdamX.pm)
Perl v5.26 Features (AmsterdamX.pm)
brian d foy
?
Fine-grained Processing of CVS Archives with APFEL
Fine-grained Processing of CVS Archives with APFEL
Thomas Zimmermann
?
exportDisabledUsersRemoveMailbox
exportDisabledUsersRemoveMailbox
Daniel Gilhousen
?
Stack queue
Stack queue
Harry Potter
?
SPFx: Working with SharePoint Content
SPFx: Working with SharePoint Content
Vladimir Medina
?
SPFx working with SharePoint data
SPFx working with SharePoint data
Vladimir Medina
?
6 things about perl 6
6 things about perl 6
brian d foy
?
Perl 5.28 new features
Perl 5.28 new features
brian d foy
?
20150730 Sql AutoCommannotator - sac v2
20150730 Sql AutoCommannotator - sac v2
Sharon Liu
?
Performante Java Enterprise Applikationen trotz O/R-Mapping
Performante Java Enterprise Applikationen trotz O/R-Mapping
Simon Martinelli
?
dcs plus Catalogue 2015
dcs plus Catalogue 2015
dcs plus
?
Php using variables-operators
Php using variables-operators
Khem Puthea
?
6 more things about Perl 6
6 more things about Perl 6
brian d foy
?
Perl v5.26 Features (AmsterdamX.pm)
Perl v5.26 Features (AmsterdamX.pm)
brian d foy
?
Fine-grained Processing of CVS Archives with APFEL
Fine-grained Processing of CVS Archives with APFEL
Thomas Zimmermann
?
exportDisabledUsersRemoveMailbox
exportDisabledUsersRemoveMailbox
Daniel Gilhousen
?

More from Ikou Sanuki (16)

Archtect meetup sharing_territory_20190801
Archtect meetup sharing_territory_20190801
Ikou Sanuki
?
Sfdgr19 apex 20190730
Sfdgr19 apex 20190730
Ikou Sanuki
?
Sfdg spring19 flow_20190306
Sfdg spring19 flow_20190306
Ikou Sanuki
?
Japan Dreamin2019 Salesforce Developer Group Rookies
Japan Dreamin2019 Salesforce Developer Group Rookies
Ikou Sanuki
?
SFDGR#04
SFDGR#04
Ikou Sanuki
?
Sfdgr04 ¥°¥ë©`¥×Õnî} v2
Sfdgr04 ¥°¥ë©`¥×Õnî} v2
Ikou Sanuki
?
SWTT2016 Salesforce ¡Á Azure machine learning
SWTT2016 Salesforce ¡Á Azure machine learning
Ikou Sanuki
?
Tsdg meetup#12 summer16 lightning_experience
Tsdg meetup#12 summer16 lightning_experience
Ikou Sanuki
?
Swtt2015 lt isanuki
Swtt2015 lt isanuki
Ikou Sanuki
?
Salesforce DUG meetup09 summer15
Salesforce DUG meetup09 summer15
Ikou Sanuki
?
EventLogView 20150128
EventLogView 20150128
Ikou Sanuki
?
Salesforce dug meetup6_summer14apex
Salesforce dug meetup6_summer14apex
Ikou Sanuki
?
Salesforce developer conference tokyo2013
Salesforce developer conference tokyo2013
Ikou Sanuki
?
Cloudforce2012 dev zone JFDG LT
Cloudforce2012 dev zone JFDG LT
Ikou Sanuki
?
Jfdg meetupµÚ3»Ø dreamforce12¤Ë¤Ä¤¤¤Æ
Jfdg meetupµÚ3»Ø dreamforce12¤Ë¤Ä¤¤¤Æ
Ikou Sanuki
?
Archtect meetup sharing_territory_20190801
Archtect meetup sharing_territory_20190801
Ikou Sanuki
?
Sfdgr19 apex 20190730
Sfdgr19 apex 20190730
Ikou Sanuki
?
Sfdg spring19 flow_20190306
Sfdg spring19 flow_20190306
Ikou Sanuki
?
Japan Dreamin2019 Salesforce Developer Group Rookies
Japan Dreamin2019 Salesforce Developer Group Rookies
Ikou Sanuki
?
Sfdgr04 ¥°¥ë©`¥×Õnî} v2
Sfdgr04 ¥°¥ë©`¥×Õnî} v2
Ikou Sanuki
?
SWTT2016 Salesforce ¡Á Azure machine learning
SWTT2016 Salesforce ¡Á Azure machine learning
Ikou Sanuki
?
Tsdg meetup#12 summer16 lightning_experience
Tsdg meetup#12 summer16 lightning_experience
Ikou Sanuki
?
Swtt2015 lt isanuki
Swtt2015 lt isanuki
Ikou Sanuki
?
Salesforce DUG meetup09 summer15
Salesforce DUG meetup09 summer15
Ikou Sanuki
?
EventLogView 20150128
EventLogView 20150128
Ikou Sanuki
?
Salesforce dug meetup6_summer14apex
Salesforce dug meetup6_summer14apex
Ikou Sanuki
?
Salesforce developer conference tokyo2013
Salesforce developer conference tokyo2013
Ikou Sanuki
?
Cloudforce2012 dev zone JFDG LT
Cloudforce2012 dev zone JFDG LT
Ikou Sanuki
?
Jfdg meetupµÚ3»Ø dreamforce12¤Ë¤Ä¤¤¤Æ
Jfdg meetupµÚ3»Ø dreamforce12¤Ë¤Ä¤¤¤Æ
Ikou Sanuki
?
Ad

Recently uploaded (20)

War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
biswajitbanerjee38
?
Wenn alles versagt - IBM Tape sch¨¹tzt, was z?hlt! Und besonders mit dem neust...
Wenn alles versagt - IBM Tape sch¨¹tzt, was z?hlt! Und besonders mit dem neust...
Josef Weingand
?
MuleSoft for AgentForce : Topic Center and API Catalog
MuleSoft for AgentForce : Topic Center and API Catalog
shyamraj55
?
Connecting Data and Intelligence: The Role of FME in Machine Learning
Connecting Data and Intelligence: The Role of FME in Machine Learning
Safe Software
?
FIDO Alliance Seminar State of Passkeys.pptx
FIDO Alliance Seminar State of Passkeys.pptx
FIDO Alliance
?
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
revolcs10
?
The Future of AI Agent Development Trends to Watch.pptx
The Future of AI Agent Development Trends to Watch.pptx
Lisa ward
?
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
?
Securing AI - There Is No Try, Only Do!.pdf
Securing AI - There Is No Try, Only Do!.pdf
Priyanka Aash
?
Cyber Defense Matrix Workshop - RSA Conference
Cyber Defense Matrix Workshop - RSA Conference
Priyanka Aash
?
Lessons Learned from Developing Secure AI Workflows.pdf
Lessons Learned from Developing Secure AI Workflows.pdf
Priyanka Aash
?
Information Security Response Team Nepal_npCERT_Vice_President_Sudan_Jha.pdf
Information Security Response Team Nepal_npCERT_Vice_President_Sudan_Jha.pdf
ICT Frame Magazine Pvt. Ltd.
?
OWASP Barcelona 2025 Threat Model Library
OWASP Barcelona 2025 Threat Model Library
PetraVukmirovic
?
Securing Account Lifecycles in the Age of Deepfakes.pptx
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
?
From Manual to Auto Searching- FME in the Driver's Seat
From Manual to Auto Searching- FME in the Driver's Seat
Safe Software
?
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Alliance
?
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik
?
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Nilesh Gule
?
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
Priyanka Aash
?
Python Conference Singapore - 19 Jun 2025
Python Conference Singapore - 19 Jun 2025
ninefyi
?
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
biswajitbanerjee38
?
Wenn alles versagt - IBM Tape sch¨¹tzt, was z?hlt! Und besonders mit dem neust...
Wenn alles versagt - IBM Tape sch¨¹tzt, was z?hlt! Und besonders mit dem neust...
Josef Weingand
?
MuleSoft for AgentForce : Topic Center and API Catalog
MuleSoft for AgentForce : Topic Center and API Catalog
shyamraj55
?
Connecting Data and Intelligence: The Role of FME in Machine Learning
Connecting Data and Intelligence: The Role of FME in Machine Learning
Safe Software
?
FIDO Alliance Seminar State of Passkeys.pptx
FIDO Alliance Seminar State of Passkeys.pptx
FIDO Alliance
?
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
revolcs10
?
The Future of AI Agent Development Trends to Watch.pptx
The Future of AI Agent Development Trends to Watch.pptx
Lisa ward
?
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
?
Securing AI - There Is No Try, Only Do!.pdf
Securing AI - There Is No Try, Only Do!.pdf
Priyanka Aash
?
Cyber Defense Matrix Workshop - RSA Conference
Cyber Defense Matrix Workshop - RSA Conference
Priyanka Aash
?
Lessons Learned from Developing Secure AI Workflows.pdf
Lessons Learned from Developing Secure AI Workflows.pdf
Priyanka Aash
?
Information Security Response Team Nepal_npCERT_Vice_President_Sudan_Jha.pdf
Information Security Response Team Nepal_npCERT_Vice_President_Sudan_Jha.pdf
ICT Frame Magazine Pvt. Ltd.
?
OWASP Barcelona 2025 Threat Model Library
OWASP Barcelona 2025 Threat Model Library
PetraVukmirovic
?
Securing Account Lifecycles in the Age of Deepfakes.pptx
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
?
From Manual to Auto Searching- FME in the Driver's Seat
From Manual to Auto Searching- FME in the Driver's Seat
Safe Software
?
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Alliance
?
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik
?
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Nilesh Gule
?
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
Priyanka Aash
?
Python Conference Singapore - 19 Jun 2025
Python Conference Singapore - 19 Jun 2025
ninefyi
?
Ad

Sfdgr 12 20180906_answer_v1.0