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.


Topics - seanh

Pages: [1] 2
1
Web Server - Ask For Help / Download file from menu
« on: April 09, 2024, 08:22:33 PM »
I have a label printer helper program that I want to make available to be downloaded from the help menu of my website.

I'm trying but nothing seems to work.
I've tryed a variation of Web40 download and also just putting the exe name in the URL
The browser just hangs and seems to do nothing.

This should be simple, and I'm sure it is once I find out what I'm doing wrong
So how should I do this?

2
I have a webForm that works fine, mostly. I added the  -File Upload- field to the form to save a file.  As far as I can tell this form is almost identical to the web26 example, except that I save the file to a blob in the record.

Now the file uploads and saves, I've checked in the postgres backend and it's there.

The problem is that I can now no longer edit that row, it just comes up blank.
See attached images

I'm lost as to what's going on.  Any help appreciated.

Nettalk 14.19

3
Web Server - Ask For Help / Add a Save and Continue to edit button
« on: January 19, 2024, 05:54:39 PM »
I want 2 button on a form.
1 being the normal save and return to browse,
2 being a save and continue to edit the form.

Reason:  I like having relational integrity on.  I have a number of tabs on the form with related lists. I only want to be able to show/add to the related tables if I have saved the parent (the row on the form).  Obviously this really only applies when inserting a new record.
How might one achieve this?

4
A Nt webserver using secwin 7 and multi-tenant
Been up and running since late May.
This week so one was able to access anything.
The rights are applied to a group that is normally deny with appropriate procedures set to access.
Login was ok, but nothing at all was available. Looked like the overrides of the group were ignored.
No messages in the log.

This was fixed by restarting the service.  Then back to normal.

Anyone have any ideas as to what went wrong?

5
Web Server - Ask For Help / Form Template Insert another
« on: March 30, 2023, 04:19:33 PM »
In the form template is a drop 'On Save, When inserting:'  With a drop with options: Return to Browse; Insert Another;

Setting this to Insert Another seems to have no affect at all.  Is this normal?

6
I've set some traces in the postInsert routine, but they never fire?

Is this normal?

7
Web Server - Ask For Help / How to open a new a page after insert
« on: February 26, 2023, 11:00:43 PM »
I have an invoice entry form.
After completing I want to print the invoice.
So after saving and before returning to the browse I want to open a new window that will be printed.

Where and What do I do to achieve this?

8
Web Server - Ask For Help / open submenu indented?
« on: January 13, 2023, 08:56:39 PM »
Currently on my app a level 2 menu opens directly below the level 1 item.
This is a real pain because in some you can't easily get to the rest of the Level 1 items

How can you get the level 2 items to be indented a bit to the right?
I've been looking at the menu css but sort of stumped

9
I'm having a little trouble with one browse in particular not always refreshing
It's for stock Items and if I change the description from 'Can of Pashionfruit' to 'Can of Pashionfruits' it doesn't refresh.
It stays that way if I change another row as well.
I can see from the driver logs that the rows are being fetched and they're correct, just the browser doesn't reflect this.
Pressing F5 fixes it.

10
When a session is started I set a couple of session values for later:
            self.SetSessionValue('CurrentTenant_id',SecwinCurrentUser.GetSettingsGuid())
            self.SetSessionValue('CurrentUser_id',SecwinCurrentUser.GetGuid())
These are set in the WebHandler in  p_web.SetSessionLoggedIn

Question now is :  Whats the best way to get the Tenant Name ?   ie the Settings Company Name?

I know I can Fetch the record directly but it seems to me there should be an existant method available at this point, because it's the sort of thing you would want,  but I can't find it.

?

11
Web Server - Ask For Help / web and secwin 7 and menus not hiding
« on: January 01, 2023, 10:02:34 PM »
If, due to security, a top level menu has no items, should it also hide?
It seems the bubbling of security does not go up to the menu level?

12
So a simple POS situation.
Invoice header, invoice lines.
I'm trying to use a barcode scanner to enter the information and go to the next line.

Lines have a Stock item.   Stock item has Guid (PK) Tenant_id, Barcode   I want to store the guid in the line.
Bar code may be in use by multiple tenants so is non-unique. 
I'm logged in under a tenant.    I want to enter the barcode via the scanner, which enters the code followed by an enter key.
I can get this to work if I do a lookup by clicking, but I can't figure out how to make it work entering the barcode via scanner

Any pointers would really help

13
I have an accordian menu on the left.
The setup menu has Sub-menus for the various areas.
But it only shows maybe 3 of 6 menus?  Is there a way to expand this?  or add a slider,  or   ...  I'm open to alternatives.

14
Web Server - Ask For Help / Secwin 7 Multi-Tenant example?
« on: December 10, 2021, 06:04:27 PM »
Is there an example of a multi-tenant web server app available?
I can't seem to find one

15
I currently have a webserver that passes parameters on the url.  i now need to change that to make it harder for people to just type something one the address line of the browser.
I haven't done web stuff for months so I'm rusty.
Whats the best way to acheive this?

Pages: [1] 2