NetTalk Central

Author Topic: Parameters for static pages  (Read 4100 times)

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Parameters for static pages
« on: June 28, 2017, 07:07:08 AM »
Hi,

I have a static page with <!-- Net:  thingies.
Is it possible to add parameters to the URL of the static page and use these when "calling" procedure in the nettalk-app?

Rene
Rene Simons
NT14.14

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 431
    • View Profile
    • Email
Re: Parameters for static pages
« Reply #1 on: June 28, 2017, 10:37:33 PM »
Easy

www.domain.com?id=1234&id2=5678

p_web.GetValue('id') - return '1234'
p_web.GetValue('id2') - return '5678'

/Niels

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: Parameters for static pages
« Reply #2 on: June 28, 2017, 11:58:01 PM »
Hi Niels,

Thanks

Rene
Rene Simons
NT14.14