Hide the View button in Inline REF_ROW

I have a daily messages app for my staff in which I want them to acknowledge that they have read the message. I do not have a need to go and look at the REF_ROW detailed view.

Is there a way to remove or hide the โ€˜Viewโ€™ button and just show the โ€˜Addโ€™ button ?

0 12 1,560
12 REPLIES 12

Aurelien
Google Developer Expert
Google Developer Expert

Hi @jeffchoy

As far as I know, itโ€™s not possible.

The option you have is to make the View localization to "" (blank) based on the view you want it to be hidden.
For example, if your view is called A BEAUTIFUL DASHBOARD, this should be inside UX โ†’ Localize โ†’ View


(Make sure to activate the Expression Assistant instead of Text)

IF(
  CONTEXT(VIEW)="A BEAUTIFUL DASHBOARD",
  "",
  "View" /*You can put whatever you want here btw, like "View All"*/
)

This is a workaround, there is no option to hide the button, just to make it look like itโ€™s not there

Nice workaround ! I learnt something today
Strange thing is being able to remove/change name on the โ€œAddโ€ button, which is an action attached to the table, but not the view buttonโ€ฆ

Yeah, for Add you need to change the Display name of the action so that itโ€™s more like โ€œAdd itemโ€ for example or make the Only if this condition is true to False to hide it. You can use CONTEXT() to make it false just in the view where you want it to be hidden

This ^

I tried but maybe made mistake, will try again and let you know. Thanks!

*btw isnโ€™t it a problem that in one case it is called โ€œAddโ€ and in another โ€œNewโ€?

You mean this place, right?

No. See his earlier post.

Oh shit, it is here Thanks Steve as always!

This works nicely for some of the system text.
I am trying to customize the text of "Add" and "View" buttons on an inline table view.
You'd think that since "View" is customizable this way, its neighbor "Add" would also be available in the Localize area...but...doesn't appear so.

Hi @SkrOYC
What about the โ€œAddโ€ button in inline view?


I need it when filling the parent table form but after form is filled need to hide/disable it.

Any ideas?
Thanks in advance

Use a COUNT(SELECT([...Some List...) ) > 0 within an IF statement, and then use a CONTEXT("Viewpoint") <> "Form" to turn it off

Steve
Platinum 4
Platinum 4

@Asa wrote:

You'd think that since "View" is customizable this way, its neighbor "Add" would also be available in the Localize area...but...doesn't appear so.


To customize the display name for an Add button, you have to configure the corresponding system-generated Add action.

Steve_0-1669990206094.png

 

Top Labels in this Space