Discussions
- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Security
- Mobile
- Force.com Sites & Site.com
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby
- Desktop Integration
- APIs and Integrations
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- AppExchange Directory & Packaging
- Salesforce Labs & Open Source Projects
- Other Salesforce Applications
- Jobs Board
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- Visualforce Development
- :
- Re: Select records from Custom object list page an...
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Select records from Custom object list page and move those to Reports.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-14-2012 12:37 PM
HI ,
I am trying to have an add to camapgin buttonon my custom object list page but unfortunately i could not do it and asked for SF help they said we can only have add to campaign func in leads and contacts .
So my Idea is to put a list button on my custom object list page which takes them to a standard report where they have ADD TO CAMPAIGN button . So i am stuck with how to take the records to the report.
If user selects MY Custom records list he has to select some of those records and then hit the button which should take to the report which those selected records , IS THIS POSSIBLE?)
Thanks
Akhil
Re: Select records from Custom object list page and move those to Reports.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-14-2012 02:21 PM
For your solution your user would need to press the button which simply directs them to the report (note you can pass parameters to the report for any filter fields you define). Once on the report the user can check the items and press the Add to Campaign button - BUT THE BUTTON ONLY APPEARS ON LEAD AND CONTACT REPORTS (for marketing users)!
Your alternative is to get someone to write a VF controller (see various posts/cookbook answers for VF pages as buttons) which implements the StandardSetController. This can then take the checked items from your list view/related list and perform the logic you require - even on a custom object.

