Monday, February 13, 2017

What is in lightning component and how to use in lightning components?.

What is <aura:iteration> in lightning component and how to use <aura:iteration> in lightning components?.


aura:iteration iterates over a collection of items and renders the body of the tag for each item.

Data changes in the collection are rerendered automatically on the page. aura:iteration supports iterations containing components that have server-side dependencies or that can be created exclusively on the client-side.


Example Using Data from a Server-Side Controller

This example shows a dynamic iteration that displays data from a standard Opportunity object when user clicks on the button.

Apex Class:

public with sharing class OpporutnityLightningController {
   
    @AuraEnabled
    public static List<Opportunity> getOpportunities(){
        List<Opportunity> opplist = [select id,Name from opportunity];
        return opplist;
    }

}

Lightning Opportunity Component : 



Opportunity Component Controller.JS




Opportunity component App:





Output : 



In this example i am giving basic idea of how to use <aura:iteration> with apex class.

for more details you can refer salesforce documentation.







78 comments:

Unknown said...

well and nice tips about uk and their culture. it really good for everything should know before to reach a london. keep update more updates about uk culture. thanks.
SAT Training Centre in Chennai

Data science said...

Thanks for sharing a good information about salesforce . .......This article is very useful to learners. Sales force online training

Unknown said...

Hai Author Good Information that i found here,do not stop sharing and Please keep updating us..... Thanks

Unknown said...

I am following your this tutorial but its causing me some error. Could you please check the code which you've provided is complete?

I am getting the error : https://salesforce.stackexchange.com/questions/180490/unable-to-find-getopps-on-compound-c-opporutnitycomponent-in-lightning-co

brninfotech said...

Nice blog..! I really loved reading through this article... Thanks for sharing such an amazing post with us and keep blogging...
ios app development course
iphone app training course in bangalore

soukya reddy said...

nice tutorials..thanks for sharing such a wonderful information..keep update with your blogs salesforce Online Training Hyderabad

Nicole Bolton said...

You made some decent factors there. I looked on the internet for the difficulty and found most individuals will associate with along with your website.
Logistic ERP
Transport ERP
Manufacturing ERP
ERP software companies
Best ERP software
ERP for the manufacturing industry

Nbits said...

thank you for sharing such a good and useful information, please keep on share like this
salesforce training in hyderabad
salesforce online training

Unknown said...

Hi, Thanks for sharing such a wonderful blog. Keep it up SalesforceCRM

Unknown said...

hi your blog Article is very nice & thanks for sharing the information.salesforce online classes

Unknown said...


Thanks for sharing the descriptive information on Salesforce Lightning tutorial. It’s really helpful to me since I'm taking Salesforce Lightning training. Keep doing the good work and if you are interested to know more on Salesforce Lightning, do check this Lightning tutorial.:-https://www.youtube.com/watch?v=MOH8Zr7hm5U

Dharani M said...

nice post. thanks for posting this information
salesforce training in Marathahalli

salesforce admin training in Marathahalli

salesforce developer training in Marathahalli

mounika said...

Nice blog..

salesforce training in btm

salesforce admin training in btm

salesforce developer training in btm

Salesforce Developer said...

Salesforce Lightning is a modern UI that offers Smooth transition between desktop and mobile environments. Read More Benefits of Salesforce Lightning

bhanupratap said...

thank your valuable content.we are very thankful to you.one of the recommended blog.which is very useful to new learners and professionals.content is very useful for hadoop learners


Best Spring Classroom Training Institute
Best Devops Classroom Training Institute
Best Corejava Classroom Training Institute
Best Advanced Classroom Training Institute
Best Hadoop Training Institute
Best PHP Training Institute

Tech9logy Creators - Website And Mobile App Development Company said...

Thanks a lot for sharing that useful information. That was a really Intresting post and I would really like to know more.

salesforce development company
Salesforce development services
Salesforce Consultant

Salesforce Developer said...

Nice Blog. You share really a valuable Information.
Explore How Salesforce Lightning Increases Productivity

Tech9logy Creators - Website And Mobile App Development Company said...

Nice article, very helpful for newbies....Thank for sharing that great information.

Salesforce Development Services
Salesforce Products

Salesforce Developer said...

Nice Article
Explore Ways to Reduce Speed Issues in Salesforce Lightning

Mohit Bansal said...

Nice article, very helpful for newbies....Thank for sharing such a great information.

Bulk Object Field Creator

Unknown said...

Namun terkadang kala kita bisa mengubah persentase kemenangan yang seharusnya 50% menjadi hingga 80% dengan cara tertentu.
asikqq
http://dewaqqq.club/
http://sumoqq.today/
interqq
pionpoker
bandar ceme
freebet tanpa deposit
paito warna terlengkap
syair sgp

unknown said...

Hiii....Thank you for sharing Great Content...Keep Move On...
Best Salesforce Training Institutes in Hyderabad

Bharat said...

Wonderful blog post, thank you so much for the great information which you provided.
Salesforce Lightning Training in Hyderabad

Aparna said...

Its such a wonderful article. The above article is very helpful to study the technology and I gain my knowledge. Thanks for that and Keep posting.
Embedded System Course Chennai
Embedded Training in Chennai
Placement in Chennai
Soft Skills Training in Chennai
JMeter Training in Chennai
Appium Training in Chennai
Power BI Training in Chennai
Tableau Training in Chennai
Oracle Training in Chennai
Advanced Excel Training in Chennai

Amit Kumar Singh said...


i am a freelancer and work according to contract, for more details contact us with the information provided below.
play game and win snapdeal lucky draw coupon 2019. contact us, play and win snapdeal lucky draw winner prizes.
lucky draw snapdeal contact number 6289379055 call to get more information
Lucky Draw Snapdeal costomer care number
snapdeal lucky draw contact number
snapdeal lucky draw contest 2019
snapdeal lucky draw 2019 list
snapdeal lucky draw contact number
snapdeal lucky draw 2019

Best Regards
snapdeal lucky draw winners 2019

BPO Solutions said...

good job
http://bposol.com/

Aditi said...

Thank You for sharing informative blog. You can find such a similar information here :
Salesforce Marketing Cloud Implementation
Salesforce Sales Cloud Implementations
Salesforce Advisory Services

Anonymous said...

Intelepos takes pride in offering simple yet powerful EPOS for takeaways. Our designed EPOS helps you to reduce staff’s workload, improve client’s experience, and plan more strategically.
EPOS for Takeaways UK
EPOS System and Software UK
Best EPOS for Restaurants

Novie Ardilla said...

Thanks for the good article, hope you guys want to come to my website to .
Agen Taruhan Judi Bola
Daftar Judi Bola Online
Cara Bermain Judi Bola
Daftar Bola Online
Daftar Agen Bola Online Terpercaya
Prediksi Bola
Live Draw HK

i Digital Academy said...

Nice Tutorials...Thanks for sharing such a wonderful information...
SEO Training in Bangalore | SEO Course Fees | Best SEO Classes - Join SEO Training in Bangalore at i Digital Academy and learn how to increase your website Traffic by
Google Certified Trainers with 100% Placements and affordable course fees. Book a Free Demo!

Novie Ardilla said...

I think this is one of the most significant information for me.
And i’m glad reading your article. But want to remark on some general things, The site style
is ideal, the articles is really nice : D. Good job, cheers
Judi Togel
Agen Togel Terpercaya
Bandar Togel Terpercaya
Bandar Togel Terpercaya
Bandar Togel Singapura
Agen Sabung Ayam SV388
Agen Slot Online Deposit Pulsa
Agen Slot Online Terpercaya

salesforce Certifications said...
This comment has been removed by the author.
salesforce Certifications said...

Find Here Best Salesforce Certification Sample Papers, Platform Developer 1 Dumps, We are Providing Salesforce Sample Questions, Salesforce Dumps, Service Cloud Sample Papers, Sales Cloud Sample Papers, We have online courses for Salesforce Administrators as well as Developer Certification. Details of the same are available.

Bundle Offer 2020:

We are new offering. Buy any two papers and get third free. Offer available for for all courses available online. You can pick and choose certifications which are relevant to you and complete the certifications at your pace.

http://www.salesforcecertifications.com/

Admin said...

I just stumbled over this page and have to say - wow. The site is really good and kept up to date. Continue like
Matsya University BCOM 1st, 2nd & Final Year TimeTable 2020

Danishsingh said...

Thanks for sharing such a great blog Keep posting.
list of mnc companies in delhi ncr with contact details
marketing automation software
marketing automation app

Admin said...

I just stumbled over this page and have to say - wow. The site is really good and kept up to date. Continue like
All University BCOM 1st, 2nd & Final Year TimeTable 2020

Amahendra said...

Thanks for sharing useful information. I hope you will share some more content. Please keep sharing!
Salesforce Integration Services

Salesforce Consulting Services

Salesforce Customization Services

Salesforce Implementation Services

Online Business Solution said...

Nice publish! Thanks for sharing these useful statistics to us. I'm looking ahead to your new post so, please preserve sharing.We also provide
digital marketing company in delhi
Web Designing Company
Digital Marketing Services
Internet Marketing Services
Web Designing Services
Web Development Company
Website Development Company
website design company in delhi
Mobile Responsive
Mobile Friendly Website
Website Redesigning
Website Redesign
Ecommerce Website Development Company
Website Development for Ecommerce
Magento Development Company

Salesforce Developer said...

Thanks for sharing such an important information. I really love it and would love to know more
Certified Salesforce Consultant

Aruna said...

Thanks for your Guidance...The Concept of the Topics and way of Explanation's is very Good...Your Effective Works clear all My Queries...Good Job
Java training in chennai | Java training in annanagar | Java training in omr | Java training in porur | Java training in tambaram | Java training in velachery

store.tech9logy said...

Nice article!
I found many useful information in your blog, it was awesome to read,thanks for sharing this great content, keep sharing..
Custom Lightning Lead Conversion W/O Opportunity

shankarjaya said...

Interesting information and attractive.This blog is really rocking... Yes, the post is very interesting and I really like it.I never seen articles like this. I meant it's so knowledgeable, informative, and good looking site. I appreciate your hard work. Good job.
Salesforce Training in Chennai | Certification | Online Course | Salesforce Training in Bangalore | Certification | Online Course | Salesforce Training in Hyderabad | Certification | Online Course | Salesforce Training in Pune | Certification | Online Course | Salesforce Online Training | Salesforce Training

Anonymous said...

Hi,

I have gone through your blog and I am sure that it will definitely help others.
We also have similar types of blogs, if you want to visit or want to know what type of content we have posted, then you can visit https://www.cloudanalogy.com/

Mohit Bansal said...

Enjoyed reading the article above, really explains everything in detail, the article is very interesting and effective.
Update Multiple Workflow rules

Alan George said...

Nice post and good information on Salesforce tutorials. Thanks for sharing and you can also check Communication Assessment

KITS Technologies said...

Thank you for information.
https://www.kitsonlinetrainings.com/course/salesforce-online-training salesforce online training
Angular JS training
Selenium training
DevOps training
Pega training
Servicenow training

Nathan Duference said...

I read over your blog, and I found it inquisitive. Also, you may also find about top Pardot Consultant Interested.

jenani said...

such a very useful article. Very interesting to read this article.I would like to thank you for the efforts you had made for writing this awesome article.
Java Training in Chennai

Java Training in Velachery

Java Training in Tambaram

Java Training in Porur

Java Training in OMR

Java Training in Annanagar



KGRN said...
This comment has been removed by the author.
KGRN said...

Came to know about some interesting facts about lightening component through this blog. Thanks for sharing this!
Economic Substance Dubai
Economic Substance Regulations Dubai
ESR Compliance in UAE
audit firms in dubai
accounting firms in dubai
vat consultancy services in dubai

Amrita Bansal said...

Good Post! it was so good to read and useful to improve my knowledge as an updated one, keep blogging. After seeing your article I want to say that also a well-written article with some very good information which is very useful for the readers....thanks for sharing it and do share more posts like this.
Data Science Training in Gurgaon
Data Analytics Training in Gurgaon
Selenium Training in Gurgaon

Salesforce Developer said...
This comment has been removed by the author.
bhanu sreee said...

Thanks for sharing such a good and informative content to all of us
Workday Studio Online Training Hyderabad
Workday Studio Training India

Ekku2324@ said...

Thank you for sharing this useful article. This blog is a very helpful to me. Keep sharing informative articles with us.

https://www.france-collectivites.fr/

Ekku2324@ said...

Great sources for knowledge. Thank you for sharing this helpful article. It is very useful for me.

https://www.ahmedabadcomputereducation.com/course/laravel-training-course/

Livewell Hospital said...

Thank you for sharing this useful article with us. This blog is a very helpful to me. Keep sharing informative articles with us.

https://www.sdsfin.in/services/project-finance-consultants-in-ahmedabad/

Anonymous said...

Pleasant blog..! I truly cherished perusing this article... Much obliged for offering a particularly astounding post to us and continue writing for a blog....

https://www.aceviral.com/en/g/angry-gran-run

Kuriyakose said...

Best code for all. Thanks for sharing this information. Please check our website for all new article. Audit firms in dubai

Kailey Robinson said...

Download Video Player | Windows Media Player | Best Media Player

Milan said...

Best and informative blog to read. Thanks for sharing this. KGRN audit is the one of the best and excellent audit firm in UAE. please check our website for all new article. Accounting firms in dubaihttps://kgrnaudit.com/accounting-firms-in-dubai/

Krishna Priya said...

Happy to read this article. Please check our website for all new articles. Economic Substance Regulations UAE

Amrita Bansal said...

Awesome. You have clearly explained …Its very useful for me to know about new things. Keep on blogging.

Selenium Training in Gurgaon

WordPar International said...

Very nice article. Thanks for sharing such helpful blog post.

Translation Company in Hyderabad
Voice Over Companies in India
Translation Companies in Hyderabad

Jisna said...

Thanks for sharing this wonderful information. Happy to read this. please check our website for all new article. Chartered accountants in dubai

Yashin Cletus said...

Happy to read this article. please check our website for all new article. Thanks for sharing this. Accounting Services in Dubai

Manuvel said...

Thanks for this article. please check our website for all new article. Audit Firms in UAE

Livewell Hospital said...

It's a very informative blog and I am exactly looking for this type of blog. Thank you for sharing this beautiful blog.

https://superurecoat.com/titanium-iso-propoxide/

Simson said...

Thanks to writers. Good information. Happy to read this article. Auditing Companies in Dubai

Swathik said...

Best wishes to all writers. specially or this wonderful article.Audit Services in Dubai

Glaxin said...

Thanks for this article. very useful and effective. please keep share more Bookkeeping Services in Dubai

Aptron Gurgaon said...

Thanks for sharing this Information. Salesforce Course in Gurgaon

rao77 said...



Techforce services is a Salesforce Consulting Services in Australia Specialising in delivering end to end Salesforce solutions ,Consulting, Implementation DevOps partners in australia We deliver applications and services more rapidly and reliably, but it’s more than a methodology – it cuts to the very core.Salesforce Data Analytics let us help you become a data driven organisation and ensure your data is working hard for your business This includes implementi
Techforce services in Australia
Salesforce Consulting Services in Australia
Salesforce Staff Augmentation in Australia
Salesforce Data Analytics
DevOps Partners in Australia
Managed Projects Salesforce Australia

rstrainings said...

Nice and good article. It is very useful for me to learn and understand easily. Thanks for sharing your valuable information and time. Please keep updating.








rao77 said...



Techforce services is a Salesforce Consulting Services in Australia Specialising in delivering end to end Salesforce solutions ,Consulting, Implementation DevOps partners in australia We deliver applications and services more rapidly and reliably, but it’s more than a methodology – it cuts to the very core.Salesforce Data Analytics let us help you become a data driven organisation and ensure your data is working hard for your business This includes implementi
Salesforce consulting companies
Salesforce Services
Staff augmentation companies
Salesforce integration companies
Salesforce Implementation services
Salesforce DevOps partners
Salesforce DevOps
Managed project services

Aptron Gurgaon said...

Thanks for sharing this Information. Salesforce Training Institute in Gurgaon

robin said...

Thanks for sharing this Informative content. Well explained. Got to learn new things from your Blog.
Choose ACAP, the top-rated Salesforce development company for small businesses. ACAP’s certified Salesforce developer consultants specialize in customization, migration and integration of award-winning, affordable solutions.

web24zone said...

CMS Development

workday said...

Thanks for sharing such a good and informative content to all of us.
workday integration online training
workday online integration course india

Post a Comment

 
| ,