cityofaustin / atd-data-tech

Austin Transportation Data & Technology Services
17 stars 2 forks source link

[Spike] Knack Embed inside a Knack app #9404

Open ChrispinP opened 2 years ago

ChrispinP commented 2 years ago

Apps team would like to investigate the possibility of embedding a Knack app into another Knack app. Knack provides embed code based on the Knack page selected. This embed code works on external sites as exemplified with SharePoint. We imagine this will work similarly to a web map iframe that we use in several apps where it will need both an iframe to live in and some JS to populate the iframe with the embed code.

This solution would provide us the ability to:

image

Sample Embed Code: <script type="text/javascript">app_id="5815f29f7f7252cc2ca91c4f";distribution_key="dist_3";</script><script type="text/javascript" src="https://loader.knack.com/5815f29f7f7252cc2ca91c4f/dist_3/knack.js"></script><div id="knack-dist_3">Loading...</div>

amenity commented 2 years ago

@ChrispinP - going to move this to "Needs scoping" and unassign Chia and Mike. :)

amenity commented 2 years ago

You can add it to a product sync agenda here: https://docs.google.com/document/d/1hWzg-qluRBrTetEGjg_eHrR9qT4IqenaUgk6FR6APbU/edit#

amenity commented 2 years ago

@ChrispinP - what type of Dev support did you envision here? When were you planning to try this out?

ChrispinP commented 2 years ago

@amenity Would require iframe code and JS code to render the embed code. We are flexible and I can do any of the testing anytime.