NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: MikeR on September 12, 2017, 12:59:19 PM

Title: Compile error on upgrade from 10.5 to nettalk 10.6
Post by: MikeR on September 12, 2017, 12:59:19 PM
in the ExampleJsonRequest routine of a netwebservice I get the following compile errors for each input parameter

Must specify identifier - C:\Users\Public\Documents\SoftVelocity\Clarion10\Solutions\ClaimsApi\ClaimsApi005.clw:3693,33
Unknown identifier: CLAIMNUMBER - C:\Users\Public\Documents\SoftVelocity\Clarion10\Solutions\ClaimsApi\ClaimsApi005.clw:3693,21

the line in the code is :

  collection.append(ClaimNumber,'**value**')

see attachment for a screen shot
Title: Re: Compile error on upgrade from 10.5 to nettalk 10.6
Post by: MikeR on September 12, 2017, 01:24:26 PM
I think I found the bug in the template generated code Bruce.
The tagname must be in quotes:
eg.
collection.append('ClaimNumber','***value***')

not collection.append(ClaimNumber,'***value***')


Title: Re: Compile error on upgrade from 10.5 to nettalk 10.6
Post by: Bruce on September 13, 2017, 04:19:17 AM
thanks - fixed in 10.07