Hi,
I’ve been testing out custom Smart Buttons for Ribbon Workbench, and I’ve managed to create a couple of Smart Buttons that fit my requirements; however, I have some questions that I can’t seem to find any info on.
- Is it possible to add a Smart Button which does not have a CommandDefinition?
Simply setting it to null seems to cause issues with undefined properties (Id etc.).
- Is it possible to add a Command without a control?
- Is it possible to set default values for the editableProperties, which is then displayed when adding the Smart Button?
Setting “Value” does not seem to do anything in my case.
- Are there any examples for creating custom Smart Buttons for flyouts, specifically dynamic flyouts with both a Command and PopulateQueryCommand?
I seem to be able to add a flyout by setting ControlType : 1 and __type : FlyOutAnchorControl, however, I need to be able to define the PopulateQueryCommand.
- Is it possible to create a Smart Button which does not display the dialog when the user adds it?
Setting editableProperties to an empty array or null does not seem to work for me.
Thanks,
DFA.