NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Thys on May 21, 2019, 09:28:52 PM

Title: NetTalk 11 template variables?
Post by: Thys on May 21, 2019, 09:28:52 PM
Hi,

Attached is a list of "unknown" template variables that are displayed when I compile an app and get errors. I'm not sure in which these variables are used - I did a search in the Clarion11 folder and couldn't find anything. I need to start somewhere, so I thought that NetTalk 11 might be the source.

Can anyone confirm whether these variables are used in NetTalk 11 please?

Thanks
Thys
Title: Re: NetTalk 11 template variables?
Post by: Thys on May 21, 2019, 09:38:25 PM
I found the variables in NETWEB.TPW and they seem to be part of the NetWebService template.

Any idea how I can get my app compiled without these errors, please?
Title: Re: NetTalk 11 template variables?
Post by: DonRidley on May 22, 2019, 02:12:48 AM
I think they are related to the auto documentation feature in the sync procedures.

Do you have those in your app?  sync and syncSomeTable

Don
Title: Re: NetTalk 11 template variables?
Post by: Thys on May 22, 2019, 02:16:52 AM
There is no syncing done from this app.

The options are presented in the Documentation tab of the NetWebService template dialog box. But there is no way to "switch it off" - the errors are generated for any combination of values that are chosen. So it seems to be something inherently missing in the template.

Thys
Title: Re: NetTalk 11 template variables?
Post by: Bruce on May 22, 2019, 06:59:02 AM
I think you get this if you have a NetWebService method that is _not_ set as "Part Of" a NetWebService.

So check your NetWebServiceMethod procedures, and make sure all are linked to some "parent" NetWebService procedure. (There's a link from the service to the method, and a link from the method to the service, it's the latter link I'm talking about here.)

cheers
Bruce
Title: Re: NetTalk 11 template variables?
Post by: Thys on May 23, 2019, 12:09:58 AM
Thanks Bruce.

Yes, there was ONE method that had another procedure listed as the web service - it was marked as the next one in the list which was another method procedure.

Some other problems now occur, which I'll address in another post.

Thys