Problem with deep Link zu other table

bouhme
New Member

Dear community, I am new member in app sheet and not so good in english. I hope you will understand my Question. If not iยดm sorry for that.
I want to create a app for Managing orders. i have a table with order informations and Services, called โ€œAuftragโ€ and a table with material, called Materialien.
To connect them i make a Action in behavior with Deep Link. Called : linktorow (โ€œAuftrags Nrโ€, โ€œMateralien_Formโ€) . โ€œAuftrags Nrโ€ is my key column in table Auftrag und a REF column in tabel Materialien. If I trigger the aktion button from Auftrag_Form the app go to Material_Form . I see all the materials I can choose but not the โ€œAuftrags Nrโ€ field. When i try to save the choosen material i got a error massage โ€œkey field Auftrags Nr is requierdโ€
Can you please give me a hint what I doing wrong.
Thangs a lot

0 9 643
9 REPLIES 9

Steve
Platinum 4
Platinum 4

Despite the doc, the first argument to LINKTOROW() should be an expression that evaluates to the key column value of the row you want to link to.

Try this instead:

linktorow ([Auftrags Nr], โ€œMateralien_Formโ€)

Iโ€™ve updated the doc for LINKTOROW() to corrext the error.

bouhme
New Member

thank you for your tip. Unfortunately, that does not work for me. Before my entry change to the row of the other table but i canยดt save the row. Now something happend when I tap the link but the display show nothing to me. No idea where I am then
Something seem to be wrong in the basics of my tables. When I want to change from speziall row in table A to a spezial row of table B to edit, both table must have the same column? Must both are a key column or is it enough to have the same name?
By the sample app โ€œcapture orderโ€ there is a button โ€œADDโ€ under point 7 โ€œorder detailsโ€ that does what I want but I do not know how and where to make the entry. Is that a linktorow aktion entry? Or is that wrong?

thanks for help

@bouhme
Verwenden Sie ein Schnitte mit Ihrer Auftrags tabelle? Wenn ja, mรผssen Sie mรถglicherweise Ihren REF_ROWS-Ausdruck leicht รคndern, um ihn an Ihr Slice anzupassen. Bitte รผberprรผfen Sie meine Beispiel-App, indem Sie einfach auf den Startbildschirm auf Ihren Namen klicken. Sie kรถnnen diese App aus meinem Portfolio kopieren > https://www.appsheet.com/portfolio/245151

bouhme
New Member

Danke fรผr die Antwort. Mit dem Begriff โ€œSchnitteโ€ kann ich leider nichts anfangen. Unter Slice habe ich nur eine Tabelle gefiltert. Der Eintrag funktioniert . Leider aber nicht die Funktion in eine andere Tabelle zu wechseln wo ich alle verwendete Materialien fรผr jeden einzelnen Auftrag speichern will.

GruรŸ bouhme

@bouhme
Haben Sie meine Beispiel-App รผberprรผft? Beim Erstellen eines Jobdatensatzes kรถnnen Sie alle verwendeten Materialien mit der Schaltflรคche โ€œNeuโ€ hinzufรผgen, wodurch Sie das Material Form erhalten. Bitte entschuldigen Sie mich, wenn ich etwas falsch geschrieben habe, da mein technisches Deutsch nicht so gut ist.

Oh sorry. Because you answered in german I thought you are native german speaker. No problem my english is worse. Now itยดs to late for me to test your app Iยดm to tired sorry, but I will try it later the day.

thanks a lot

Ja es sieht ungefรคhr so aus wie ich mir das gedacht hatte. Wenn ich mir die Strucktur ansehe, bekomme ich aber ganz viele Tabellen angezeigt. Das verwirrt mich ein wenig. Ich denke mal die App Community Samples hat nur 2 Tabellen. Oder hat sie mehr? Wo findet man eigentlich eine Anleitung wie man solche Funktionen wie โ€œlinktoformโ€ mit den ganzen Argumenten fรผllt ?

GruรŸ bouhme

Hi @bouhme
If you had taken a copy of my sample app, surely it may contain a lot of tables and views related with the queries in the community. However you can check Auftrag & Materialien tables, Add Material behavior action under Auftrag table.

Top Labels in this Space