Display Opportunity, Account and Contact Details.docx
Display Opportunity, Account and Contact Details Instructions : Choose either AURA or LWC as per your choice Test Class is nice to have Please ensure that the code that you have written is project deployable ready. Please ensure relevant information like what settings are required for the assignment to work. We advise you to make assumptions if anything is not clear, however please clearly state any assumptions you would have made upfront in the beginning of the interview. Scenario:
The customer wants to have the ability to search for opportunities and contacts in a custom manner. As part of the search table, the customer expects the below fields: Opportunity Name (Text) Opportunity Description (Text) Opportunity Close Date (Date) Associated Account Name (Text) Name of most Recent Contact associated to Opportunity’s Account (Text) Contact Email of most Recent created Contact associated to Opportunity’s Account (Text) Contact Number of most Recent created Contact associated to Opportunity’s Account (Phone Number)
The customer is expecting the following functionality: Create a Search box at top of the table to search through the Opportunity Stage, Account Name or Contact Name and filter result on basis of input value. If there is any record which is not visible to the user then the contents of the same should be masked with just the first three characters viewable to the end users.
Lwc Datatable with Filterable columns:
When Search in searchbar then Showing Perticular Data in Table: