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

Pages: [1] 2 3 ... 27
1
Web Server - Ask For Help / Re: File Upload button on MemForm
« on: May 28, 2024, 12:05:43 PM »
Hi Bruce,

     In preparing the example app web26, I found a solution.  I simply created a local variable (string) and used this in the Field name on the field tab of the File Upload button.  It now uploads the selected file to the uploads folder.

Thanks,

Jeff

2
Web Server - Ask For Help / File Upload button on MemForm
« on: May 23, 2024, 04:12:36 PM »
Hi Bruce,

     I'm trying to use a MemForm, with a single FileUpload button on it, to upload files to the web\uploads folder.  The web log does show the POST /dataupload event but the actual file is not in the uploads folder.  I have tried this running a local exe and also from a server using a dll with the multi-site host.

     I have run the example app, which uses a normal NetWebForm, and the file does get uploaded properly.  Is it possible it won't work with a MemForm?

Thanks,

Jeff King

3
Hello all,

     My co-worker received a message about a new version of Chrome and he updated.  This seems to have fixed his issue.

Jeff

4
Hi Bruce,

     My co-worker did go through the steps outlined in the Learn More link, but still has the issue.  I asked him to check the Java Script console for error messages but have not heard back.  Stay Tuned!

Jeff

5
Hello all,

     I have a co-worker who is running NetTalk 14.20 web apps from his MAC with the latest Chrome browser.  When he clicks on a drop list he gets the Chrome "Aw Snap" error 11 message.  See attached image.  The app does work as expected with Safari on this same MAC.  In addition, the app works as expected on his Windows 11 machine.  Anyone have any thoughts on the cause and a fix?

Thanks,

Jeff King

6
Web Server - Ask For Help / Re: API problem, NT 14.20
« on: April 11, 2024, 11:02:58 AM »
Bruce,

     After looking at the source, I have come up with this:  set  jsonParameter.SetMaxPrefixLength(1) in the Before Loading Parameter embed:

! Start of "Json Setup"
    ! [Priority 5000]
   
    ! End of "Json Setup"
    if json.LoadString(strjson) = jf:ok
      json.SetTagCase(jf:CaseAsIs)
      do FreeQueue:PatientEnrollment
      Clear(q:PatientEnrollment)
      jsonParameter &= json.GetByName('PatientEnrollment')
      if not jsonParameter &= Null
        jsonParameter.SetRemovePrefix(true)
        jsonParameter.SetMaxPrefixLength(Len('Enr') + 1)
        jsonParameter.SetPrefixChars('_')
        jsonParameter.SetTagCase(jf:CaseAsIs)
        jsonParameter.SetGroupName('PatientEnrollment')
        ! Start of "Before Loading Parameter"
        ! [Priority 5000]

            jsonParameter.SetMaxPrefixLength(1)     !my code here, set to either 1, 2 or 3
       
        ! End of "Before Loading Parameter"
        jsonParameter.Load(q:PatientEnrollment)
        ! Start of "After Loading Parameter"
        ! [Priority 5000]
       
        ! End of "After Loading Parameter"


Should this fix my prefix issue?

Thanks,

Jeff

7
Web Server - Ask For Help / Re: API problem, NT 14.20
« on: April 11, 2024, 08:44:43 AM »
Bruce,

     Could you explain how to do this and where?  I have tried numerous embeds.  Also, in the API, what is the name of the JSON object.  I'm not sure how to proceed here.

     Also, there are other fields in the table that use an underscore character, but they get assigned properly.  However, they all have more than 3 or 4 characters before the underscore character.  Is the problem here because BCS_Status has only three characters before the underscore?

Thanks,

Jeff

8
Web Server - Ask For Help / API problem, NT 14.20
« on: April 10, 2024, 12:18:47 PM »
Hi Bruce,

     I have an API set up.  An app in California is the client, sending data to a target tps file called Enrollment.tps on a remote server.  Numerous fields are loaded with data but one is not.  It is called BCS_Status.  In looking at the log in the Multi-site host (this app is a dll app) I do see the JSON, which shows the data is there.  See the attached image.  It shows:  "BCS_Status":"DRTBeforeSurgery", circled in blue.

     Using TPSSCAN I view the Enrollment table and see the BCS_Status field is blank.  All other fields contain data as expected.  I don't understand why this field is not assigned.  My API is set up with the Parameters tab with just the Enrollment table added.  The Returns tab just has two fields inserted.  I'm only allowing this API to do an Insert action.

     I can use Postman to send data to this API and all fields are filled in.

     Any thoughts as to why just one field is not filled when it does show in the JSON?

Thanks,

Jeff King

9
Web Server - Ask For Help / Re: Login window not centered
« on: March 29, 2024, 08:00:24 AM »
Richard,

     Yes, that is correct...I have mine set the same.  However, post a screen shot of the CSS Classes tab so we can see where you have called your custom class.  See the screen shot from my previous post as a sample.

Jeff

10
Web Server - Ask For Help / Re: Multi-Site host question
« on: March 29, 2024, 07:52:11 AM »
Hi Bruce,

     Thanks, not a big problem for me as I only update NT versions periodically or if there is something new I need...like the partial save button fix in NT 14.20.

Thanks,

Jeff

11
Web Server - Ask For Help / Re: Login window not centered
« on: March 28, 2024, 04:08:50 PM »
Richard,

     Jane is correct, see the attached image to see where I added my custom class in the login form template.

Jeff

12
Web Server - Ask For Help / Re: Login window not centered
« on: March 28, 2024, 09:46:18 AM »
Hi Richard,

     I'm working on some NT 14.20 apps today and noticed the same.  Try pressing CTRL-F5, this clears the browser cache and resets things.  Working here to center the login screen.

Jeff

13
Web Server - Ask For Help / Multi-Site host question
« on: March 26, 2024, 05:30:14 AM »
Hi Bruce,

     I have the multi-site host running on two servers.  One host has 8 dll apps running, the other has two dll apps running.  All this runs great.  However, when there is a new version of NetTalk posted, I must recompile the multi-site host and all individual apps with the same version of NetTalk.  Then, copy the dll's and web folders to each server.  This is becoming very time consuming.  Will it ever be possible to mix NT versions of apps in the future?  Or, is there a way to do this now?

Thanks,

Jeff King

14
Hi Bruce,

     Just a quick note that 14.20 has solved the issue with the Partial Save button.  Thanks!

15
Bruce,

     Thanks!  I'll try 14.20 as soon as it is released.

Jeff

Pages: [1] 2 3 ... 27