NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Jim A on September 12, 2016, 10:37:29 AM
-
Hi All: Is there a document somewhere that lists the standard embed points and when they get fired in code?
I have an Inventory Browse that includes an Email Button. User presses the button to call a memory Form that gathers the Email info and generates a pdf that gets attached. I would like to have the Email Subject Line populated with the Inventory Make + Model information. On the Browse's Email Button, I ticked on "Send Button Click to Server" and embedded p_web.SSV('MakeModel',clip(p_web.GetValue'(Inv:Make')) & ' ' & clip(p_web.GetValue('Inv:Model')))
When I send info about this to DebugView, it's like the code gets skipped and doesn't exist. When I send Comments to debugview at that point, nothing happens.
My thought was that I should be able to store 'MakeModel' as a session value, and then, when the Form opens I should be able to read and prime the loc:subject field with that info. Both fields are in the Browse's View.
Thanks for any direction.
Jim
C10 NT9.12
-
Hi Jim,
in your instance below you need to store the values before you click the button or send them as parameters to your email procedure.Or use p_web.script after setting you values in embed code to call your email form rather than using the link on the template.
HTH's,
Kevin
-
Thanks Kevin. I'll give that a shot. Appreciate the help.