Click here to Skip to main content
14,984,032 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am looking to import html formatting from sheet to custom cards however it is not being read on our custom html format on the cards, despite working on the default html code. What can we do to make it work?

What I have tried:

Our Fusion Tables 'Custom Cards' code:

{template .contents}
    <div class='googft-card-view'
    enter code here`style='font-family: sans-serif;
    width: 450px;
    padding: 4px;
    bfuorder: 2px
    solid #ccc;
    overflow: hidden'>


    {if $data.formatted['Insurance ID']=='Warranty'}
     ID']}  <br>
    {if $data.formatted['Insurance ID']=='Insurance'}
   {if $data.formatted['Insurance ID']=='Oliver'}
   ID']}  <br>

   {if $data.formatted.Date}
   Date:  {$data.formatted.Date}<br>

   {if $data.formatted.Name}
   Name:  {$data.formatted.Name}<br>

    {if $data.formatted.Name}
    Serial Number:  {$data.formatted.Serial} <br>

    {if $data.formatted['Repair ID']}
    Repair ID:  {$data.formatted['Repair ID']}<br>

   {if $data.formatted.Problem}
   Problem:  {$data.formatted.Problem}<br>

   {if $data.formatted.Barcode}
   Barcode:  {$data.formatted.Barcode}<br>

   {if $data.formatted['Oliver Notes']}
   Notes:  {$data.formatted['Oliver Notes']}<br>


The default 'custom cards' code

   <div class="googft-card-view" style="font-family: sans-serif; width: 
 450px; padding: 4px">
   Date: {Date}<br>
   Job ID: {Job ID}<br>
  Insurance ID: {Insurance ID}<br>
  Name: {Name}<br>
  Serial: {Serial}<br>
  Problem: {Problem}<br>
  Case ID: {Case ID}<br>
  Repair ID: {Repair ID}<br>
  Oliver Notes: {Oliver Notes}
Updated 29-Mar-17 16:45pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900