Displaying the records present in a lookup field as a list
I have created a lookup field called Metric Board Name for a object named Metrics.Now i need to add the records present in the metric board lookup field,one at a time, to a separate list .How can I do this? plzz help me,thanks in advance.
you can bind the list with the section which is currently blank...now on load thi slist will be empty ...now on click of add to list button, you can call a controller method and there you can add that selected element in the list and then again you can rerender the section so it will show the value instead of blank section....
Not sure if you got the solution for your problem. If not, you can try to use below mentioned code to achieve this:
page
Controller:
I have done this for Account object, you can replace it with your Matrix object.
Thanks,
Pankaj
All Answers
you can bind the list with the section which is currently blank...now on load thi slist will be empty ...now on click of add to list button, you can call a controller method and there you can add that selected element in the list and then again you can rerender the section so it will show the value instead of blank section....
Please check adn let me know if you need any help
Thanks
Sandeep
Can you plzz write the code?
Not sure if you got the solution for your problem. If not, you can try to use below mentioned code to achieve this:
page
Controller:
I have done this for Account object, you can replace it with your Matrix object.
Thanks,
Pankaj