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 - rjolda

Pages: [1] 2 3 ... 9
1
Hi All
NT 14.16  C11
I am trying to give the user the option to display browses and forms in Table or in Flexbox. (As an old guy, I like to see things in tables and they make more sense) - so, I vote for Tables and if I am going to look at them on a mobile device, I will turn the display to horizontal to see the whole table width.   The young kids consume their web data differently and like the flex box display. 
So, I know that I can set the defaults in Web Server and it sets: 
s_web._SitesQueue.Defaults.FormLayoutMethod = Net:Table   [for Tables]
  s_web._SitesQueue.Defaults.BrowseLayoutMethod = Net:Table
and
s_web._SitesQueue.Defaults.FormLayoutMethod = Net:Div   [for flex grid]
  s_web._SitesQueue.Defaults.BrowseLayoutMethod = Net:Div
  s_web._SitesQueue.Defaults.ChildrenLayoutMethod = Net:Div

Each procedure calls a local layout method which is either from the  SitesQueue:
  loc:LayoutMethod =  p_web.site.BrowseLayoutMethod
or is set at the procedure level something like:
   loc:LayoutMethod =Table

I want to give each user the ability to use the Table or FlexGrid option to view their data - I anticipate giving them a default setting on login or run-time.

QUESTION:  What is the easiest way to do this?

I may be able to replace the value of  s_web._SitesQueue.Defaults.FormLayoutMethod = Net:Table    with s_web._SitesQueue.Defaults.FormLayoutMethod = Net:Div and give the user a choice.  Is that a good idea or will this change it for all users?  I think it will change it for only the current session but I am not certain about that.

I could also trap the s_web._SitesQueue.Defaults.FormLayoutMethod = Net:Div  at the procedure level and replace that with a Session Value that I have set.  I would have to do this for each procedure.

Any Thoughts?
Thanks,
Ron

2
Hi,
C11 NT14.24
I am trying to hide some buttons if a Browse is called as a CHILD BROWSE in a MemoryForm.
Is there something that I can trap to indicate that it is a CHILD in a MemoryForm?
Ron

3
Web Server - Ask For Help / Close BROWSE procedure
« on: November 29, 2024, 03:16:56 AM »
Hi,
 C11.0.136    NT 14.21
Bruce offered this to close a FORM  ===>   p_web.ntform(loc:formName,'clickClose')
However, this appears to be for FORMS only.   This appears in Browse code but appears to refer to the FORM for the browse
Question:  How do I close a NT BROWSE procedure in code?
Thanks,
Ron

4
Web Server - Ask For Help / h2 Header styling - trying to apply color
« on: November 20, 2024, 04:43:37 PM »
Hi,
I am trying to apply red color to the h2 header  - I tried in-line styling which did not work.  I want the header h2 line to always be red at the top of the page.
Anyone done this and willing to share?
Thanks,
Ron

5
Web Server - Ask For Help / Sec:Level - Multiple Ranges?
« on: September 02, 2024, 06:19:22 AM »
Hi,
I want to have multiple security level ranges - one for user  - e.g. sec:level = 100 -199 and ANOTHER for Administrators  Sec:Level 995-999.
If possible then How?
Thanks,
ROn

6
Hi
Are there any tricks to getting a good picture of something like a USA drivers license ( 5.5 mm x 8.5 mm) with a cell phone app.  Lots of cell phones now have AI to find and cut out the document in a picture so that all you save is the document itself.  I don't think that NT can engage that feature.   
Any Ideas on how to get a clean document picture?  Editing tools to edit it after taking it? 
NT 14.21  C11.0136
Thanks,
Ron

7
Web Server - Ask For Help / Hide some columns in a browse
« on: July 27, 2024, 02:44:18 AM »
Hi,
NT 14.21  C11.0.136
I want to use the same procedure for displaying 'orders ' to the dealer and the customer.  There are some fields that the customer should not see. 
There is no "Hide" condition for strings in a browse so there must be a more crafty way to do it.
Question: how can I hide one or more fields on a browse display?
THanks,
Ron

8
Hi All,
NT 14.21  C11.0136
I have an NT browse.  I have a string field "SLOT_STATUS".  There is a set of pre-defined values e.g, "EMPTY,OPEN, RESERVED, BROKEN"
In the Browse, I have made the field SLOT_STATUS and EIP field and it is picking the value from a Dropdown which contains the short list of required values.
When I select a value from the dropdown, I always get a VALIDATION error for this field saying that The value is not in the list.
Are there more steps other than checking the EIP box to make it work?
Thanks,
Ron

9
Web Server - Ask For Help / Prompt on Check Box
« on: July 08, 2024, 08:33:42 AM »
Hi,
NT 14.21  C11
I have a check box and I have a Prompt on it.  Check box is Yes/No.
When I Check the Check Box from NO to YES, the PROMPT hides.
How can I stop the Prompt from hiding ( I want it to show all the time...)
Thanks,
Ron

10
Web Server - Ask For Help / API requests requiring login and password
« on: July 01, 2024, 10:21:26 AM »
HI,
NT 14.21  C11.0.136
I have a net talk server with an API method which requires a login and Password.
I have a NetWebClient talking to it.  It intermittently makes several requests to the server within a 2 minute span.
I have the First request of the NetWEbClient logging in ( successfully).
Question:
Do subsequent requests by the same Logged in Client need to have the authorization string included or is the Client get logged in once and then the session ID is remembered until the session times out?  If this is the case, then the authorization string needs to be included on only the first request ?
Thanks,
Ron

11
Web Server - Ask For Help / API and ecec.dll
« on: June 30, 2024, 03:03:07 AM »
Hi,
NT 14.21  C11.0.136
I created an API app which I ran against a temporary server.  The temporary server did NOT require a login.   I have the database method working and the API method working.
I imported the database method to my working Net Talk server and set up a login and password for the kiosk.
I imported the NetWebClient procedure to make calls to the Server and set up a login and password.
Problem:
When I try to log onto my real server,  debug gives me an error that the server was not able to to TLS and could not load ecee.dll.   That dll is present.
Am I missing a setting on my "real" web server?
TIA,
Ron

12
Web Server - Ask For Help / Display QR code - when UN Hidden
« on: June 18, 2024, 02:52:51 AM »
Hi,
NT14.21  C11,=.0.136
I have a form with a QR code which is saved in a file name.  When I pull up the form for the record in a normal fashion, the QR code displays correctly.
I am trying to step through the fields on the Update form in another procedure.  If I unhide the QR code when the procedure starts, it displays correctly.
However, If I hide the QR code when the update procedure starts and then UNHIDE it, all I get is ALTERNATE IMAGE TEXT.
I am calling a refresh of the QR Code on the button that Unhides it. But I do not get the QR code, just the alternate image text.
QR code is in a Type Display.  Sources: Text ( I am not sure if this matters or not...).  Image: FIL:FILENAME IMAGE;  Width = 200;  Height = 200;  CSS: Nt-Left
How can I solve this problem of UNHiding the QR code and getting it to display correctly?
Thank,
Ron

13
Web Server - Ask For Help / Button ID or class for CSS
« on: June 14, 2024, 04:24:34 AM »
Hi
NT 14.21   C11.0.136
I want to be able to identify a button on a form so I can do some css on it.
Here is my button:
<button type="button" name="Button1_3" id="Button1_39ygW" value="Press to Confirm this is the Kiosk you are at" class="nt-flex nt-button nt-button-without-icon confirmKioskButton67 ui-button ui-corner-all ui-widget" data-do="server" data-formproc="a_dropoff_memform">Press to Confirm this is the Kiosk you are at</button>
The id="Button1_39ygW"  has a generated portion which changes with each iteration.  The 'ygW' portion is generated and variable so I can't use this.
The class="nt-flex nt-button nt-button-without-icon confirmKioskButton67 ui-button ui-corner-all ui-widget"  - I probably can use this as the CLASS selector but it is verbose
The  name="Button1_3"  - is unique but name is not a css selector. 
Is my best option to use the class for a selector?
Other options?
Thanks,
Ron

14
Web Server - Ask For Help / Passing parameters on a Button
« on: June 12, 2024, 08:09:07 AM »
Hi,
NT14.21  C11.01
I have a button which calls a procedure.  I need to pass 2 parameters to the procedure.  I am using the GetValue in the called procedure
1. GUID of calling record
2. FROMTABLE     ( I have 2 separate tables which call the same procedure and I need to know which one called it).
On the Parameters button:  I can pass 1 parameter with  'GID=' & FIL1:GUID
However, in trying to pass 2 parameters I can't seem to get it right - compiler errors. etc
This is what I have so far:  'GID=' & FIL1:GUID & 'FROMTABLE =' & 'Table1'
What am I missing ??  Maybe a comma between the 2 values?
TIA,
Ron

15
Hi,
Using NT 14.21  C11.0.136.
I have written an API which is going to reside as part of my secure web server.  It will be used ONLY BY OUR PROGRAM.  It provides useful information ONLY TO OUR Kiosks and never to our users.
I want to suppress the documentation so that the methods and data remain proprietary and undiscoverable.
Can I do this with removing the entries from Documentation tab for Database properties.   i.e. Document Formats:  'XML & JSON & WebEncoded'.   I found the "None" drop for all the documentation.  Will that suffice?
Or is there a better way?
Thanks,
Ron

Pages: [1] 2 3 ... 9