I have created an App column to conditionally link to a form or a row. Example: IF([1 Key] <> "#", LINKTOROW([1 Key], "Lab Inspection_Detail"), LINKTOFORM("Lab Inspection_Form", "Lab", [Lab ID], "Lab Inspection Category", "2d8f09a7") )
In this case, when the [1 Key] column is #, I link to the form. When [1 Key] column is not #, I link to the a detail view of Lab Inspection_Detail.
However, there are some cases where I don’t want to LINKTOROW and I don’t want to LINKTOFORM. I just want it to do nothing.
Is there something I can use in these cases? Such as NULL or # or something?
Whether I use IF or IFS, I’m still unsure what to use in that function to do nothing in the right condition.
I’ve tried NULL, but that didn’t work. I also tried opening the current view. But that’s horrible because it makes it seem like it failed to pull up the appropriate info. And the last thing I tried was adding a dummy LINKTO__, but that just made it go to a blank page.
Ideally, in the correct condition, it wouldn’t even show the
icon.
I would use an Action instead of an App column. With that way you can enter in a behavior expression for when the Action is available, as well as your existing navigation expression.