PDA

View Full Version : Http notifications


WebSpirit Hosting
06-22-07, 19:27
Hello All,
Helm 4 has http notification feature.
I am interested in using that feature. But I do not have documentation about that feature like how will helm pass information about various events.

Example:
Suppose, I want to handle, customer sign up event.
I should know, which variables helm going to pass to my page. So I can check their values and take necessary action. For that I need to know, ids of all variables and standard values of those variables (like event type; so I can determine which event happened).

Can any one tell, where can I find documentation of above things?

Martyn Norman
06-22-07, 21:31
the simplist method would be to write a script that outputs http post data and query string data to the page so you can see exactly what is sent.

can be done with about 4 lines of code

WebSpirit Hosting
06-22-07, 21:38
I think, it works in this way
1. helm will send notification to one page like notify.aspx (which I mention in Account setting > Notification settings)
2. Helm will send notification in following way
for example: notify.aspx?event=customersignup
3. Programmer should use QueryString to find value of event to determine action to be taken.
(Note: event is not actual helm variable, it is just for example)

For using above system, programmer should know all variable ids like event and their standard values (like customersignup to determine type of event).

Please, confirm that in this way system will work. If not please, clarify about how will it work.
Now, please tell me from where I can find names (i.e ids) of variables and their possible values?

WebSpirit Hosting
06-22-07, 21:50
Reply to Martyn Norman (http://forums.webhostautomation.com/member.php?u=3698):

That is also a solution. I must call post script from helm system. I do not know, where to specify script to call for particular event. Also, it should be able to post runtime variables like for customer sign up event, name of the customer, his pin code etc.

Martyn Norman
06-22-07, 22:02
Like any other notification, you have an action (event) that triggers it and you would define the message that gets sent. You can use tagtext for the variable data that helm makes public to you.

WebSpirit Hosting
06-22-07, 22:11
Hello Martyn,
I got it,
We need to handle events like windows events.

Can you tell me where should I do I these things in helm 4 CP?
Where can I find relevant documentation with examples?

WebSpirit Hosting
06-23-07, 05:06
Reply Martyn Norman:

Do you mean that
1. For each event I have to define different http notification and it will automatically called when event trigers.
2. And I can use TagText button variables.

3. Do I have to add scripts in Generic
Home (http://helm4demo.webhostautomation.net/Interface/default.aspx?AccountId=1) > Account Settings (http://helm4demo.webhostautomation.net/Interface/Account/AccountSettings.aspx?AccountId=1) > Action Notifications (http://helm4demo.webhostautomation.net/Interface/Notification/ActionNotifications.aspx?AccountId=1) > Action Notification Templates (http://helm4demo.webhostautomation.net/Interface/Notification/ActionNotificationTemplates.aspx?AccountId=1&Action=CustomerSignup) > Create Action Notification Template (http://helm4demo.webhostautomation.net/Interface/Notification/ActionNotificationTemplateAdd.aspx?AccountId=1&Action=CustomerSignup) section for each event ?
4. And that script get executed after that event?

Please, confirm this?

PS: I checked online help; but I could not locate help of this t

JonC
03-28-08, 20:12
Martin,
You mentioned in this post..
"the simplist method would be to write a script that outputs http post data and query string data to the page so you can see exactly what is sent. can be done with about 4 lines of code"
Can you please let me know where I can find more information on how I can get using the HTTP notifications. I'm having a really hard time with the internal notifications, and email notifications not always working correctly.
http://forums.webhostautomation.com/showthread.php?t=21638&highlight=http+notifications

DXD
03-28-08, 21:15
I would be suprised if the external notifications work any better then the internal ones.

JonC
03-31-08, 18:21
Thanks, I have a ticket in with WHA about it now, expecting help from them on this..