NetTalk Central

Author Topic: Using group.queue as parameter in af webservice method  (Read 2652 times)

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 431
    • View Profile
    • Email
Using group.queue as parameter in af webservice method
« on: February 28, 2024, 01:07:16 AM »
Hi

I'm trying to use a group with a queue as a parameter but can't compile the app. It looks like the group is being treated as a queue.
I have attached an example showing my challenge.
Can someone help me to understand.

Regards Niels


Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Using group.queue as parameter in af webservice method
« Reply #1 on: February 28, 2024, 09:48:40 PM »
looks like a bug in the template - fixing for the next build.

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 431
    • View Profile
    • Email
Re: Using group.queue as parameter in af webservice method
« Reply #2 on: February 28, 2024, 10:35:14 PM »
Thanks. Any temporary solution until then?

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Using group.queue as parameter in af webservice method
« Reply #3 on: February 29, 2024, 06:43:09 PM »
in netweb.tpw; around line 26476, connect out this block;

  #For(%tempList)
  Add(%TempList) 
  #EndFor

as in

#!  #For(%tempList)
#!  Add(%TempList) 
#!  #EndFor

Cheers
Bruce

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 431
    • View Profile
    • Email
Re: Using group.queue as parameter in af webservice method
« Reply #4 on: February 29, 2024, 10:24:51 PM »
THANKS!