Help

Gantt share view embed code default to "today"

95 0
cancel
Showing results for 
Search instead for 
Did you mean: 
MFAB
6 - Interface Innovator
6 - Interface Innovator

Is it possible to edit the <iframe> embed code for a shared Gantt view eg:

 

<iframe class="airtable-embed" src="https://airtable.com/embed/........?backgroundColor=red" frameborder="0" onmousewheel="" width="100%" height="533" style="background: transparent; border: 1px solid #ccc;"></iframe>

 

to assign the date range button to select "Quarter" with the "Today" button action selected.  Currently when I go to the url where the view is embedded it defaults to the "Quarter" date range but for Q2 2022 which is two quarters before any of the dates listed in the view.

What it currently shows:

MFAB_1-1680203625946.png

What I would like it to show:

MFAB_0-1680203566502.png

Here's the date range "Quarter" option selection HTML copied from the developer console

 

<option value="{&quot;notUndefinedValue&quot;:&quot;oneQuarter&quot;}">Quarter</option>

 

And here's the "Today" button HTML

 

<button class="white grayLight2-hover stroked1-inset text-darken4 strong events css-1tcoxyv" type="button" style="opacity: 1; position: relative;">
<span class="css-8uhtka">Today</span>
</button>

 

 @kuovonne I trust you would know if this is or isn't doable.

0 Replies 0