Challenge Overview
- Update the given simple lightning app based on the requirements given below
Project background
-
Our client is looking to form a private developer pool who can help in creating / updating Salesforce apps
-
This challenge acts as a qualifier to enter a private developer pool for our client. Every participant with good submission gets a chance to join the developer pool.
-
Members of the developer pool will have access to private challenges and tasks. Don’t miss this golden chance!
Technology Stack
Prerequisites
-
To work on this challenge, Please sign up for free developer account in Salesforce using this link. If you already have a developer account, you could use it as well.
-
After login, Navigate to set up page using the url or by using settings icon in home page and clicking on Setup
-
Follow the steps here to enable a custom domain for your developer organization
-
Once the custom domain is enabled, roll it out using the steps given here
-
Your custom domain URL should look something like https://{your-domain}-dev-ed.lightning.force.com
E.g https://sharathkumaranbu-dev-ed.lightning.force.com
-
Login into workbench deployment page
-
Use the account_manager.zip file provided in the Challenge forum to deploy the account manager application to your organization
-
Once the deployment is done you will be able to access the application at https://{your-domain}-dev-ed.lightning.force.com/c/AccountManager.app
E.g https://sharathkumaranbu-dev-ed.lightning.force.com/c/AccountManager.app
Individual Requirements
Before we begin, I recommend you to check the application deployed in my organization. Credentials for login is shared in the forum. View of the application - https://snag.gy/ytFC9W.jpg
Adding pagination to the table
-
Referring to the table shown in the application, Please add pagination at the bottom of the table with options like 1, 5, 10, All. The table should display which page it’s currently showing, number of pages available, options to navigate to next, previous, first and last pages
Adding and Deleting Account
-
Buttons `Add new account` and `Delete` are dummy for now. You need to integrate the addition and deletion of accounts functionality to those buttons. You need to use `AccountsController` for interacting with Salesforce database.
-
Clicking on `Add new account` button should open up a new modal with the 6 fields already present in the table and User should be able to add valid account using the modal.
-
Clicking on `Delete` button should delete the corresponding account after getting confirmation
-
Please use toasts to display success and error messages
-
After successful addition and deletion, data in the table should refresh accordingly
Learning Resources:
-
Video tutorial on Apex
-
You could check out about Salesforce lightning component framework here
-
More videos on Salesforce development available here
Important Notes:
-
We will be using subjective scorecard for this challenge.
-
There are no Appeals / Appeals Response in this Challenge. Copilot / PM decision is final.
-
If you have any doubts, Please feel free to post it in the forum. We will be happy to resolve your queries as soon as possible.
Final Submission Guidelines
-
From User management page, Create a test user with `Standard Platform User` profile. E.g. https://snag.gy/zbaeDi.jpg. Please note that you need to use valid email to get welcome email and to set password. You could use ethereal to get a valid non-personal email for testing purposes
-
From Profile management page, Edit `Standard Platform User` profile to allow login from all IP ranges so that there is no verification code sent while I am trying to login to verify your application. E.g. https://snag.gy/ftPoKI.jpg
-
Enter your application URL, test username and password in credentials.txt file.
-
Login into workbench retrieve step, use the package.xml from the forum to retrieve the Aura and Apex files from your salesforce org
-
Zip the credentials.txt file and the zip file obtained from previous step and upload it using the Submit link
-
After submitting, please ensure that you are able to download your submission from Online Review