Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<head>
<style>
body {background-color: #F7F9FB}
div {
font-family: verdana;
background-color: #ffffff;
box-shadow: 1px 1px 0px #D8DDE6;
width: 400px;
@stvnhg
stvnhg / Flexipages.cls
Last active April 8, 2021 19:50
Flexipages
<!-- Listview component -->
<componentInstances>
<componentInstanceProperties>
<name>entityName</name>
<value>Here you put the name of your object, for example Account</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>filterName</name>
<value>Here you put the name of your list view</value>
</componentInstanceProperties>
@stvnhg
stvnhg / gist:8096468
Created December 23, 2013 12:41
Flexipages: The 2 available components
<!-- Listview component -->
<componentInstances>
<componentInstanceProperties>
<name>entityName</name>
<value>Here you put the name of your object, for example Account</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>filterName</name>
<value>Here you put the name of your list view</value>
</componentInstanceProperties>
<apex:component layout="none" controller="ABSI_DEMO_rmjsmustacheController" >
<!-- mustache templates -->
<script id="itunes-search-results" type="text/html">
{{#results}}
<h3><img src="{{artworkUrl30}}" height="30" width="30"/> {{trackName}} - {{artistName}}</h3>
<div>
<div class="dataWrapper">
{{#artworkUrl100}}
<p style="width:100px; height:100px; float:left; margin-right:10px;">
<img src="{{artworkUrl100}}" height="100" width="100" alt="" />