NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Bruce

Pages: 1 ... 4 5 [6] 7 8 ... 736
76
In Secwin I do it on the same form, but on a different tab.
Depending on the user, you can make the tab required, or not.

77
Web Server - Ask For Help / Re: Websocket - javascript
« on: February 12, 2024, 04:09:55 AM »
post an example app Niels.

78
Web Server - Ask For Help / Re: Limit number of login attempts
« on: February 11, 2024, 10:34:03 PM »
I mean, I guess, why? What does forcing them to the index page after 5 attempts do, that they can't do themselves?
I'm curious as to your real goals here....?

79
Web Server - Ask For Help / Re: Forms behave strangely in version 14.17
« on: February 11, 2024, 10:32:32 PM »
Thanks to Niels posting an example (or noting which shipping example that shows the effect_ the open/close issue is fixed for 14.18.
I suspect Osa's report is based on the same root problem, and is also fixed.

I don't have an example of your issue yet Vinnie, so unfortunately no way to debug that yet.

Cheers
Bruce

80
Web Server - Ask For Help / Re: Email from browse menu button
« on: February 08, 2024, 01:10:29 AM »
14.17 is up.
It contains an option "send to server" in the browse menu item options.
This triggers a browse event "menuitem" which you can handle in the TakeEvent routine.

81
Web Server - Ask For Help / Re: Help with NT 14.13 API
« on: February 05, 2024, 05:31:31 PM »
ahh, the joys of auto-numbering. Boy am I glad I've left that behind. It's 'orrible.

I presume we're talking about client-side auto-numbering here?

Cheers
Bruce

82
Web Server - Ask For Help / Re: NT browse CELL Border
« on: February 05, 2024, 07:17:10 AM »
CSS questions are best asked and answered in the User Group meeting on Thursdays.

83
Web Server - Ask For Help / Re: Help with NT 14.13 API
« on: February 02, 2024, 05:03:54 AM »
>> In my EDC_Enrollment API method, I allow the user to do an insert into the Enrollment tps file.  Is there a way to make this conditional? 

<< For example, they will pass an InstitutionID and I will do a lookup into the Institution tps file to see if it is valid.  I thought I might do this lookup in the InsertRecord:PatientEnrollment, Before Add embed.  See the attached image.  If the InstitutionID is not found, how can I stop the Insert action and send back an error message about the InstitutionID not being found?

In the spirit of "teach a man to fish" rather than just parrot out the answer, I think it will be helpful if you look at the generated code for the method, perhaps in the embeditor, and spend a bit of time understanding the flow.

There is a (very simple) solution - (hint - it involves p_web.AddServiceError) - but see where the InsitutionID is parsed, add your validation code there, and set an error if it's not valid.

84
Web Server - Ask For Help / Re: Help with NT 14.13 API
« on: February 02, 2024, 04:59:57 AM »
>>  What if they use the header like "Authorization: Basic ZGVtbzpkZW1v", to pass the username and password.  Does NT resolve this for me or do I need to decode this in the Webhandler Authenticate embed?

The username and password are parsed out for you, and passed into the authenticate method as username and password parameters.
You then add code there to determine if you're happy with those credentials, or not.

85
Web Server - Ask For Help / Re: HTML text not displaying in view form
« on: January 30, 2024, 10:01:55 PM »
that's a very different error, and unrelated to this hread. Start a new thread with that question Rene.

86
Web Server - Ask For Help / Re: Email from browse menu button
« on: January 30, 2024, 10:00:43 PM »
noted. I'll look into both questions later in the week.

87
Web Server - Ask For Help / Re: Email from browse menu button
« on: January 30, 2024, 05:45:17 AM »
so there's no user interface. The user doesn't write a message, or set the to address or anything?
This is just an automated menu item that's something like "send current figures to Steve"
?

88
Web Server - Ask For Help / Re: Email from browse menu button
« on: January 29, 2024, 10:41:30 PM »
I think you need to define what you mean by "send an email".
Is there any user interface here? or is it an automated background send?

89
Web Server - Ask For Help / Re: Help with NT 14.13 API
« on: January 29, 2024, 10:40:32 PM »
Jeff,
this is likely a good question for the User Group Meeting on Thursday, because I have lots of questions for you.

But basically I start with
"Write your code in the ServiceMethod routine".

In other words write the code to do what you've laid out above. Then the parameters and returns become obvious (since they're used by, or created by, your code).

90
Web Server - Ask For Help / Re: WebCam criteria for reading barcodes
« on: January 29, 2024, 10:35:39 PM »
Hi Ron,

Autofocus, sure. but I think they all have auto-focus.
But resolution matters. Cheap PC webcams are typically very low res compared to say the cameras in most phones.
So if you want to scan barcodes from a PC you need aq camera with "good" resolution.

Cheers
Bruce

Pages: 1 ... 4 5 [6] 7 8 ... 736