NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Niels Larsen on February 28, 2024, 01:07:16 AM

Title: Using group.queue as parameter in af webservice method
Post by: Niels Larsen 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

Title: Re: Using group.queue as parameter in af webservice method
Post by: Bruce on February 28, 2024, 09:48:40 PM
looks like a bug in the template - fixing for the next build.
Title: Re: Using group.queue as parameter in af webservice method
Post by: Niels Larsen on February 28, 2024, 10:35:14 PM
Thanks. Any temporary solution until then?
Title: Re: Using group.queue as parameter in af webservice method
Post by: Bruce 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
Title: Re: Using group.queue as parameter in af webservice method
Post by: Niels Larsen on February 29, 2024, 10:24:51 PM
THANKS!