html - Changing Fusion Table Card Layouts Programmatically -


while creating staff database using fusion tables , google apps script, trying leverage existing fusion tables ui as possible. cards have been useful looking way can programmatically change layout.

for each entry in database, user can upload relevant documents , attach them entry. files stored in google drive , link document stored (as html string) in 1 of database fields. here simple image of may , layout code make it.

the problem uploadable files (and fields) dynamic. user can add or redefine fields through ui , need full list of available files on each card adapt accordingly don't have manually configure layout each time. how can create list of links on card?

other background info:

  • the fusion table view only. haven't figured out way validate data entry in fusion table ui data entry done programmatically , in custom ui.
  • i understand current method not robust , open other ways of providing access these files through card. i've toyed idea of having general html field each entry programmatically created display want. i'm hoping there's better way.

p.s. i've been struggling reputation limitations posting links , images. if think i'm reputable, please me out.

the problem uploadable files (and fields) dynamic. user can add or redefine fields through ui , need full list of available files on each card adapt accordingly don't have manually configure layout each time. how can create list of links on card?

i may not following, sounds app can change schema each user? that's sample info window html seems show. require separate table each app user. if that's not case i'm not clear how using term "field".

in case, fusion tables api allow change template contents, may solve problem: https://developers.google.com/fusiontables/docs/v1/reference/template


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -