Tuesday 26 April 2016

Lightning Locker Service Salesforce

Summer 16 pre-release notes are out from salesforce and one of the most important featuresis Lightning Locker Service for Lightning Components.

Here is a very detailed article on how this feature  works under the hood .The article Highlights the key security features that this feature will enforce on the components.

The biggest benefit from an ISV perspective will be ability to scan the component before you submit your component for the security review.

Salesforce also released a CLI tool for all partners and app developers to run scan locally on the lightning component to discover potential security issues or unused variables and enforce security best practice and code best practice.

In this blog I am gone to detail step by step instructions on how to Install the Salesforce Lightning CLI and Scan your components before submitting for appexchange or handing off your lightning component code to your client.

Step 1 - Heroku Installation

Depending on your OS version one can install the Heroku  toolbelt on your machine .The URL for the download is below


Step 2 - Login via Command Line 

Once you install ,you can use your Heroku credentials to login in .If you have not signed up for heroku ,you can sign up for one online 

Step 3 -Install the Lightning CLI Plugin.

This can be installed by running following command once you login into heroku CLI

heroku plugins:install salesforce-lightning-cli

Step 4 -Navigate to your project path where you have your lightning component project on your local drive.

If you are on windows simply CD into the project path with cd /.path

Step 4 - Run the CLI command to find Issues

heroku lightning:lint .

You can get rid of unused variables and resolve bunch of errors .

Read further on this in below link


Lets not just stop here ,there is a nice little documentation put together where you can add your own customized rules 

Here is the link to the documentation


Please note that Salesforce Safe Harbour Statement applies to this post and you should not make any buying decision on forward looking statements and instead make purchasing based on current offerings of the platform .


  1. Hi nice article on Salesforce Locker&Lightning
    easy to read and implement 
    we have a similar post about Lighting called Locker Services and Lightning Components go through this you will and find more valuble information.

  2. Great! Awesome post, tried it worked as expected salesforce lightning training

  3. Nice blog! the content which is mention in this blog is really understandable and informative. If you are looking best electrician please click here Emergency Electrician Bella Vista

  4. Getting your hands on this high tech security gadgets does not cost a fortune today. With ease of installation and portability they offer a lot of features that appeal to all classes. CCTV Cameras are so beneficial in both personal and professional sectors that you will want to benefit from it right away. cctv camera

  5. Are you looking for a great way to protect your home or place of business without having to spend a lot of money? Well, one of the best ways to do that would be using Dummy CCTV cameras. These are cameras that look real, but they are really just fakes. บริษัทรับติดตั้งกล้องวงจรปิด

  6. it’s very helpful thanks for your valuable information follow us
    salesforce cpq online training Hyderabad

  7. Stretching: Passive stretching female to male massage home service near me techniques help improve flexibility and relieve muscle tension.

  8. Explore the world of soothing massage parlour near me treatments to couples' sessions, discover the perfect massage center for you.

  9. . The pain gate theory states that body to body spa bangalore non-harmful stimuli (massage) can block harmful stimuli (injury/inflammation) from transmitting impulses up the spinal pathway to the brain.

  10. Thanks For Sharing this valuable information good Home Lockers

  11. Finding the perfect massage parlour is crucial for those seeking a moment of relaxation and relief from life's stress. In this guide, we will explore the finest options available when you search for a female to male massage near me

  12. Immerse yourself in a symphony of scents and sensations as steric massage Oil unfolds its aromatic embrace by female to male massage near me

  13. If you are looking for relief from tension, stress or simply wish to relax with a male-female massage, the massage spa in chennai therapists are dedicated to providing a memorable experience.

  14. In the vibrant ecosystem of YouTube in India, buying subscribers serves as a smart acceleration tactic for creators eager to carve out their niche and stand out. This strategy provides an immediate boost, propelling channels into a visible spectrum where authenticity meets opportunity. The resultant subscriber base becomes a beacon of credibility and attraction, making the channel a hub for engagement and organic growth. This approach not only fast-tracks the monetization process but also lays down a fertile ground for diverse and lucrative collaborations. Enabling creators to bypass the slow grind of organic growth, it allows them to focus on what they do best: creating compelling content. With the support of a substantial subscriber count, Indian YouTubers are better positioned to captivate the global audience, turning their creative passions into profitable careers. This method is not just about numbers; it's about establishing a solid foundation for long-term success in the digital realm.

  15. The pressure applied in a massage may improve blood circulation. This can then transfer oxygen and nutrients to cells in a more efficient manner and improve overall well-being and health.
    b2b spa in chennai

  16. Lasik surgeons in Delhi are amongst the most esteemed professionals in the field of ophthalmology, known for their expert proficiency in performing vision correction surgeries. These surgeons, with their extensive training and experience, utilize the latest laser technologies to ensure precise and safe procedures. They work within state-of-the-art medical facilities, where patient comfort and care are prioritized above all. Each surgeon adopts a personalized approach, tailoring the Lasik procedure to match the unique needs and conditions of the patient, aiming for optimal outcomes. Their dedication to excellence is reflected in the high success rates and positive patient testimonials. The surgeons are not only committed to achieving the best possible vision correction but also to the thorough pre and post-operative care of their patients. Opting for a Lasik surgeon in Delhi means placing your trust in a professional who is part of a broader commitment to enhancing patients' life quality through improved vision.

  17. Buying real YouTube subscribers represents a strategic investment for creators aiming to authentically grow their channel's audience. This approach involves engaging with a service that helps increase your subscriber count with actual users, as opposed to bots or inactive accounts. Real subscribers bring genuine engagement to your content, increasing likes, comments, and shares, which, in turn, boost your channel's visibility and credibility. This method not only enhances your channel's metrics in a legitimate manner but also complements YouTube's algorithm, promoting your content to a wider audience. While more costly than purchasing cheap, generic subscribers, investing in real subscribers offers long-term benefits, contributing to sustainable channel growth. It's a crucial step for creators serious about building a loyal community and achieving lasting success on YouTube.

  18. Buy YouTube Views Cheap offers an affordable entry point for content creators seeking to enhance the apparent popularity and visibility of their videos without a hefty investment. This service targets budget-conscious individuals and small-scale creators, providing them with a cost-effective means to boost their video's view count. By attracting a higher number of views at a lower price, it can potentially improve the video's ranking and visibility in YouTube's algorithm, leading to increased organic growth over time. This service operates within YouTube's terms of service, ensuring that creators can safely enhance their video metrics without risking penalties. Ideal for those starting out or looking to experiment with the impact of view counts on video performance, Buy YouTube Views Cheap represents a strategic step towards greater digital visibility and audience engagement.

  19. Discover an unparalleled opportunity in Singapore for Indian nurses seeking to advance their careers on an international stage. Our leading healthcare institutions are now hiring for various specialties, including critical care, oncology, and community health. Successful candidates will enjoy a competitive salary, comprehensive benefits, and a multicultural workplace that prioritizes inclusivity and professional development. With access to cutting-edge medical technologies and continuous learning opportunities, you'll be at the forefront of the nursing field. Furthermore, Singapore's fusion of modern lifestyle and cultural diversity offers a unique living experience, complementing your professional growth. Join us to make a significant impact in patient care and take your nursing career to new heights in one of the world’s most vibrant cities.

  20. Breast cancer oncologists in Mumbai are renowned for their specialized knowledge in the medical treatment of breast cancer, employing state-of-the-art chemotherapy, hormone therapy, and targeted therapy protocols. Their expertise extends to creating personalized treatment plans that consider the unique genetic makeup of each patient's cancer, thereby optimizing outcomes. These oncologists work within a multidisciplinary team, ensuring a cohesive approach to patient care that encompasses both cutting-edge medical treatments and psychosocial support. They are committed to advancing the field of oncology through research and the integration of new therapies that promise improved survival rates and quality of life for patients. The focus on continuous education and patient awareness drives these specialists to host regular workshops and seminars, empowering patients with knowledge about their condition. In a city known for its advanced healthcare, these oncologists stand out for their compassionate care, dedication to patient outcomes, and leadership in the battle against breast cancer.

  21. In the vibrant city of Ahmedabad, a Pancreatic Cancer Specialist is at the forefront of battling one of the most challenging cancers with unmatched expertise and dedication. This specialist's approach to treatment is both innovative and personalized, ensuring that each patient receives cutting-edge care tailored to their specific condition. With a deep commitment to incorporating the latest research and advanced technologies into their practice, they are pioneering new ways to combat pancreatic cancer more effectively. The specialist also places a high emphasis on holistic care, offering patients comprehensive support that addresses not just the physical aspects of the disease but also the emotional and psychological challenges that come with a diagnosis. Their active involvement in global research networks allows them to bring novel therapies and hope to those in need. Esteemed for their empathy and patient-centric care, this specialist is not only changing the course of pancreatic cancer treatment in Ahmedabad but is also a source of strength and hope for patients and their families in their fight against this devastating disease.

  22. The Breast Cancer Oncologist in Gurgaon is a luminary in the treatment of breast cancer, employing a multifaceted approach that encompasses the latest in oncological research and therapy. With a steadfast commitment to excellence, this oncologist utilizes cutting-edge technology and techniques to tailor treatments specifically to the individual needs of their patients. Their expertise is matched by a profound compassion, offering not just medical treatment but emotional support, enabling patients to face their diagnosis with courage and determination. Known for their innovative strategies, they remain at the vanguard of medical science, constantly seeking out new methods to improve outcomes and enhance quality of life. This oncologist's approach is grounded in a belief in the power of a patient-centered care model, one that fosters hope, promotes healing, and supports patients every step of the way. They are not only a celebrated figure in Gurgaon's medical community but also a beacon of hope for those affected by breast cancer, dedicated to transforming the cancer treatment landscape with unparalleled care and precision.


Introducing Lightning Base Components

Lightning Base Components are great addition to the platform and in fact revolutionary .One of the concerns around lightning component ...