function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
bhanu_prakashbhanu_prakash 

Urgent : Need to create a vf page and need to open account contact opportunity case

I need to create vf page contact 4 checkbox as
Create new account
Create new contact
Create new oppournity
Create new case 
and  next button. If i select any one button need to open create a new acccount/contact/oppournity/case along with search functionality induvidaly ?

How can i acheive it . Bit Urgent Plz




 
Dev_AryaDev_Arya
hi bhanu,

did you mean, on checking any of these checkboxes, the respective record should be created?
this is one simple example to understand. u need apex:actionFunction.
https://salesforce.stackexchange.com/questions/135851/how-to-call-a-controller-method-from-jquery-javascript

I didnt get what you meant by search functionality. could you elaborate.
Cheers, Dev
 
WEN JIEWEN JIE
As my understanding, when you choose each one of them and click next button, you will know which record you want to create, then you can go to a new page (standard/custom) for corresponding record.
What do you mean the "along with search functionality induvidaly" ? Do you mean the global search function?

BR
Wenjie