Which would mean that Choice component is targeted at a User Specific column, yes?
Assuming yes, then all you need to is write a value into that column as the screen is opened. That is, change the default item click action to a custom action that first does a set column values, and then a show details screen.
Yes, but where is the selected choice being written to?
What I was getting at earlier is that to set the default, all you need to do is write the appropriate value into the target column of your choice component as you navigate to the parent screen.
Firstly there is detail page as you seen in screenshot above → it has value coming from “Table 1” -----> it has the title as circled above.
Secondly the same detail page as a container which has another list view component which has values coming from “Table2” ----> it has circle as circled below.
While title exists in Table 1. Same Title may or mayn’t be in Table 2.
Meaning I write values to Table 2 Via the form entry I do in the second container present in the detail page.
To answer your question the choice which takes value as per title from top circled portion is written to Table 2
This should happen only when filing the form. Not when clicked on Listview item.
Can you create a single relation from table 1 to table 2?
If yes, you can write the value via that relation as you enter the screen that sits on table 1.
Referring to your very first screenshot, there is a back arrow at the top left.
Click on that arrow to go back.
I assume that will take you back to a collection.
On that collection there will be an Item Click action - most likely Show Details Screen → This item
Change that action to a custom action.
Step 1: Set Column Values → Single Relation → Creator Name → User Specific Column (the one the choice writes to)
Sharing my screen recording with you for reference.
The first screen is the listing screen —> When I click on the list view items it takes me to Detail page which has title coming from Table 1
Now if you see in detail screen there is a + button next to “Brand Conversation” title when I click on the plus button it should take the title from the Table 2
It is a new component added thus referencing things table 2
My single relation column is in Table 1
Plus when I create custom action, My Choice component is not shown where I can set the value. Any specific reason?
arrrg - it’s not a Custom Form at all. All this time I’ve been assuming that it was.
Okay - different approach needed.
Create a column in your User Profile row to hold a temporary value, then write the name into that column as you enter the first screen. You should then be able to use that as a default value in your Form.
I got it to work for one of the apps. This app is writing to Text field.
The other app is connected to airtable and column to which the selected value is written is a “Link to another table” data type. It doesn’t let me select default value.