My use-case: I am using miniExtension links to automatically register people for events when they click a button in a list. I am able to pass the event name to the miniextension form through the table that is linked to the list, but have yet to figure out how to auto-populate the logged in user’s information. The form is not an embedded form, but rather the button is an external link-out to the form.
@alinasig and @howlec The script here, if added into page settings custom code header area will replace {LOGGED_IN_USER:EMAIL} text with user’s email address in the links
Hi @Suzie ,
Thanks a lot for your answer.
I thought about this solution, but it does not work in my particular case.
Actually, i would like to create a learning peer system :
Each user can create his list of “learning journeys”, in his profile.
The user can access to a list of peers.
The user can select a peer. In the peer detail page, the user will have the choice to contact the peer for one of his own “learning journey”.
So, the goal is to get both : the ID of the “learning journey” AND the ID of the peer (the List Details page)
dbayless, thanks much, this was very helpful for me. I need to pass userID when calling a Tally pop-up Form from buttons on both CTA blocks and List Details blocks. Your code from a few weeks ago allows that without having to call a stand-alone page just for a script. If I have to call a separate page for a script it kind of defeats the purpose of a pop-up. I can put the userID right into the static URL from a CTA button. At least it worked on one page, but now it doesn’t seem to work anymore from a different page! (Put your code into site-wide footer). Maybe an issue with timing before full page load? Not sure.
However, it doesn’t seem to work on a List Details block when the button is calling a URL from an Airtable Field, there seems to be no way to call a static URL from a List Details button it seems. And your code doesn’t seem to affect the href link brought back from Airtable for the button press. Any thoughts from anyone?
I’ve successfully managed to pass logged in user info to a Tally URL, thanks to your recommendation @artur
It worked for user names, recordID and emails but I am struggling to find a way to make it work for other Airtable fields as well. In my Airtable user table, there are two fields I would like to include in the script - “City” and “School” - but it’s not working.
Thanx this worked very well for me when the url was opened in a tab, but… when i opened the url in a modal window it failed to replace ‘{FIELD}’ placeholder.