This message was deleted.
# questions
b
This message was deleted.
r
Create a view from the table associated with the record of Company. Have it display only a single record, and enable roles/permissions so that users see only the dashboard belonging to their company. On that detail page, have a link to a related column or some view that lets you add a record to the sheet that houses your upload form. Stacker will autogenerate the links that’ll prefill based on the company, as long as you navigate from the company detail page to the form. You’ll also be able to see the URL that is used for that form, and theoretically display that in a button banner.
m
Ok, so let me see if I understand this. So use a Banner button to navigate to the upload-documents page. Stacker will autogenerate the company part of the form? Do I need to have that Comapny Name field displayed on the form? Or will it add the company name when I “upload” the document and pushes to airtable?
r
The critical part is having the upload form being 'invoked' from a page that is generated from the Company table
m
Ok, so: 1. remove the “Upload Trip Sheets” from my navigation bar. 2. Add a button on the Company Detail page instead. 3. Make the link for the button go to the form for the upload trip sheet page, do I need to pass in a parameter with the URL?
autofill__company_name=whatever
? Or will Stacker do this for me regardless?
r
You shouldn't need to pass the parameter if the arrangement is set up in the way I described, but I perfectly recognize that my instructions were not super clear lol
If it's setup 'correctly' then when someone hits "Add new" you should see the company autofill in the resultant form
m
Haha, no that was super helpful. I will see if I can get that working. I actually like that setup better anyways. They don’t need to see the documents that they’ve uploaded, once it’s uploaded, they’re done.
🙌 1
@rapid-state-99797 I’ve gone through this and something is not quite clicking. Is there anything I need to do in Airtable to get it setup right? Or is it all done in Stacker?
On that detail page, have a link to a related column or some view that lets you add a record to the sheet that houses your upload form.
This part is confusing me. When you say “have a link” is this a button? If so, what kind? An action button or a banner button? I’ve tried both and nothing seems to work. I was sent an article on Stacker about this and they suggested I added a new column, using a formula create a URL with the company record. I’ve done that and now I don’t know what to do with that. How do I turn a stringified formula into a button?
@rapid-state-99797 Ignore that. I FINALLY got it. My goodness. haha. Thanks for the help.
🙌 1