In an inline table, we have "View" and "New" ...

(Steven Aung) #1

In an inline table, we have “View” and “New” links. Can I show or hide “New” link based on a given condition?

(Aleksi Alkio) #2

It depends what that condition is. If it’s row by row from that inline view, it’s not possible. If the condition is coming from another table… like a variable table, it’s possible.

(Steven Aung) #3

I would like to hide the link based on a value of another computed column in the same table.

(Aleksi Alkio) #4

It’s not possible directly because you can control it with the access mode (on table level). There is a workaround if you create an additional slice and you choose that slice to be read only. Then you would need to have another inline view with that slice. This would mean you will have two different inlineviews and based on a given condition, you will choose which one to show.

(Steven Aung) #5

That would work. Thanks for the suggestion.