Different event action for deck view

Hello there,

I have a primary deck view with 10 decks. What I want to do is have different event actions for only 2 of the decks.

In other wordsโ€ฆ

At the moment the 10 decks upon tab go to view โ€œABCโ€

What I want to do is upon tab make 8 decks go to view โ€œABCโ€ and only 2 decks go to view โ€œXYZโ€.

Is that possible?

Thanks

Solved Solved
0 9 252
1 ACCEPTED SOLUTION

Hi @LeventK. I was able to solve my issue by replacing LINKTOVIEW with LINKTOFILTEREDVIEW in your expression.

All good now.

Thanks for your kind help!

View solution in original post

9 REPLIES 9

Yes itโ€™s possible. Create an action with below expression, set its prominence to โ€œDo not displayโ€ and assign this action as the row selected property

SWITCH(
	[KeyColumnNameForDeckViewTable],
	"ID001", LINKTOVIEW("XYZ"),
	"ID005", LINKTOVIEW("XYZ"),
	LINKTOVIEW("ABC")
)

Hi @LeventK

Thanks heaps for the prompt reply!

What should be the type of action. I assume it would be โ€œApp: got to a different view within this appโ€?

Just confirming

Thanks

Thatโ€™s correct.

I tried using your expression! Itโ€™s a great expression, but I am still not able to achieve what I want.

The LINKTOVIEW is not working for Ref Views. It is working only for Primary views.

Let me explain

When I tap on deck#1-8, it goes to a Ref View โ€œABCโ€ and I want to make deck 9 and 10 go to another Ref View โ€œXYZโ€.

Thanks

Thanks for the reply @Steve.

Are you suggesting I replace LINKTOVIEW with LINKTOROW in the expression suggested by @LeventK?

Many thanks

@Mavic_Pro
LINKTOROW() expression takes you to a Detail View of a specific row
LINKTOVIEW() expression takes you to a UX View you specify

Can you elaborate what do you mean with Ref View?

Hi @LeventK. I was able to solve my issue by replacing LINKTOVIEW with LINKTOFILTEREDVIEW in your expression.

All good now.

Thanks for your kind help!

Youโ€™re welcome

Top Labels in this Space