How to show a single button in Activity Section Page for adding new Task
By default in the Calendar section page, it shows only one button "Task" which maps to the edit page of Activity Type - "Task" :
I have added a new edit page of Activity type "Schedule" and overridden the Button Diff to change the caption.
As a result of this, it shows all the edit pages in the Test button DropDown as you can find in the below image. The above code returns all the editPage when count greater than 1.
How to map the "Schedule" edit page button to the Test and remove all the other buttons and the dropdown feature. Similar to how by default "Task" edit page button gets mapped to Task button.
Kindly help me how to implemet this.
Regards and Thanks,