NetTalk Central

Author Topic: Finding Correct Embed Points  (Read 3768 times)

Jim A

  • Full Member
  • ***
  • Posts: 203
    • View Profile
    • Email
Finding Correct Embed Points
« 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

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Finding Correct Embed Points
« Reply #1 on: September 12, 2016, 07:19:16 PM »
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

Jim A

  • Full Member
  • ***
  • Posts: 203
    • View Profile
    • Email
Re: Finding Correct Embed Points
« Reply #2 on: September 13, 2016, 02:47:06 AM »
Thanks Kevin.  I'll give that a shot.  Appreciate the help.