How to disable value notifications from the API?

Post Reply New Topic
RELATED
PRODUCTS

Post

Hi folks,
for the script I'm currently writing, I want do disable the notifications for values which always show up like this when I control a value from my controller:
UnwantedNotification.jpg
In the API I found the following method and tried it in my script but without success:

Code: Select all

host.getNotificationSettings().setShouldShowValueNotifications(false);
I also tried this but also without any success:

Code: Select all

host.getNotificationSettings().getUserNotificationsEnabled().set(false);
I don't see what I'm doing wrong here. So it would be really great if someone could help me out.

It also seems a bit strange to me that these notifications are enabled here but the API documentation says:
By default all notifications are disabled.
Maybe I'd better write a bug report?
(I'm using version 1.1.8 )
You do not have the required permissions to view the files attached to this post.

Post Reply

Return to “Controller Scripting”