LINKTOFORM() Navigation Action shows blank screen

I have a action “go to another view within this app” with the target:

LINKTOFORM(“Artikel_Form”,“Seite”,[_THISROW].[Seite])

This was working fine for a long time. Now it is working just one time. But if you cancel and click on the Action again, it will show a blank screen. This seems to be a Problem on Android and in the Emulator. I did not see the Problem on Windows with Chrome.

I’ve tried different solutions, but the problem persists.

  • “#control=Artikel_Form&defaults=%7B%22Seite%22%3A%22”&[_THISROW].[Seite]&“%22%7D&page=form”
  • “#control=Artikel_Form&defaults=%7B%22Seite%22%3A%225d2c5ff5%22%7D&page=form”
  • “#control=Artikel_Form&defaults=%7B%22Seite%22%3A%225d2c5ff5%22%7D”
  • “#view=Artikel_Form&defaults=%7B%22Seite%22%3A%225d2c5ff5%22%7D”

I’ve already informed AppSheet support.

1 Like

Hi @Fabian_Weller ,

By any chance, does LINKTOFORM(“Artikel_Form”,“Seite”, [Seite]) work?

1 Like

@Suvrutt_Gurjar Thank you for this hint. But the problem persists.

BTW: Would you prefer [Seite] instead of [_THISROW].[Seite] ?

Hi @Fabian_Weller ,

I believe is not very clear in documentation, but I have used it many times without [_THISROW] and it works.

In the below sample app available in AppSheet support page, I tested with [_THISROW] as well as without [_THISROW] and it works both the ways. The sample app incidentally has it without [_THISROW] but the form is on the other table. So that could be an issue as well if you are using it on the form in the same table.

Linktoform Example

3 Likes

Just chiming in here…

[_ThisRow] is only necessary when you’ve got a multi-table situation going on.

  • If you’re only dealing with one table, you don’t need that included
  • It’s only when you’ve got two tables you’re dealing with:
    1. The table where the formula lives (where it’s executing from)
    2. The table where data is being pulled from

When you’ve got a dual table situation like this, [_ThisRow] is literally telling the system which table to look at

4 Likes

@MultiTech Thank you for that. Makes sense. In my example I don’t have a multi-table situation. So I don’t need [_ThisRow]. But do you think it will cause problems if we use it anyway?

I don’t think so no

  • It’s like the following
    • Select(Table[Column], true)
  • You don’t need the SELECT(), but it doesn’t hurt anything
2 Likes

In Network log I see this JavaScriptError:
“Uncaught TypeError: Cannot read properties of undefined (reading ‘Success’)”

@Steve In fact I see more and more blank screens in several Apps. I hope AppSheet will solve this soon.

2 Likes

I use [_thisrow].[field] regardless so I don’t screw up something on down the line. I know what app destruction I’m capable of.

1 Like

This Bug seems to be solved. Even though AppSheet Support’s last response was:
Please be informed, that our team needs more time to fix this.

Now, All LINKTOFORM() Actions are working again on my side.

2 Likes