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 ... 3 4 [5] 6 7 ... 736
61
hard to say without an example.

62
Web Server - Ask For Help / Re: Re: Save form as user selects tabs?
« on: March 05, 2024, 11:02:38 PM »
what css class did you add that into?

63
Web Server - Ask For Help / Re: Save form as user selects tabs?
« on: March 04, 2024, 09:29:37 PM »
perhaps make a small example app with your code, to show where you are calling it from etc.

Also, since you are loading the record, I presume your form is in "Change" mode, not "Insert" mode?

Incidentally I _suspect_ that given the new Partial Save functionality, and given that you can turn on validation at the tab level, this could likely be reduced, and even made to work with Insert's. Make an example and I'll play with it and see.

Cheers
Bruce

64
Web Server - Ask For Help / Re: Update LineItem option in Accounts example
« on: February 29, 2024, 07:03:39 PM »
thanks, I'll keep you posted.

65
in netweb.tpw; around line 26476, connect out this block;

  #For(%tempList)
  Add(%TempList) 
  #EndFor

as in

#!  #For(%tempList)
#!  Add(%TempList) 
#!  #EndFor

Cheers
Bruce

66
Web Server - Ask For Help / Re: Mixing Small screens in Web App
« on: February 28, 2024, 10:18:51 PM »
You don't make 2 procedures Ron.
You make 1 procedure that "responds".
the responsiveness is done with CSS and is mostly automatic (although I haven't tested everything for ages, so there may be rough edges that need tidying up.)

The starting point is just to set a global option;
_Global Web Server Extension_
Web Apps tab
"Turn Off pinch-to-zoom" (set this ON)

Cheers
Bruce

67
Web Server - Ask For Help / Re: Update LineItem option in Accounts example
« on: February 28, 2024, 10:15:42 PM »
I see you're just setting a session value.

So your UI for this feature is a "global setting" of some sort (for the user) - not something on the form itself?

68
looks like a bug in the template - fixing for the next build.

69
Web Server - Ask For Help / Re: Processing incoming mail via Postmark
« on: February 28, 2024, 03:07:11 AM »
AttachmentsQueueType      Queue,Type,Name('Attachments')
Name                       STRING(255),Name('Name')
Content                    &StringTheory,Name('Content | StringTheory')
ContentType                STRING(255),Name('ContentType')
ContentLength              Real,Name('ContentLength')
                         End

You don't need to do anything with the length, the StringTheory object will be NEW'd and poplulated for you.

remember to do a
json.DisposeGroup(whatever) at the end of your cod so all the StringTheory objects get disposed.

Cheers
Bruce

70
This document is for NetTalk 14
https://www.capesoft.com/docs/NetTalk14/NetWebRuntimeSettings.htm

Obviously you're using an old NetTalk version, so some of the settings won't be on your version, but the ones you see should be in the doc.

Cheers
Bruce

71
Hi Niels,

I expect you will want to better understand what they are actually asking for. It sounds like they are assuming that "Bearer" means something, and I'm not sure that you (or I) are on board yet with what it actually means (to them). It might be useful to understand where the token comes from, how it works, and so on.

In terms of incoming requests - there's an Authenticate embed in WebHandler which takes a token. (You're probably familiar with the one that takes user and password, used in basic authentication, but there's also one for brearer.) You can obviously add any code you like to authenticate the token in there.

In terms of what the token is, maybe you generate it - or maybe they generate it? Or maybe it's generated by a 3rd-party service (like "log in with google").

Incidentally an example of bearer token authentication is in Secwin 7. Web apps protected with Secwin 7 allow the user to "be remembered". This generates a token, which is sent to the client. This token is then sent back to the server, and evaluated as above when the user reconnects later on. but that's just an example, I don't know what your requirement actually is.

Cheers
Bruce


72
Web Server - Ask For Help / Re: VarnishCheck? slightly NTWS related
« on: February 26, 2024, 02:02:21 AM »
I'm guessing this IP was used by someone before, and set up a health-check.
Follow the link in the User Agent to see if you can turn it off.

73
Web Server - Ask For Help / Re: Update LineItem option in Accounts example
« on: February 25, 2024, 09:21:54 PM »
sure, adapt the example to include the user interface you have in mind.
A "Save, Insert Another" button, or a checkbox, or a global setting, or whatever other UI you think is appropriate.

Then from that UI I can make suggestions as to what might work, or where an alternate UI might be better.

Cheers
Bruce

74
Web Server - Ask For Help / Re: VarnishCheck? slightly NTWS related
« on: February 25, 2024, 09:20:04 PM »
I'm guessing your old server was on AWS? And the new server is on AWS?
And youve got an Amazon Health Check set up on your web server
https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html

?

75
Web Server - Ask For Help / Re: Update LineItem option in Accounts example
« on: February 24, 2024, 11:52:11 PM »
I don' think it's designed to be a session value. The decision is made elsewhere.
Feel free to make an example and post here. I'll take a look, but I'm not sure it's possible to do without writing some JavaScript.

Cheers
Bruce

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