You need to sign in to do that
Don't have an account?
krishna1
Repeat element issue
Hi,
i am creating repeat element using custom code from salesforce custom object , in this i have visible only mandatory fields. how to get the fields from custom object in repeat element custom code. please solve this
Thank you.
Hi Krishna,
Here is an example of something I did for a video repeater using a custom code element within:
<div class="gallery-item">
<div class="video-thumb">
<img class="video" alt={!VideoCaption__c} src='http://img.youtube.com/vi/{!YouTubeVideoID__c}/2.jpg'>
<a class="video-modal" href='http://www.youtube.com/v/{!YouTubeVideoID__c}?version=3&enablejsapi=1&autoplay=1'>Link</a>
</div>
<p>
<strong>
<a class="video-modal" href='http://www.youtube.com/v/{!YouTubeVideoID__c}?version=3&enablejsapi=1&autoplay=1'>{!VideoCaption__c}</a>
</strong>
<br>
{!VideoDescription__c}
</p>
</div>
How are you able to add Repeaters using the Custom Code page element? I was under the impression that it can only be done with the drag-and-drop elements like this: http://screencast.com/t/ymIcrIIIzC1
Hi Anthony,
To insert it, I clicked on the gear next to "Repeater" and added the "Custom Code" element to the Default View.
Laura
Interesting, I wasn't aware of that before. Thanks! http://screencast.com/t/VvM3tiAAY