Some of my posts are a bit gimmicky. This is my worst yet 😂
In my recent post about multiple images: https://joshanglesea.wordpress.com/2022/10/20/business-central-multiple-item-images/ I used emojis on a picture toggling feature. UI wise it looked visually appealing and it was appropriate UX for the circumstance. The concept was born out of another post where I used a grid layout to generate my own buttons, instead of using the standard page actions. You can check out the original post here: https://joshanglesea.wordpress.com/2022/06/10/business-central-horizontal-tabs/
Why am I following up this topic? Have I seen the error of my ways? Do I need to warn you of using this set of concepts? My reason for follow up is to share a minor discovery. I actually think this is an acceptable concept in the right circumstances. If you’re dubious about using emojis I’d suggest watching this video, and consider my usage of emojis is purely for display and not “data”: https://www.youtube.com/watch?v=cr9UCF-jEz0&t=1419s
So what’s this follow up I have to share? I figured out that the grid layout results in field placement differences depending on where you place the field control. Below is a mock up of what I mean. The code for both is identical but the field controls are taken to the left if on the main page object. A factbox is a pagepart and it has the field controls placed to the right instead!
I showed in the multi images post that you can add spaces to the field control or label which houses the emoji character. It does however create a long drilldown line:
What about using them in page actions? Well it’s ok if you leave them in a sub list of the page actions. See the 📸 emoji in two places within the page actions area. The one on the left hand side has an extra “Image” assigned to it whilst the right is just the caption:
Being left or right with emoji’s makes all the difference! 🤗