What is the purpose of Tooltip section in the Visualization pane? - powerbi

Link: https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-tooltips?tabs=powerbi-desktop#configure-your-tooltip-report-page
I am experimenting with creating a tooltip page by following the above article for a categorical value column. It is working fine.
However, it continues working even if I remove the categorical column from the Visualization pane's Tooltip section.
So I want to ask - What is the purpose of Tooltip section in the Visualization pane?

The purpose of the field(s) used in that Drag tooltip fields here section is for the default setting of every visual on your source pages (that shows Tooltips properties).
By default on each visual (e.g. a table), if the Tooltips property section is turned on, a default setting is Page = Auto. In that scenario, Power BI uses the fields loaded into the Drag tooltip fields here section for every Tooltip page, to find candidate tooltip pages to show.
For your scenario to be still working, you must have specified the Tooltip / Page on your source visual.
FWIW I prefer to make those specifications on each source visual, to be explicit about what tooltip they should show. To leave Page = Auto invites any future Tooltip page to start appearing as an option, which might confuse the audience.

Related

Drill Through Once a Specific Field is selected from a Visual

I have a Requirement where User wants to leverage Drill Thorugh option by just selecting the field from a Visual.
We have different ways to drill-through and thats possible only after selecting a field and doing right click or by adding a Button and setting action as drill-through.
But is there a possibility of drill-through directly if a field is selected (and avoid doing right click) or Just click the Button and it should drill though (by default or using any logic).
Inputs will be really Appreciated.
Thanks
To see if there is a possibility of drill-through directly if a field is selected (and avoid doing right click) or Just click the Button and it should drill though (by default or using any logic).

Can Power BI custom visuals accept keyboard focus?

I am trying to create a custom slicer that supports keyboard navigation.
I have come across the supportsKeyboardFocus property in capabilities.json, and I see that this changes the visual HTML element to look like the built in slicer which does support keyboard navigation (removes aria-hidden="true" and adds keyboard-shortcuts="ctrl-ArrowRight scoped") but am still unable to get keyboard focus inside a simple custom visual. Are there any working examples of a custom visual that supports keyboard navigation?
There was a regression in custom visuals' keyboard focus support, it has been fixed a few months ago.
In order to enable keyboard focus and navigation, the visual should:
Set supportsKeyboardFocus: true in capabilities.json file.
Contain focusable elements1
Also note that in a Power BI report, visuals behave as context groups, so navigation between visuals is achieved using Tab, and navigation into a visual's context is done by ctrl+rightArrow (or cmd+rightArrow for Apple).
1: While there are many DOM elements which are focusable by default (e.g. buttons, text input etc.), many custom visuals are based purely on SVG graphics, so they can end up with no focusable elements. For the most basic tab based navigation, adding tabindex=0 to an element is enough. For good accessibility, depending on the visual, it's typically required to add keyboard support for selection and multi-selection, and better navigation (e.g. arrow based grid navigation, or some reasonable grouping of elements etc.)

Sitecore Component Properties Rendering Droplist as Text

I have a component that I've added a parameters template to. The parameters template has a Droplist field called VerticalAlign1. Its source is set to a folder with three items, bottom, center, and top. Now, in Visual Studio, the dropdown is rendered correctly:
However, when one opens up the component properties in the page editor, the following is seen:
It is simply a text box that gives the content editor no information about what the options may be. Is it possible to have this render as a dropdown?
We're on Sitecore 7.2 MVC.
Comment converted into an answer
In most of the scenarios, the problem is with Raw values checkbox being checked.
It changes all the custom field editors into text boxes. That's why you don't see a dropdown list.

Setting default font size for graphs in Powerpoint

I've found no other stackexchange site to ask this question so I present it here. If there's a more appropriate place for it please let me know.
I have just been given a ms-powerpoint template document to fix. It was created by designers using the slide master editor in MS-Office 2011 for Mac. The problem is that when the customer creates a new slide using one of these templates and then wants to insert a chart into one of the designated boxes (which is only one of the things that can be stuck in there) the text in the chart is always set at 18pt. I've looked everywhere for a setting that sets the default font size for charts (and smart art) for only that document but have been unable to find it.
Any pointers or help of any kind would be more than great.
I received the following answer from James Gordon from a Microsoft forum:
Charts are handled by Excel. In Excel you can create Chart Template,
which are saved in (.crtx) file format and will appear in the Ribbon.
The way to do it is to customize a chart and then right-click on the
chart. Use the Save As Template option from the pop-up menu. If you
save your template in the Chart Templates folder (the default when the
save dialog opens), after you quit and then re-open Excel, the
template will be available to you in the Ribbon.
SmartArt is within your PowerPoint presentation. There are various
approaches you might take regarding SmartArt. As you pointed out,
SmartArt can be specified in a Slide Master, or on Slide Design.
Saving a presentation as a Theme (.thmx) is one option. Another save
option is to save as a Template, which is more comprehensive (includes
every aspect of a slide show).

Adding buttons for HTML elements to the Sitecore rich text editor

I would like to add a button to the Sitecore rich text editor toolbar, specifically one that inserts the H2 element.
I know the H2 element can be inserted using the paragraph styles pulldown menu, but all my editors are now using the bold button for their headings because they don't "see" the paragraph styles pulldown. So, I want to make the H2 easily available using a toolbar button. (And maybe even removing the bold buttons, since it's not semantic at all.)
But no matter how I go through the documentation, I cannot find a good explanation on how to do this.
In addition to the guide Yan posted, here's another guide.
I found a couple of walkthroughs for this...
Sitecore v6.3 and previous: link
Sitecore v6.4: link
Make sure that you select the core database (bottom right of Sitecore desktop) so that you can see the /sitecore/system/Settings/Html Editor Profiles area.
In my article here the first step of wiring up an event to a button is in javascript. From there you can insert text or tags. You can also get the selected text and wrap it in tags. You don't need to compile anything I was just showing how you would if you needed to, but you can entirely cut that piece out and just use the editor to send whatever text you want back to the wysiwyg editor.