Is there a way to only display the icon in format rules to columns if the view type is a particular view. In other words, I have a format rule to display a check icon if [column]=โdoneโ for column Progress. I have Progress shown visible in my card view and my map view. Is there a way to add a conditional to show the icon only in the map view? Or do I just need to add another virtual column?
Solved! Go to Solution.
Yes. You must include CONTEXT(โViewTypeโ) in your condition in your format rules.
Yes. You must include CONTEXT(โViewTypeโ) in your condition in your format rules.
Thanks for this Post/Question, I was missing something when using CONTEXT and was going to ask, but I looked at the great Mr Steveโs @Steve Documentation a bit closer & figured out exactly what I needed is (CONTEXT(โViewโ) = โby Ingredient"). Just in case someone else needs a little more detail here on how to use CONTEXT, this is what I got to work in my Recipe App. Format Rules while in my โby Recipeโ View, I want the Recipe Name to appear bold & bigger and Ingredients to appear normal text, and in โby Ingredientโ View, I want the Ingredient to be bold/big & Recipe Names to appear normal text. CONTEXT(โViewโ) = โby Ingredient" worked! Another option is to restrict Format Rule by ViewType, which would be CONTEXT(โViewTypeโ) = โCard", or CONTEXT(โViewTypeโ) = โTable", etc. TYVM!
There shouldnโt be any reason that youโd need that extra set of parentheses around your expression.
OK thanks. I edited my previous comment to remove the unnecessary โ(โ
@Steve I did bump into another CONTEXT situation that I need for my Recipes App. In my View โby Ingredientโ, sorted & grouped by [Ingredient], all of the Recipes listed under each Ingredient only show one Row, but I really want to jump directly to that Recipe. How would I do this? I played with CONTEXT & LINKTOVIEW in Display Name for the [Recipe] column, but couldnโt figure it out. I set my app up so each Recipe has one Row per Ingredient. TYVM!
Maybe just shown the [Ingredient] column in the view, and donโt group by anything?
Thanks, but eliminating the Group by Ingredients just causes a โtrueโ column to appear with the same problem as before, where I only see one Row, not everything for that Recipe.
What does that mean? Provide a screenshot.
In my โby Ingredientsโ View, I must group by [Ingredient], so your I donโt understand your previous advise to not group by [Ingredient]. I think I need to rebuild this app using a child table for my Ingredients. I was trying to keep it simple, but I made it more complicated. Iโm thinking thereโs a way to do what I want, but a child table will probably solve other issues this app layout is giving me. TYVM!
The โtrueโ column (should be โCocktailโ) now looks like this. The first time that I eliminated Grouping by [Ingredient], (in my โby Ingredientโ View) it had given me another column to the right labeled โtrueโ showing all of the Cocktails. I played with the Sort & Group settings a bit & could not replicate getting that separate โtrueโ column to the right of the purple Ingredients. I think I am going to just rebuild this app using a child table for Ingredients.
Well now Iโm just extremely confused by what you are doing, and what youโre trying to do.
Why does your [Cocktail] column has a Display Name of โtrueโ?
Going back to this:
From your screenshot, it appears I may have misunderstood what you were saying. So if youโre still wanting help here, please elaborate on what this means.
And also exactly what this means.
User | Count |
---|---|
43 | |
32 | |
25 | |
23 | |
14 |