NetTalk Central

Author Topic: NetWebServiceMethod returning queue  (Read 1336 times)

jlavera

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Email
NetWebServiceMethod returning queue
« on: May 07, 2021, 08:58:34 PM »
Hi,

I'm trying to use a NetWebServiceMethod to return a local queue, because I have to take fields from different files and make some calculations. I use the QUEUE return type option, which has two tabs, Options and Fields. My problem is it seems to not be taking the Fields tab at all, it doesn't matter if I select a different order for the fields, or try to omit some of the fields. This is not working. It is returning the queue's fields as they are defined in the local data.
I'm using NT 11.43, but I don't see any history comment related with this in any later version, and I don't find this in the docs.
So, what is the Fields tab for? Is it really being ignored, or I'm missing something?

Kind regards,
Jorge Lavera

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11155
    • View Profile
Re: NetWebServiceMethod returning queue
« Reply #1 on: May 09, 2021, 10:26:32 PM »
So the fields list is for _excluding_ fields, not including them (at least for the queue).
So if you want to exclude some of your fields then add them here, and tick the "private" attribute on.

The field-order on this tab will not matter - the order inside the queue structure is used.

Cheers
Bruce