on 2024 Aug 24 12:14 PM
Hello everyone,
As the title suggests, I am trying to send notification from Cap app to build workzone. I have followed the following tutorial:
The code seems to work fine but it's giving the following error:
Also when I check the connection of my destination in btp, it returns 401 unauthorized.
Request clarification before answering.
Please use the CAP Plugin https://github.com/cap-js/notifications instead. But be aware that you have to use CAP 7 right now until Current peerDependency doesn't match cds 8 #57 is fixed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes the destination is working fine, the host URl did look odd to me as well but it is the one generated when i click on credentials . I was able to send the alert notifications from CAP app to build workzone using the following documentation:
The plugin works for me in the development env and the alert shows in the console, But it doesn't work in the production environment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have read the documentation and added the plugin. I have used it in a test app that i have deployed on the build workzone but it is not creating notifications. The package.json looks like this:
And this is the service handler:
Destination:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was able to use the notification plugin successfully. The image in the link below is my destination setting.
https://qiita.com/tami/items/7c786f9d79a5fd157b24#2-destination%E3%81%AE%E7%99%BB%E9%8C%B2
I noticed a difference in URL. Please check if the host part matches the credentials generated in the Build Work Zone.
User | Count |
---|---|
31 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.