NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: dcpeders on June 20, 2013, 07:35:07 AM

Title: Web39 Message Log - How to get MAI:MailBoxName in message log?
Post by: dcpeders on June 20, 2013, 07:35:07 AM
I am experimenting with WebApp 39 MessageBox, using clarion 6.3 and Nettalk 7.10

In the embed for the mailboxes browse control "Call clicked    routine", I am adding: message(MAI:MailBoxName), but it comes up blank in the log file.

Is there a formatting issue in the message or do I need to some how load the session values first?

Thanks,

Dave Pederson
Title: Re: Web39 Message Log - How to get MAI:MailBoxName in message log?
Post by: Bruce on June 20, 2013, 07:43:08 AM
Hi Dave,

when the user clicks on a row the rowID is sent to the server, and the server sets the session value of that ID. At that point it does not fetch the record from the disk, and it does not prime any of the other fields (session value or not.)

In other words;
message(p_web.GetSessionValue('MAI:MailBoxNumber'))
will work, but if you want any other part of the MAI record, you'll need to open the table, and read the record yourself.

cheers
Bruce

Title: Re: Web39 Message Log - How to get MAI:MailBoxName in message log?
Post by: dcpeders on June 20, 2013, 07:46:01 AM
Thanks again Bruce, getting my head around the web is taking some time.

I like the message box log.

Dave