I would like to be able to click on the card of a parent record which takes me to a LINKTOFILTEREDVIEW with a list in a table of the children. Till here it is fine. But then I want to be able to click on the Add button in this view and add new items to the same parent.
Solved! Go to Solution.
Thank you. Could you try an action expression of
LINKTOFILTEREDVIEW("Requests_Inline", [RequestHeaderID]=[_THISROW].[Row ID])
instead of your earlier shared expression
@StephenSaid wrote:
But then I want to be able to click on the Add button in this view and add new items to the same parent.
You may want to mention what issue you are facing while attempting to do so.
When I click on the Add button the record gets created but it is not related to the parent item.
Okay, thank you. Could you share the LINKTOFILTEREDVIEW() action's expression?
LINKTOFILTEREDVIEW(
"Request items",
IN(
[Row ID],
[_THISROW].[Related Requests]
)
)
Thankyou
Thank you. What is the type of the view "Request Items". Is it a simple table view?
Could you mention what is the child table name? Is it "Items"? If so, do you have a sytem generated inline view called say "Items_Inline"? Also could you mention the name and key column of the parent table?
Thanks for helping me out.
This is the ParenrtHeaders table
This is the children table
This is the Related Request Column in the RequestHeaders table
This is the system generated table view for Requests_inline
Let me know if I can provide anything else.
Thank you once again for taking the time to look into this. I really appreciate it.
Thank you. Could you try an action expression of
LINKTOFILTEREDVIEW("Requests_Inline", [RequestHeaderID]=[_THISROW].[Row ID])
instead of your earlier shared expression
I Update the action with the new expression.
The Request_Inline view opens with the correct filtered items, but when I press the New icon and create a new record, it saves without a parent.
The only time it works properly is when I click the Add text below the Related Transfers table preview.
The navigation to "Requests_Inline" should open a table summary view, not sure why a details view of the parent is showing up in your shared screenshot. Does the action not take it to an inline table view, something like below?
Could you share the latest expression you are using and also screenshot along with the view name as I have shown? The view name shows at the bottom in the editor.
I'm out at the moment.
The expression does open a table view and lists the correct records. But when I add items from that view, the new records are not linked to a parent.
The screenshot I shared is to demonstrate the two different paths on the same screen.
Okay, when you return please share the screenshots as requested and also the screenshot of the form when you tap on add.
I'm back.
So now when I click on the card, the Request Items action is triggered and the Request_Inline table opens.
Clicking on the add icon takes you to the Requests_form
Adding new items on this forms attaches the children to the form as expected.
Thank you
Thank you for the updates. Hope your issue is solved.
Please accept my apologies. I must have not saved the expression. Re visited everything and once I changed the expression it works as expected.
I'll check it properly once I'm at my station and update you.
Thanks for your help.
Sure, thank you. Please do update us.
User | Count |
---|---|
14 | |
11 | |
9 | |
7 | |
4 |