iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi,I need to set NotifyWindowURL property of a WebNotification object that activates from client side using java script?I have added one line myNotification.NotifyWindowURL = "http://www.intersoftpt.com/" to Button1_onclick() function posted athttp://www.intersoftpt.com/Community/WebDesktop/webnotification-event-based/
function Button1_onclick() { var WebNotify = ISGetObject("WebNotification1"); var myNotification = WebNotify; myNotification.ContentText = "This notification is sent from button click. Check it out!"; myNotification.CaptionText = "NotifyWindowURL does not work"; myNotification.NotifyWindowURL = "http://www.intersoftpt.com/" WebNotify.Notify(myNotification); }
WebNotify.Notify(myNotification) launches a notification, but makes myNotification.NotifyWindowURL undefined. So click on the notification opens a page like http://MyWebPage/undefined. Thanks,BJay
Hi BJay,
I've analyzed your problem. If you want to open new window when you click WebNotification to your desired page you can used this code:
function Button1_onclick() { var WebNotify = ISGetObject("WebNotification1"); var myNotification = WebNotify; myNotification.ContentText = "This notification is sent from button click. Check it out!"; myNotification.CaptionText = "NotifyWindowURL does not work"; myNotification.NotifyWindowClickable = true; myNotification.NotifyWindowURL = "http://www.intersoftpt.com/"; myNotification.NotifyURL = "http://www.intersoftpt.com/"; WebNotify.Notify(myNotification); }
You can put NotifyURL attribute inside your WebNotification in client-side. It works fine here if I used this code. You can try to implement this code in your local end. And please tell me if this matter still happen on your local end. Hope this helps.
Regards,Bernard
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname