Kentinada Posted December 18, 2023 Posted December 18, 2023 I have defined a new group in UD Mobile Notifications that is just for myself excluding my wife who won't want to see these notifications. Can I get this group passed down into the admin console so I can use it in programs?
Javi Posted December 18, 2023 Posted December 18, 2023 If using the Notification Node Server with UD Mobile Notifications then restart eisy and the new groups should be available. If using something else please elaborate.
Kentinada Posted December 18, 2023 Author Posted December 18, 2023 @Javi Thanks. It did finally propagate down to the Admin Console. The group I created is called "Kent". See attached screenshot. I want to use this in a program. I defined 2 test messages in Notification Node Server configuration tab called Test and Test2 in slots 1 and 2 respectively but they do not show up as selectable under Content in the screen shot. Should they be shown there? If I define messages in the Configuration/Networking/Network Resources tab, I don't see a way to limit the sending to the Kent group.
Javi Posted December 19, 2023 Posted December 19, 2023 The Notification Content uses the same Customizations as the Admin Console Email Customizations. These are superior to Network Resources or content in the Node Server as Variable Replacements is possible and in real time. With that in mind the Admin Console only shows the notification Customization ID, if the program is viewed in UD Mobile it will show the text of the notification content.
Kentinada Posted December 19, 2023 Author Posted December 19, 2023 I'm not sure I totally got that @Javi. Here is what I have. The 1st screenshot is the statement that runs in the Then clause of my program. Notice the Group is Kent which is right. The Content is UD Test Message. I added UD Test Message to the Email Custimizations as you indicated in your previous response. Screen shot 2 shows the definition of UD Test Message. When I run the Then clause on my test program, I get a notification that says: My Test Title/My Test Body/Date & Time. It does not send my UD Test Message. I looked around and found this message in Configuration/Networking/Network Resources as Example Push Notification. Just to verify this is what was being sent, I changed the code to what you see in screenshot 3. Sure enough, when I run the program again, it now says Kent Test Title/Kent Test Message/Date & Time. What did I miss?
Solution Javi Posted December 19, 2023 Solution Posted December 19, 2023 The program looks correct. The Customization with variables will only populate the variables if they exist. If manually running THEN, most of the variables will not exist as there was no event that triggered the program. With regards to the message not being the text entered into the Customization, it is very likely the Customization and/or Program was not saved before running THEN.
Kentinada Posted December 19, 2023 Author Posted December 19, 2023 @Javi you must have been right about the things not being saved. I tried it again but made sure everything was saved first and I got the right message. Thanks. One step closer. 1
Recommended Posts