<Commands> <Button id="Setup" class="SetupButton" message="Creates a copy of an mxd and opens opens it" caption="none" image="Images\SetupButton.png" onDemand="false"/> </Commands> <Menus> <Menu id="Data_Prep" caption="Data Prep" isRootMenu="true"> <Items> <!-- OnUpdate() is NOT called periodically on this Setup button --> <Button refID="Setup" /> <Button refID="PrepData" /> <Button refID="Load_Data1" /> <Button refID="Load_Data2" /> <Button refID="DeleteData" /> </Items> </Menu> </Menus> <Toolbars> <Toolbar id="Toolbar" caption="Toolbar" showInitially="false" > <Items> <Menu refID="Data_Prep" /> <!-- OnUpdate() is called periodically on this Setup button --> <Button refID="Setup" /> </Items> </Toolbar> </Toolbars>
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.