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 ... 11
1
Web Server - Ask For Help / Anyone have passkeys implemented
« on: November 18, 2025, 02:47:01 AM »
Hi
NT 14.31  C11
I am looking into implementing passkeys for secure access to my APP.  Has anyone done any work with these or have any insights?
Thanks,
ROn

2
Web Server - Ask For Help / Net Refresh
« on: November 13, 2025, 04:19:50 PM »
HI
NT 14.31  C11
I want to watch a table to see if it is refreshed.  This works automagically with the Templates for a Browse.
However, When my NetWebServiceMethod makes changes to a File.  e.g "SHOPS.TPS',  when I have other procedures watching the file, they update immediately.
Now, I want to watch the "SHOPS.TPS" with another procedure to see if the record has been updated.  It is NOT a BROWSe or Form.  It is HandCoded.  So, how can I check in code if the "SHOPS.TPS" file has been updated (by checking the Socket value somehow?) so that I know to read the File and grab the new values in my hand code procedure.
Looking at this as an alternative to p_WEB.GSV('Somevalue') set by the NetWebServiceMethod does not appear to the other procedures in my app.
Thanks,
Ron

3
Web Server - Ask For Help / session values in NetWebService not visible???
« on: November 13, 2025, 02:20:25 PM »
Hi
NT 14.36  C11
I have a NetWebService and it has p_web as the parameter. 
I set some sessionValues.  p_Web.SSV('Someitem','one') in the NetWebService procedure.
I have another Net Talk procedure ( actually a Memform not on a table).  I am trying to read the values set by the NetWebService procedure.
e.g.  in my Memform procedure, I want to check these values periodically.  However my p_Web.GSV('Someitem') is ALWAYS blank - even after I see that my NetWebService procedure has set them using Trace statements.
YIKES - these should be working as they are part of the same session.....
Any ideas?
Thanks,
Ron

4
Web Server - Ask For Help / NetClient.Send error??
« on: October 31, 2025, 02:36:56 AM »
HI
NT 14.36  C11.
I added NetRefresh to my NT app.  Now when I Save an Update to a record, I get the following error message:
A nettalk network communication error has occurred.
Error = Anerror occurred while attempting to send a packet from service.
The error number was -12 which means you are trying to send data to someone who is not in the receivers (servers) list.
Error occurred in function (parent) NetClient.Send
ServiceName =  (blank)
Can anyone shed some light on this?  My NetRefresh is not working correctly and maybe this has something to do with it?
Thanks,
Ron

5
Web Server - Ask For Help / NetRefresh
« on: October 31, 2025, 01:47:14 AM »
HI
BT14.36  C11 ABC
I am starting to play with NetRefresh.  I have a case where user B is watching a NT BROWSE on table called  J_SRVREQ.  This Browse is set in NetRefresh Local Extension to Refresh table J_SRVREQ and sending J_SRVREQ.   
I have a client who INSERTS a record into table J_SRVREQ.  The client is set to Refresh J_SRVREQ.  Insert is done using the UPDATE for this table but it is called in code and not from the Browse.
I would think that anyone then watching J_SRVREQ with a NTBrowse which is open (user B) would see that a record was added and NetRefresh would kick in and REFRESH the NTBrowse on J_SRVREQ for any user that has this table open and is using NetRefresh.
However, after client creates a new record for J_SRVREQ, the NTBROWSE on J_SRVREQ is NOT UPDATING - I have to do a manual refresh to see the new inserted record.
What am I missing to tell the user B that the Browse needs to be refreshed when a record is added?

Thanks,
Ron

6
Web Server - Ask For Help / Use DRAW to Create QR Code in NT app?
« on: October 29, 2025, 12:19:02 PM »
Hi,
NT 14.36  C11.0136
I want to generate a QR code with DRAW.  I am currently doing it with ezCam but if I can do it with DRAW it will be much cleaner.
PROBLEM.  DRAW requires an Image.  I have tried creating QR without the Image on a window and it does NOT work.
If I place an IMAGE on the window, I have to DISPLAY the image and then I can write it to a PNG file.
The documents state that displaying the image is optional- however, If I don't display the image, it will not save ( save writes a black square ).
Anyone with insight?
Do I have to try to write it to an Image file in NT first?
Thanks,
Ron

7
Web Server - Ask For Help / Uploading files loc:AcceptTypes
« on: October 13, 2025, 02:20:50 AM »
Hi
C11
NT14.31

I want to limit the file types that get up loaded in the entry type fileupload  to jpg, pdf and bmp.
 
There is a local variable whichi is :     loc:AcceptTypes = 'image/*'
This is set in the template if I check allow images to be uploaded.

How and where can I limit them to uploading ONLY  jpg, pdf and bmp files?
THanks,
ROn


BTW it is embedded in here so I do not have a chance to edit it:
 If Not (1=0)  ! SecFieldHideStateRtn
    ! --- FILE UPLOAD ---
    loc:readonly = Choose(loc:viewonly,'readonly','')
    loc:javascript = ''  ! MakeFormJavaScript
    loc:capture = net:Environment
    loc:AcceptTypes = 'image/*'
    loc:UseHTML5Uploader = 1
    If loc:UseHTML5Uploader = 0 and loc:viewonly = 0
      packet.append(p_web.CreateInput('File','JSRV:Envelope_photoname',p_web.GetSessionValueFormat('JSRV:Envelope_photoname'),loc:fieldclass,loc:readonly,loc:extra,,loc:javascript,p_web.PicLength('@s199'),'Press to select or take a picture of keys or envelope to upload','dropPhoto',,'',,,,'SM_UpdateJ_SRVREQ_SMALL_SCREEN',loc:AcceptTypes,loc:Capture,'')  & p_web.CRLF)
    ElsIf loc:viewonly = 0
      loc:fieldclass = p_web.combine(loc:fieldclass,' nt-fileinput')

8
Web Server - Ask For Help / Need to Trap CLOSE of MEMFORM
« on: October 10, 2025, 04:01:36 AM »
Hi
C11
NT 14.31
I have a MEMFORM. Generate form tag is Checked ON. The button which calls this form sets the action to CHANGE.
On the form, I turn on a light over the selected BIN.   
I have a Button which the user presses to confirm that they have placed an item in the lit up bin.  This turns OFF the bin light.
However, If the user decides to NOT do the operation - and press the CLOSE button, I need to trap that and turn off that bin light.
SO far, I have not been able to trap any events or stages in the web form.
Do I need to trap the ajax for the CLOSE button and use that to check the bin light status?
If so, how and where would I do that?
Other suggestions?
Thanks,
Ron

9
Hi,
Clarion C11
NT 14.36
I have a report which prints to PDF using Net Talk Extension to report procedure with SV PDF Generator.
When I do not include a picture on the report it is blazing fast.
When I DO include a picture on the report it bogs down and takes about 4 seconds.... but it does print correctly.
Picture is 3.4 Mb ( from phone camera).  It is full color - however, I don't need to print color as most places will probably print b/w.

So any way to speed up the printing with the photo?
Should I use a different PDF generator??

I did some digging and PDF can be printed as an image and a few other things.  However, I don't see any settings for PDF print.

Any insight or suggestions appreciated. 
Thanks,
Ron

10
Web Server - Ask For Help / Uploading a picture file from mobile device
« on: October 04, 2025, 05:03:34 PM »
Hi,
NT 14.31 and C11.0
I would like to give my customers the ability to take a photo on their mobile device ( not using webcam but using the mobile device camera which saves the picture to their device).  I would then like to let them be able to select that picture file and upload it to the server.   I apparently would need a Form.  Will this work on a mobile device?
Any suggestions or help?
Thanks,
Ron

11
Web Server - Ask For Help / Checkboxes weird out on mobile device
« on: September 22, 2025, 11:49:13 AM »
HI,
NT14.21 C11.  I have a MemForm with multiple checkboxes ( Yes/no) on them. 
When I sit at desktop computer connected to my server, I can bang on these check box fields and they run true - on, off, on, off, etc.
However, from mobile phones, the check boxes which are normally OFF, will get stuck in the ON position when checked ON.  Repeated attempts to click it will not change it.  Stays ON.
However, If I go to another field and click that one and come back to the one that is stuck ON, I can toggle it OFF.
At first I thought this was network delay in the mobile cell signal however, I am not so sure. 
I have repeated this on multiple cell phones and they all react the same. Sometimes the check boxes work correctly and then sometimes they won't change state.
Any thoughts on this?
THanks,
ROn

12
Web Server - Ask For Help / Dark theme and Light Theme - anyone done this
« on: September 13, 2025, 11:49:21 AM »
My users are asking for a Dark theme - especially for mobile screens.  The inverse would be Light Theme.  Anyone have these packaged - LIGHT THEME  and DARK THEME ?
Or at least DARK Theme?
Thanks,
Ron

13
Web Server - Ask For Help / Browser Back button
« on: September 05, 2025, 10:45:32 AM »
HI,
NT 14.21 C11
My young users reflexly swipe the mobile screen from left to right to go back.  In my NT app, it says something like "page is not available - cannot resubmit".  Then they have to log in again, and again, and again..... I understand why it does that but I need some solution for youngsters who have muscle memory in place....
SOO, can I trap the back button and just take them to the INDEX page so they can go back down the menu tree instead of kicking them out of the program and telling them they have violated the rules??
Thanks,
Ron

14
Hi
news.softvelocity.com has become so slow it is not useable.   I am using Firefox and I can download the headers - however, I cannot retrieve any messages..... it just waits and waits.  I had set up a Clarion12 link but that doesn't seem to work for me.  Is this a Firebird issue or a newsgroup issue.   Is there a solution?
THanks,
Ron

15
Web Server - Ask For Help / Icons for Menu
« on: August 12, 2025, 03:42:54 PM »
Hi All,
Struggling to figure out this ICON stuff, especially Icons in CSS. 
NT 14.21  C11
I have added the fontAwesome.css to my app.
I have a Menu item: HOME  to which I added the Icon:  'fas fa-heart' .   Great!  I get  a black heart on my HOME button.  But, I want a RED heart icon.  I tried various permutations to get a RED heart but no luck. 
e.g 'fas fa-heart' & 'style="color:red;"'   No luck.
There has to be a trick to this with some specific NT language.
Anyone can help?
Thanks,
Ron

Pages: [1] 2 3 ... 11