apex:vote Example

Go to Ideas tab and create an idea.

Sample Visualforce page:

<apex:page id="thePage">
<apex:form >
    <apex:vote objectId="087U00000004ZU7"></apex:vote>
</apex:form>
</apex:page>

here "087U00000004ZU7" is id of an idea created.

Output:


Cheers!!!

No comments:

Post a Comment