I want to add a new task and associated group to the backstage of PowerPoint using the fluent UI XML method, although the same issue occurs for Excel and Word.
Using the Microsoft-published list of idMso control IDs I've established that the structure of the tab I'm interested in as as shown below:
So to append a new task control to the end of the collection of 5 built-in tasks, this is the XML I'm using:
<!-- Office Export Tab -->
<task id="myTask" label="My Task">
<group id="myGroup" label="My Group"/>
But when loading the project containing this same XML in PowerPoint, Excel or Word, I get this error:
Failed to find Office control by ID
I know the control ID is correct, even it it's swapped regarding Microsoft's normal naming convention because if I try taskFormGroup idMso="GroupPublish", I get the expected unknown error message instead:
Unknown Office control ID: GroupPublish
So do I have the XML structure wrong?