JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Skip to content
Gallery
Org-OS | The Source Platform
Org-OS | The Source Platform
Manifesto
TODO
Daily-Dev-Notes
Form-Generator
Architecture
Questions - Decisions
AI Instructions
Steps
Pricing
Biz-Dev-TODO
The-Source Investment Opportunity
The-Source Proposal for Small Businesses and Chamber of Commerce
Loans
Marketing
Stages of Growth
Proposal/Presentation for Foundations/Philanthropy
AI Coding Considerations
Field-Management
App Setup
MVP
Dev-Questions
More
Share
Explore
Architecture
Options - Sidebar-Links
TODO:
Need “form_type_id” to know
add
edit
view
The “href” is built at the time of saving
via sql proc OR via the API
but we should able to regen these
for when they are based on having view_id
when for table_id then it will only use the {{rec_id}} and other rec cols
so could use {{fields.rec_type_id}} (for example)
Setup the API and call in the Form Service to get the Sidebar links
could also be returned as a Handlebars template as part of the form
they are returned as complete HTML so that we can just replace the Sidebar HTML
When we Init the Main/Top-Level Form in the Form Service / form.js
then we pass in the “optionsHtml” that we then run the same handlebars
make sure that we have the “v_t_id_[v_t_id]” in the formData object to access the rec_ids for each of the view_tables
Documentation
is_rec_id_req = can be either rec specific or generic so shown on the Overview/List
when table_id = ‘config’
then it means its a generic-system-wide option
like "Regen-All"
option_types:
0: Developer - Special Options/Links
1: Sidebar - Regular
2: Sidebar - Advanced Options
3: Tabs
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
Ctrl
P
) instead.