NetTalk Central

Author Topic: Two questions  (Read 4158 times)

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Two questions
« on: June 07, 2017, 03:04:31 AM »
Hi,

I am creating a net websource procedure.
The procedure is called with a parametervalue that is constructed like calling a webform without a browse, as described in "the book".
Now I have two problems.

  • I have a hard time getting hold of the parameter value in that procedure (how do I do that?)
  • How do find the real key value that corresponds with the _bdiv_ parameter in the url?

Any help will be much appreciated.

Cheers,
Rene
Rene Simons
NT14.14

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Two questions
« Reply #1 on: June 08, 2017, 06:07:44 AM »
>> I have a hard time getting hold of the parameter value in that procedure (how do I do that?)

p_web.GetValue('whatever')

>> How do find the real key value that corresponds with the _bdiv_ parameter in the url?

you don't use bdiv directly, you go stright to the underlying key fields. for example

p_web.GetSessionValue('cus:id')

Cheers
Bruce

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: Two questions
« Reply #2 on: June 09, 2017, 01:55:24 AM »
That simple huh  :)
Thanks!
Rene Simons
NT14.14