You need to sign in to do that
Don't have an account?
Neema Gudur 8
Adding links to custom rich text area on an object
Hello,
I have the following requirement.
Create a custom button on the opportunity object. The opportunity object has custom fields (street,city,state,zip,country)When the button is clicked , open a visual force page in a new window and display the address information on the page.
I could pass the address values as parameters to the new window. The visual force page also has a button 'Search'. When the search button is clicked, it will search for opportunities within a mile and display results in a page block table with checkboxes next to each row. Each row in the table has opportunity name and other columns The user should be able to select the checkboxes and clicking Ok, should include the Opportunity name as links in a custom rich text field on the opportunity.
I am trying to figure out the best possible way to pass the opportunity id's/names from the visual force page to the opportunity page when the user selects the checkboxes and clicks OK.
Any help is highly appreciated.
I have the following requirement.
Create a custom button on the opportunity object. The opportunity object has custom fields (street,city,state,zip,country)When the button is clicked , open a visual force page in a new window and display the address information on the page.
I could pass the address values as parameters to the new window. The visual force page also has a button 'Search'. When the search button is clicked, it will search for opportunities within a mile and display results in a page block table with checkboxes next to each row. Each row in the table has opportunity name and other columns The user should be able to select the checkboxes and clicking Ok, should include the Opportunity name as links in a custom rich text field on the opportunity.
I am trying to figure out the best possible way to pass the opportunity id's/names from the visual force page to the opportunity page when the user selects the checkboxes and clicks OK.
Any help is highly appreciated.
1) When click search, ID is passed with no extra work
2) When click SAVE, you fire a Controller method and save the data as you want it.
Makes sense?
If so, please mark as best solution!
The best way to pass the value from the VF page to the controller for you selection would the use of wrapper classes.
Pseudo code below :
Let me know if this helps.
Either through jquery or a totally custom thing in your controller.