I need to change the Button โNewโ to โChangeโ in an inline view which is in a detail view. I was trying with CONTEXT(โViewโ). But my problem is I have got multiple inline views within that details view. I want to change only one โNewโ button text. I donโt want other โNewโ buttons to be changed.
Hi @Kanishka, Welcome to Communityโฆ
To change the inline view (detail view), you might want to check posting from @Fabian, here: How to remove add new button from within a form?
Which should be something like below for your case:
IF(CONTEXT("View") = "YourSelected_Detail" , "Change" , "New")
Thank you @Heru and @MultiTech_Visions for the replies. I was trying this
IF(CONTEXT(โViewโ) = โMy Tickets_Detailโ , โChangeโ , โNewโ) expression for โNewโ word in Localize section.
But my problem is I have multiple inline views in the โMy Tickets_Detailโ view. So all the โNewโ words in inline views will be changed to โChangeโ.
I want to change โNewโ only in one inline view. Thatโs the issue that I am facing.
The localize page wonโt have access to row-specific data.
If you were really hell-bent on making this happen, the Localize panel can only differentiate between the views, you could key off that - so you could create a system to use a specific view for that one record and the regular one for the rest.
To accomplish this:
make a copy of the view and give it a different name
make a navigation action with a formula something like this:
if([RecordID] = โThe_specific_records_IDโ, โName of new view copyโ, โName of original viewโ)
You need some way of selecting out the specific record
In the โEvent Actionโ for the inline view that leads to your detail view, insert the navigation action.
(This way when people tap on a record to view it in the detail view, the app first takes note of what record youโre trying to view - if itโs the specific one youโre directed to the special view, otherwise the default behavior is to take you to the original view.)
This is a bit of a hack, but it would work.
It sound like complicated and need something like @MultiTech_Visions suggested.
Thanks @MultiTech_Visions and @Heru. I will check with the suggestion.
User | Count |
---|---|
41 | |
36 | |
28 | |
23 | |
16 |