Deep Links = Deep Confusion... Help!

Iโ€™m having a hard time figuring out deep links even after reading relevant documentation. Could use some assistance. Hereโ€™s the structure and workflow:

Parent Table/Form - โ€œTimecardโ€
Child Table/Form - โ€œFleet Inspectionsโ€

In the parent โ€œTimecardโ€ form the employee enters whether they operated fleet that day. If they did, they have to enter the โ€œFleet IDโ€ and โ€œStart Milesโ€ in the โ€œFleet Inspectionsโ€ form via nested form.

At the end of their shift, they have to enter โ€œEnd Milesโ€ to that days fleet inspection. They click on their timecard in a table view which takes them to a detail view of that days timecard. I want to add an action button to that detail view which will take them directly to the โ€œFleet Inspectionsโ€ row related to that particular timecard entry, so they can enter โ€œEnd Miles.โ€

Iโ€™ve tried a couple of variations of โ€œLINKTOโ€ฆโ€ with no success. Any guidance and/or explanation would be greatly appreciated. Thank you!

0 7 676
7 REPLIES 7

Steve
Platinum 4
Platinum 4

If you want to go to a particular existing row, use LINKTOROW(). Youโ€™ll need to know the key column value of the row you want the user to visit, and the name of the view that will display the row.

Steve, thank you. I tried the following expressions, but they take me to a blank form and not the โ€œFleet Inspectionโ€ form related to the โ€œTimecardโ€ entry:

LINKTOROW([Date/Timestamp], โ€œFleet Inspection_Formโ€)
LINKTOROW([_THISROW].[Date/Timestamp], โ€œFleet Inspection_Formโ€)

Hereโ€™s how my info is set up:

Key column value for the Parent table โ€œTimecardโ€ is [Record ID]
Key column value for the Child table โ€œFleet Inspectionโ€ is [Date/Timestamp]
View I want to navigate to is called โ€œFleet Inspection_Formโ€ and is a Ref view

The action is on a Detail view of the parent table โ€œTimecardโ€. I want the action to take me to the โ€œFleet Inspectionโ€ row related to the Parent tableโ€™s โ€œTimecardโ€ entry.

What am I not seeing? Thank you!

Steve
Platinum 4
Platinum 4

Does a fleet inspection row with the given timestamp key value already exist? If not, LINKTOROW() wonโ€™t work, as its target must exist. If you want to create a new fleet inspection row, use LINKTOFORM() instead.

Yes, the fleet inspection row already exists with its own timestamp key value .

The employee starts the timecard form which captures their clock in time, then, in the same form, they have to answer โ€œOperate Fleet?โ€ If they answer โ€œyes,โ€ they have to complete the nested โ€œFleet Inspectionโ€ form.

They then complete the nested โ€œFleet Inspectionโ€ form (minus the โ€œEnd Milesโ€ column that they must complete at the end of the day). This generates its own row in the โ€œFleet Inspectionโ€ form with a timestamp key value.

I want the action to take them to this already-started fleet inspection form so they can finish adding โ€œEnd Miles.โ€

What is the Ref column in the Timecard table that points to the fleet inspection form?

Steve, your question prompted me to review my Key and Ref columns. Looks like they were set up incorrectly. I made the necessary changes and action fires as expected.

Thank you!

Steve
Platinum 4
Platinum 4

Well done!

Top Labels in this Space