• Vaibhav Babrekar
  • NEWBIE
  • 10 Points
  • Member since 2022

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 10
    Questions
  • 9
    Replies
Generic Record Creation Engine
1.The third party system will create events in a system to create any SObject's records
2.There will be a field will hold the JSON of the record & the object name.JSON : {Name : Eternus Solutions}Object Name : Account
3.So create a process which will execute per minute & process the Event's records creating the respective SObject.
Removal of Duplicate Leads
1.During the Campaigning, it might happen that representative creates duplicate leads in an org.
2.So admin want to build a process which will run every 3 hours/day & remove the duplicate leads from the org.
3.The criteria to find the duplicate records should be configurable.Ex. If there are two leads in a system with same Email address,then keep the first lead entry & remove all the other leads.
4.So the field like Email, Name which will be deciding the uniqueness should be configurable.
Create a Visual Force page. This page should display two picklists, one for Country and another for City. Initially city picklist should not display any value; instead it should be dependent upon Country picklist. So when user selects a particular country then City picklist should load all the citiescorresponding to the selected country.
Create a new link to delete the account. On clicking the link, the account should be deleted using VisualForce Remoting. On successful deletion, an alert should be displayed on the page stating “The account has been deleted”.
Create an Account Record with Name = “ABC”. Create associated contacts. Create aCustom field called Contact Count on Account. Query on Contact where Account.Name =“ABC” and count the associated contacts. Update the custom field on Accounts with thatcount.
1.The accounts manager should be able to view a list of all the accounts present in my organization. Develop a VF page for the same. The columns that should be present on the page are:a.Account Nameb.Email addressc.Phone numberd.Websitee.A button named “Manage Contacts”On clicking the account name, he/she should be redirected to the account detail page. Also on clicking the website of the account, he/she should be taken to the same in a new tab. Generate a table for the same. Use standard Visualforce table components.
2.The account manager now wants the function to search for a particular account from the account list page. Add a textbox to the top of the VF page that will take the account name. Add a button as well that will perform the search on the accounts and display the results accordingly. The count of the accounts should also be updated. The search should also be performed on pressing the enter button on the keyboard. If nothing has been entered in the textbox, a message should be displayed stating that “Input at least 3 characters to perform search”. The results of the search should be displayed without refreshing the page. Also add a link to clear the search results.
3.Implement “alphabetical search” on the accounts page. The page should contain a strip of all the alphabets on the top. On clicking the alphabet, the account list should be refreshed without reloading the actual page. Hint:Use apex actionFunction for the same.
4.Create a new link to delete the account. On clicking the link, the account should be deleted using VisualForce Remoting. On successful deletion, an alert should be displayed on the page stating “The account has been deleted”. Figure out the advantages/disadvantages of using VF remoting in this scenario.
5.Store the script of the VF remoting in a JS file inside a zip file. Upload that file to the static resources and include the same in your page.
6.Get an image for the header of your page. Add that image to the static resources. Add the header to the pageHint: Use the download link
7.Write the test classes for all the custom controllers and extensions that you have used in the application. Follow best practices for the same.Create a utility class for generating the test data. Make sure you cover all the test scenarios. Focus on covering the scenarios rather than code coverage. Use meaningful asserts.
1.We need to develop a two-step wizard to update account information and manage attachments related to the account.
2.Take a custom button and place it on the detail page for account.
3.On click of the button, a Visualforce page should be opened.
4.The page should display the account details in a page block and display the related attachments in page block below it in tabular format.
5.The table showing the attachments should have link to delete an attachment record.
6.The page consists of Edit button and on click of which a two-step wizard should be opened.
7.On the first step of the wizard, the details of the account should be shown in edit mode and on click of the next button, page should navigate to the second step.
8.On the second step, a browse button should be shown so that user can browse for a file and upload it as an attachment.
9.The account details entered by the user and the uploaded file using browse button shouldbe saved on click of save button the second step.
Create a custom object called as 'Logs'. Create a long text area field called as 'Error'. Create 100Lead records using DML operations having a unique name. For all records which were not inserted intoLead object, insert a record in Log object along with the reason why a record was not inserted. Also,execute assignment rules to auto allocate Lead records to correct owner.
I want to sort the elements of a list in ascending order by using the quick sort algorithm. 

Thanks in Advance
ABC Containers require the ability to automatically associate a Contact created in their Salesforce Instance with the respective Account based on the email domain specified in the primary email address of the Contact. The association should happen real time as soon as a Contact record is created within the system.
TODO
•Ensure all the discussed implementation best practices are followed.
•Develop the necessary piece of Apex code to implement a solution for the given problem statement.
•Develop the necessary Test code to attain the right code coverage (minimum 90% with at least 4 test cases)
Create an Account Record with Name = “ABC”. Create associated contacts. Create aCustom field called Contact Count on Account. Query on Contact where Account.Name =“ABC” and count the associated contacts. Update the custom field on Accounts with thatcount.
1.We need to develop a two-step wizard to update account information and manage attachments related to the account.
2.Take a custom button and place it on the detail page for account.
3.On click of the button, a Visualforce page should be opened.
4.The page should display the account details in a page block and display the related attachments in page block below it in tabular format.
5.The table showing the attachments should have link to delete an attachment record.
6.The page consists of Edit button and on click of which a two-step wizard should be opened.
7.On the first step of the wizard, the details of the account should be shown in edit mode and on click of the next button, page should navigate to the second step.
8.On the second step, a browse button should be shown so that user can browse for a file and upload it as an attachment.
9.The account details entered by the user and the uploaded file using browse button shouldbe saved on click of save button the second step.
I want to sort the elements of a list in ascending order by using the quick sort algorithm. 

Thanks in Advance
ABC Containers require the ability to automatically associate a Contact created in their Salesforce Instance with the respective Account based on the email domain specified in the primary email address of the Contact. The association should happen real time as soon as a Contact record is created within the system.
TODO
•Ensure all the discussed implementation best practices are followed.
•Develop the necessary piece of Apex code to implement a solution for the given problem statement.
•Develop the necessary Test code to attain the right code coverage (minimum 90% with at least 4 test cases)