I want some of my users to notify group of users on the community as well as internal users about new features that we implement every month. These are purely informational notifications and don't necessarily require a redirect. I tried using the CustomNotification but it always requires either a Target Id or a Target Page Reference . I tried using standard__webPage as below :
notification.setTargetPageRef('< "type": "standard__webPage", "attributes": < "url": "http://#" >>');
This gives me an error This page isn't available. and the URL formed for internal users is