Salesforce IdeaExchange
User Experience Comments
| User Experience Ideas
|
Apex and Visualforce Comments
| Apex and Visualforce Ideas
|
Industry Solutions Comments
| Industry Solutions Ideas
|
Force.com Platform Comments
| Force.com Platform Ideas
|
Nonprofit Comments
| Nonprofit Ideas
|
Delivered Ideas Comments
| Delivered Ideas Ideas
|
Release Winter 09 Comments
| Release Winter 09 Ideas
VisualForce for List Buttons
I want to create List Buttons in VisualForce not S-Controls. To allow for mass action, I need access to the GETSELECTEDIDS function and I can't seem to do that easily in VisualForce.
7 Comments » Posted by steve_andersen
Posted 06/25/08
Categories: User Experience, Apex and Visualforce, Industry Solutions, Force.com Platform, Nonprofit, Delivered Ideas, Release Winter 09
|
Scott_Jorgensen 06/26/08 |
You've got a great idea here... Also, here's a workaround: 1) Set the button to point at a URL that is the URL for your Visualforce page and pass the ID of the record in that URL 2) Write a Controller in Apex in support of your Visualforce page that makes a query using the ID that you passed to get the same results you would have gotten from "GETSELECTEDIDS" in an S-Control. |
|
mtbclimber 07/25/08 |
Changed status to Ideas Under Consideration. |
|
mtbclimber 08/23/08 |
Changed status to Coming in Winter 09. |
|
hpPMO 09/01/08 |
Will I be able to create a List button on Campaign object for related CampaignMembers? |
|
goforcego 09/16/08 |
Scott, I am not sure how the workaround works. It might work if you are trying to add a "Related List" button on a detail page. But how would it work for a listView on a tab? Can you clarify. Let's say I want to add a "Mass Edit" buttons to the list view of Accounts and have VF page/controller. I am trying to follow your two steps above: 1) Set the button to point at a URL that is the URL for your Visualforce page and pass the ID of the record in that URL What Id are you talking about here? There is no specific Account ID ? The id you want to transfer is that of the specific list view that is currently being show (e.g All North America Accounts). 2) Write a Controller in Apex in support of your Visualforce page that makes a query using the ID that you passed to get the same results you would have gotten from "GETSECTEDIDS" in an S-Control. Again, what ID are we talking about? If it is the list view ID, there is no table exposed in SFDC to get the elements of a list view ID. |
|
mtbclimber 09/30/08 |
goforcego, you are *really* better off waiting until winter '09 for the new standard controller capabilities. Check out the new documentation and the release notes. Doc: http://www.salesforce.com/us/developer/docs/pages/salesforce_pages_developers... Release Notes: http://na1.salesforce.com/help/doc/en/salesforce_winter09_release_notes.pdf |
|
marilynl 10/14/08 |
Changed status to Delivered. |
Please log in to post a comment
recently promoted by:
- KevinEdelmann
- ehren.foss08062008
- joe_vela
- sham
- avlerik
- radliberty
- Scott_Jorgensen
- Faun
- AlexCRMmanager
- goforcego
- hpPMO
- mckinnmd
- jtasaki1
- razor
- rafaelvander
- mdfic
- craskulinecz
- sbwvaices
- ptognini
- bryan_graham
- acmegx_acmegx
- 10/10/2007_5:51
- Jakester
- ejw
- Francesco23
- li_tan
- Heros
- LMD
- merial
- Rusty12
- njdevilsfan
- CM@affy
- david_manelski
- timrnichols
- gemini@work
- vw
- mark2008
- joeygray
- lisaglasskornstein
- sandrags
- hudini3
- benjkamm
- EricCH
- changeagent
- eric_fain
- sparky
- steve_andersen