This lesson is part of the Clients and Sessions course. You can browse the rest of the lessons below.

LESSON LIST

Autoplay Off
Take topic challenge

LESSON

Session Update Notifications

Description

Perspective Sessions can notify users when an update had been applied. This lesson will show you how to enable these notifications.

Video recorded using: Ignition 8.0

Transcript

(open in window)

[00:00] In this lesson, we'll take a look at Perspective session update notifications. When working in the Designer and making a change to a View, as soon as you save the Designer, it pushes those changes up to the gateway and then the gateway immediately distributes them to any open sessions. So your users don't manually have to update their sessions to see these changes. To demonstrate, when I'm in the Designer here, you can see that I have a View and on this view I have a Label. Let's get a session open, so I'll go to Tools, Launch Perspective and Launch Session, and the View you're seeing in the background here has already been configured on the root page for this project here, so you can see it already in my browser. Now, let's make a change. So I'm going to grab the Label that's in the Designer here, and I'm just going to move this down a bit. Now I'll also move my Designer down, just so you can see what happens here. We'll save our project, hit save again, and you can see that the Label moved. So if I move my Designer out of the way, the text is down there now. And again, I didn't really have to do anything in the session, it just automatically updated. Now in some cases, you may want to push out a notification letting your users know that there is an update coming. This is useful in applications where you have any sort of data entry from your users. It gives them a chance to basically wrap up their work, before the updates come. You can turn these on back in the designer. If you go over to Project Properties, and under the Perspective section there's a general area, and this top check box at the top turns on those update notifications. I'll enable this, and you can see that there's some text, which I can make changes to and modify if I want. This is the text that's going to appear in the notification. Now you can see that there's this little "time left" inside of curly brackets here. That basically represents the current timeout period. So it lets the user know how much time they have until the update happens automatically. So if the user doesn't respond, we'll still update automatically, the users don't have to do anything. Now in the interests of time, I'm going to reduce the timeout here to five seconds. So let's hit OK and you're going to notice this immediately. So if I again move my Designer out of the way, if I hit save, and save again, you can see that they get a little project update area, and there's also a timer that's counting down, until the session gets updated. Now that was kinda boring, let's actually make a change. Let's go to our Component Palette and under the Display category, I'll just grab a Cylindrical Tank. Let's place that on the View somewhere, and let's try that again. So we'll save, we'll save again, we get our banner and you notice that there is actually an "Update Now" I can just click on. So either when the timeout period expires or I click Update Now, the tank's suddenly appeared. So again, the default behavior for your sessions is to automatically push out any changes anyone makes when you hit save, but of course you can always opt in to these notifications.

You are editing this transcript.

Make any corrections to improve this transcript. We'll review any changes before posting them.