I've been trying to delete PushNotification setup for a CustomApplication with the Metadata API (version 46.0 ) but although the answer is successful the changes are not done in my developer organization.
Manual access to push notification:
Salesforce Classic >> Setup >> Create >> Apps >> "My app" >> Choose Push Notifications >> Select objects and fields for notifications
- Deploy a CustomApplication with some PushNotification setup. Example of CustomApplication Metadata xml:
[...] <consoleConfig> [...] <pushNotifications> <fieldNames>Account</fieldNames> <objectName>Case</objectName> </pushNotifications> [...] </consoleConfig> [...]
- Deploy the same CustomApplication removing all PushNotifications. Example of CustomApplication Metadata xml:
[...] <consoleConfig> [...] <!-- All tags of pushNotifications had been removed --> [...] </consoleConfig> [...]
All the push notifications are removed from the developer organization
All the push notifications are NOT removed from the developer organization
- Is it possible to complete remove all PushNotification from CustomApplication using Salesforce Metadata API?
- If it is possible, please could you let me know how?