You need to sign in to do that
Don't have an account?
Btuitasi1
How to create or recreate promote button on visualforce page
I have a html customized visualforce page that displays idea records. I have successfully implemented everything, except for the promote/demote buttons. How would I put that in my page under each record displayed? I've searched the documentation, but haven't had any success.
Any help would be much appreciated!
Thanks!
Any help would be much appreciated!
Thanks!
Votes has a property called "Type", which accepts "Up" or "Down" as a value. Thumbs Up => "Up", Thumbs Down => "Down", And Votes.ParentId = Idea.Id. Just add that little bit of logic into your controller and it'll work just fine :-)
All Answers
if so, it's called "Votes": http://www.salesforce.com/developer/docs/api/Content/sforce_api_objects_vote.htm
Votes has a property called "Type", which accepts "Up" or "Down" as a value. Thumbs Up => "Up", Thumbs Down => "Down", And Votes.ParentId = Idea.Id. Just add that little bit of logic into your controller and it'll work just fine :-)
I'm having trouble constructing the extension.
Compile Error: Illegal assignment from Schema.SObjectField to Id
This points to the line: