Hi,
Is it possible to have a view that displays a different title at the top of the page as opposed to the text that displays next to the menu icon?
So at the top of a page Iโd like the view name to be: Kitchen Smmary: NOW() but I need the menu text to just be : Kitchen Smmary.
Thanks.
You could try the following:
SWITCH(
CONTEXT("View"),
"Your View Name", "Kitchen Smmary", "Other View Name", CONCATENATE("Kitchen Smmary:", NOW()),
"Default"
)
Substitute โYour View Nameโ for the View Name where you want it to say โKitchen Smmaryโ and โOther View Nameโ for where you want it to include NOW().
Not 100% sure if this will work but I am using something similar.
Thanks for the help.
The single views name that needs a differentiated title and menu label is also โKitchen Summaryโ so Iโm left with:
SWITCH(CONTEXT(โViewโ),โKitchen Smmaryโ, โKitchen Smmaryโ, โKitchen Smmaryโ, CONCATENATE(โKitchen Smmary:โ, NOW()),โDefaultโ)
Iโm afraid that just names the menu item as default for all other views except Kitchen Summary. When in the view kitchen sumamry its displayed as โKitchen Summaryโ in both the Title and menu item.
Hmm, are the two views you need to differentiate between different view types (e.g. Deck, Card, Table)?
Are you sure they have the same name as usually you cannot have the same name for two different views?
For example the table view may be โKitchen Smmaryโ however the detail view would be โKitchen Smmary_Detailโ.
I definitely just have one view
Its Called โKitchen Summaryโ. When I click on this:
I need this title at the top of the page to be the result of โKitchen Smmary: NOW()โ.
Thanks.
Find the view within the UX tab and go down to โDisplay Nameโ, turn the formula button on and try the following:
SWITCH(
CONTEXT(โViewTypeโ),
โTableโ, CONCATENATE(โKitchen Smmaryโ, " - ", NOW()),
โKitchen Smmaryโ
))
No Joy.
That looks like it should work though.
The menu and title are still the same using that.
If yourโe copy and pasting the above make sure you replace all the speech marks with your own as for some reason they donโt copy over correctly. Also you may not need the last closed bracket.
I have just checked it on mine and it works until the view is clicked, please see screenshots below.
As you can see the โOff Hiredโ button in the bottom right is changes once the view is clicked on, may not be 100% what you are looking for.
Thanks, yeah I clocked the last bracket and knocked it off.
I can replicate your result but really need to be able to have them differ once the menu is clicked on.
Looks like its not possible for now. Thanks for trying though.
Try:
IF(
("detail" = CONTEXT("ViewType")),
("Kitchen Summary: " & NOW()),
"Kitchen Summary"
)
@Steve I donโt think view names are that dynamic.
I think I remember something from someone once like: โTheyโre computed during sync timeโ
I tried nearly the same expression yesterday and it appeared to work fine. Note this is for the viewโs Display name expression.
The view name at the top, and the name in the bottom menu button, both follow the same setting.
Itโs either the actual view name, or the Display Name, if youโve entered a value. But thereโs no way to set them to different values because they are both displaying the exact same setting.
I think this should be a feature request. We should have separate controls for:
Actual View Name (Required, Unique)
Top Display Value (long-name, optional)
Nav-Bar Display Value (short-name, optional)
User | Count |
---|---|
14 | |
11 | |
9 | |
7 | |
4 |