Help

Re: Open a new record in its expanded layout

451 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Mariann
4 - Data Explorer
4 - Data Explorer
Hello,
 
I built an interface which allow users to add records in a list table, when they click Add record.
 
I would like to have the new records opened directly in their expanded layout, instead of creating a new line and then clicking the line.
 
Is this possible ? (Via the Add record of the current page, and even via buttons in other pages)
I can try scripts but I've never done that before so any help is welcome ! 
 
Many thanks for your help
3 Replies 3

Hmm, perhaps you could try creating a form for them to add the record, and then redirect them to the expanded layout with that record selected?

https://support.airtable.com/docs/applications-of-record-functions#enabling-form-redirects-with-reco...

@Mariann 

Yes, you can do this by using the keyboard shortcut Shift-Command-Return on Mac (or Shift-Control-Return on Windows).

Hope this helps!

— ScottWorld, Expert Airtable Consultant

Mariann
4 - Data Explorer
4 - Data Explorer

Thanks for your answers ! A form isn't working as I need to display some lookup field. 

And the keyboard shortcut is good but the users of my interface won't remember it, I would like the display to be automated. 

 

I tried this script : 

function expandRecord(record) {
console.log('Expanded Record:', record);
}

function onAddService(newRecord) {
expandRecord(newRecord);
}
But it is not working .. (it's my first script)
 
Thanks in advance for any help !