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 4 ... 8
16
Web Server - Ask For Help / NT browse CELL Border
« on: February 05, 2024, 05:01:52 AM »
Hi,
NT 14.16
C11.0.136
I am trying to put a border on the cells in one column.  I have set the background and foreground colors using the css property for the field in the CSS tab.
However, I am using the ' Additonal CSS Properties:'  (which I used to set colors)
I ticked "Apply to Whole Cell'
CSS property:  other
Property: 'border-style'
Value: 'dashed'

This really has no effect on border.
What is recommended action to get a border on the cells of one column?
Thanks,
Ron

17
Web Server - Ask For Help / WebCam criteria for reading barcodes
« on: January 29, 2024, 07:04:10 AM »
HI,
NT 14.16
Clarion 11.0.136
I have 3 webcams - 1 is on old Logitec with autofocus, and 2 are generic web cams.  Only the Logitec will identify and read barcodes.  It seems like AUTOFOCUS is the key piece.  Is that correct?
What cameras are folks having high reliability in reading barcodes and QR codes with NT?
Thanks,
Ron

18
Hi All,
Again, I am not sure what to ask but here is the scenario.  I am looking at running a Kiosk with Raspberry PI.  I will have a browser in the kiosk which will connect to the NT server.  It will most likely be Chromium or Firefox for Raspberry Pi.  The kiosk is going to have a number of storage boxes.  At some point when the customer validates information on the NT server, the server will need to send a command to the kiosk ( it will know which kiosk to send the command to - and the kiosk browser will be connected to the NT Server). The command will be something like "unlock drawer #3".  At that point, the browser in the kiosk will send a notice to the onboard serial lock controller to unlock #3.   I just don't know enough about this browser stuff to get a handle on sending information to the remote (non NT browser client and having the non NT client browser act on it.  Seems like something for javascript in the client browser?  I am starting this project with Windows Computer in kiosk so will exchange values with a a NT client running on a web socket and channel.  SO, If I go to Raspberry Pi, how can my NT server send a command to the Browser running on the kiosk?  I am not sure if I can use javascript to program the Raspberry Pi browser to watch a socket or if I need to do an API query from the kiosk browser to NT server on a regular basis?
Any thoughts and insight would be helpful.
TIA,
Ron

19
Web Server - Ask For Help / NT Paths - trying to sort this out
« on: January 22, 2024, 07:08:34 AM »
Hi All,
NT 14.13  C 11.0.136
I am trying to get a handle on PATHS for a web server.   Right now,  I am working only with the WebServer.AppPath .  All my files are in the same directory as my Web Server exe.
I am going to have a different folder for each user. i.e.  User 1 will have folder: C:\User1  and User 2 will have the folder C:\User2. 
I was going to use the SETPATH() once each user logs in and I know their specific folder.  e.g. SeTPATH('C:\User1')  or SetPath('C:\User2').  In this way, they will only see their data.  I know that the NT training book uses Variable file names but I would like to use the Setpath() to get to each data set.
Questions: 1. Is using SetPath() a valid approach to do this?
                2. If  User1 is in C:\User1 directory and UPLOADS a file to the server.   Where will it go?   WIll it go to .web\uploads relative to where the App EXE is running or will User 1 have an UpLoads directory in C:\User1

I have the option of making USER 1 and USER 2 folders beneath the web folder so I am not all over the disk - is that preferable?   
Thanks for any insight.
Ron

20
Web Server - Ask For Help / Saving an image to the \web\images folder
« on: January 20, 2024, 06:56:40 AM »
Hi,
NT 14.13  C11.0.136
I am trying to save an image to the folders beneath the folder from which the web server is running.  I want to save an image to \web\images  folder.
My code saves the image to the folder from which the web server is running (not the desired subdirectory).

            st5.SetValue(imgref)
            SaveFileName = 'IN_' &   p_web.GSV('JSRV:GUID') & '.png'  ! this is the actual dropoff guid as file name
            RelativeFileName = p_web.MakeWebRelative(SaveFileName)
            ER# =    st5.SaveFile(RelativeFileName)  ! for direct save  1 = success, 0 = fail

I thought that p_web.MakeWebRelative(SaveFileName)  would set the save directory to \web\images but that is NOT the case.
How can I get the pictures to the \web\images folder so that the server can find them and display them later?
TIA,
Ron

21
Web Server - Ask For Help / Binary data on web sockets
« on: January 19, 2024, 04:30:41 PM »
Hi.  I am not sure what question to really ask.  It is easier to explain the scenario and then ask the questions.
I have a Kiosk which is running a Windows app and NetWebClient procedure wiht NetWebSocket Client connection to the server.  I want to get rid of the screen on the kiosk and have just a barcode reader on the kiosk.  The users will connect to the Web Server with their cell phone mobile app and request that the barcode reader on the kiosk read the QR code displayed on their cell phone ( we are sending them the QR code with their information.  I would like the user to be able to see the barcode scan on their cell phone so that they can see that the QR code is in the view of the camera to read the barcode.  So, they would be watching their mobile phone to make sure that they position their mobile phone correctly so that the camera can see the QR code.  That is the problem that I am trying to solve.
So, the questions.  Can this be done with a web socket - actually showing the camera image from the kiosk camera through a  Channel and Channel group so that it is specific to them?  If so, what might be the steps to implement this?  What might be other ways of doing this?  We are using a camera so there is no red line or light to line up with the QR code on their phone.  Want to help the users get it right.
TIA,
Ron

22
Web Server - Ask For Help / Icons in Browse Rows
« on: January 15, 2024, 03:30:29 AM »
Hi,
NT 14.13 and C11.0.13630.
I want to replace True/False field displays of 1/0 with a check for True and blank for 0.
Is there an example doing this?
IF not, what is the trick?
TIA,
Ron Jolda

23
Hi All,
Using NT 14.13 and C 11.0.136.
I have some variables in the XHTML of the Page Header:
<!-- Net:s:Dealer-->
  ------>>  Location:
<!-- Net:s:LoginName-->
  ------>>  Location:
<!-- Net:s:tLocName-->
  ------>> Vehicle:
<!-- Net:s:Vehiclee-->
 ------>> Auto Owner:
<!-- Net:s:Owner-->

What I want to do is CHANGE some of the values of the Header variables such as s:Vehicle - when a different vehicle is chosen.

How do I get the HEADER to refresh with the new information?
TIA,
Ron

24
Hi,
NT 14.13  C 11.
I am going to run a Net Talk Secure Web server.  All data is on server.  Users will interact with the Server via mobile devices.  I will have remote windows terminals which will only DISPLAY messages and do actions ( like drop things) upon direction of the server after the mobile user has authenticated themselves.  The Kiosk can run a Clarion APP and can have a login to the NT web server.  The kiosk will ONLY DISPLAY messages from server and do actions requested by server.  There is NOT a lot of communication going on between Server and Kiosk.  Interactions may be 100 in 24 hours.  So, not a lot of traffic.  questions:
1. Should I implement a Secure Socket between Kiosk and NT server - this would be open all the time?
or
2. Is there a better way for server to send messages to the KIOSK in response to Mobile user making requests at the Web server.  So, response has to be timely.
Trying to figure out the best way to implement on NT server and remote Kiosk.   All help appreciated.
Thanks,
Ron

25
Web Server - Ask For Help / Hiding a Tab
« on: November 20, 2023, 07:01:28 AM »
Hi All.  Trying to hide a tab when a form opens depending on the security level of the user ( user vs administrator - user < 900,  admin > 900).
On the Form, the FIELDS tab shows the tab name, EQUATE and HIDE IF columns.  (Implies that I can set a condition to HIDE the tab).
However, FORM TAB has the "Tab Hide IF: greyed out. 
What needs to be set to be able to use the HIDE IF condition?
Thanks,
Ron

26
Web Server - Ask For Help / Mobile App example from CIDC 2023
« on: November 18, 2023, 01:32:14 PM »
HI Bruce,
Did you include the code from your Mobile App that you built for Net Talk Training  on site at CIDC 2023.  I can't find it in downloads or materials.
Is it included in NT14 somewhere?
#2 - I specifically am trying to get a handle in IDB database record that goes on the mobile device.  Trying to see example of the fields it uses and additional fields that I might want to add.
Thanks,
Ron

27
Web Server - Ask For Help / Near Field Communication - Iphone and Android
« on: November 15, 2023, 01:40:37 AM »
Hi All,
Does Nettalk and PWA provide access to Near Field Communication?  I am trying to ascertain that the person at the kiosk location is actually the person who needs to be there - e.g. to pick up a key.  One way is to have the users phone read an NFC tag in the kiosk and report the results.  Is this something Net Talk can handle?  Other ways to verify the correct person at kiosk just using their cell phone - no screen on kiosk - just camera, maybe Near Field to read and maybe a numeric keypad?
Any thoughts?
TIA,
Ron Jolda 

28
Hi All,
Running NT 14.08 and Clarion 11.0.136.   I need to communicate to and from a NetTalk Server and a remote computer running windows ( actually a type of kiosk).  I am going to run a clarion exe on the remote machine.  Instead of trying to tie the remote computers to the tables on the Web Server I am looking at an alternative way of sharing very small amounts of data.  e.g. When a user is verified on the NT server, I want to let the remote computer ( and there will be several remote computers so I need to address a specific remote computer ) have some limited data fields.  Also, when the end user activates the remote computer - actually a kiosk type setup - I need to send the data to the NT server for verification and depending on verification by the NT server, send some limited data back to the remote computer (kiosk) and then the remote computer can perform some duties.  I am not sure if this is a net simple communications need or a set of APIs.  I am sure folks have done this and can offer some suggestions.  The scenario is that the end user can verify themselves with a QR code on their mobile phone which is connected to the NT server OR they can use a RFID on the remote computer( kiosk) to verify locally.  I need to share information between these two. Any insights will be appreciated.
Thanks,
Ron

29
Web Server - Ask For Help / Can Net Talk APP control a local serial port.
« on: October 22, 2023, 02:20:34 AM »
 :NT 14.08
Clarion 11.0.1136
Hi,
I want to be able to send and receive characters from/to a local serial port. I guess it would be like reading a serial barcode reader. 
1. Is it doable?
2. What are the steps and the tricks.
Many thanks,
Ron

30
Web Server - Ask For Help / Net Talk Camera selection
« on: October 20, 2023, 10:42:39 AM »
Hi
Using NT 14.07  Clarion 11.0.136
When taking a photo with a mobile phone - I remember Bruce showing I think a button which allowed the end user to be able to switch between Front and Back camera depending on what they wanted to take a photo of.
I tried setting up a Button but that did not work.
Anyone can supply details on how to allow the end user to change the camera on their mobile phone that they are wanting to use?
Thanks,
Ron

Pages: 1 [2] 3 4 ... 8