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 2 3 [4] 5 6 ... 735
46
in netweb.tpw; around line 26476, connect out this block;

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

as in

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

Cheers
Bruce

47
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

48
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?

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

50
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

51
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

52
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


53
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.

54
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

55
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

?

56
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

57
Web Server - Ask For Help / Re: Embed Duplicated
« on: February 24, 2024, 11:50:42 PM »
fixed for 14.19

58
Hi Hector,

you don't say what version you are upgrading _from_.
But in NT12 security settings are provided at runtime on the Server Settings Control template. Which you can populate onto your WebServer window.

Cheers
Bruce

59
Global Setting:
WebServer procedure, NetTalk extension, Settings, Defaults, Browse
Row Clicks option. (I'm guessing you may have it as a single-click rot to form)

Local Override:
Browse procedure, Actions, Form tab, Change Button tab, "DoubleClick Row to Form" option.

cheers
Bruce

60
Web Server - Ask For Help / Re: Responsive design dropdown list
« on: February 20, 2024, 11:51:09 PM »
Hi Hector,

you may need to post an example of what you are seeing in order to get accurate advice.

Cheers
Bruce

Pages: 1 2 3 [4] 5 6 ... 735