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

Pages: [1] 2 3
1
Web Server - Ask For Help / Web service JSON input
« on: May 07, 2018, 05:46:48 AM »
I wish to call a NetTalk web service with a JSON string as the input parameter. I have 2 questions:

1. Do I do a GET or POST?

2. What does the url look like?

Thanks,

2
Web Server - Ask For Help / Passing Parameters to a Web Service
« on: May 03, 2018, 05:37:19 AM »
In my testing I've noticed that an & in the data stream can cause problems (when passing the parameter as a string to the url).

Are there other characters that should be off limits?

Also I'm having trouble understanding the "Clarion" way of calling this web service and passing it a JSON string with multiple records. Any sample code excerpts would be very welcome.

3
Your Views and Comments / NT Webinar
« on: May 03, 2018, 04:10:52 AM »
I see the NT webinars have moved to Tuesday each week. Do I need to register for these? If so, how, where?

Thank you,

4
Web Server - Ask For Help / JSON File In and Out
« on: April 25, 2018, 09:31:46 AM »
A vendor wants to "call" a web service with a JSON file as the parameter. I need to process and pass back a JSON file with different information.

The output I think I define as a queue and specify JSON as the return format. How do I handle the parameter input? I would like to drop it in a queue.   

Thank you,

Rich Bowman

5
Web Server - Ask For Help / webserver / webservice compile errors
« on: April 25, 2018, 03:59:30 AM »
Using latest Clarion and NT.

Followed instructions in CIDC 2017 NT book and I'm getting 15 compile errors. See attached screenshot. Tables defined in data dll. The last 2 errors are on a table definition that has an "OVER" attribute.

Any help appreciated.

Thank you,

6
FTP - Ask For Help / Recovering from error message
« on: March 28, 2015, 06:16:36 AM »
I have an ftp process that runs 24/7 to and from an in-house server. When that server is rebooted the ftp process errors. I put a RETURN just before the Parent call in MyFTPControl.ErrorTrap but I still get an error. Attached is a pdf with a screenshot of the error and the code I put in the ErrorTrap procedure.

Suggestions?

Thank you,

Rich Bowman

p.s. Bruce, this is the same situation we corresponded about a few days ago. I thought I should put my follow-up question here.

[attachment deleted by admin]

7
The Rest - Ask For Help / Web Service newbie question
« on: November 11, 2014, 06:33:01 AM »
I have a window with static information and 3 browses. Data for 2 of the browses comes from existing tables.

To build a memory table for the 3rd browse I call 2 web services. The first builds a few records and the second the remaining (total maybe 10 - 12).

The first time I enter the window everything looks and works fine. The second time things look OK but when I close I get an access violation. If I put message statements in to determine where, the access violation happens in different places (which makes me think timing is an issue). If I don't access the web services the window works correctly all the time.

In my window I call the 2 procedures with the web services call one after the other. In the page received embed I process the page and then do a post(event:close window). My code in the window with the browses assumes it comes back right away, like any other call, but while the server I'm calling is on the LAN and is very fast, I know it may or may not return instantly.

My hunch is things are getting tangled up in their underwear because I'm not waiting until the web service is completely finished before continuing to process the memory file in the window with the browses.
 
How can I do this?

Thank you,

Rich Bowman

8
Web Server - Ask For Help / Website UI
« on: March 06, 2013, 12:21:33 PM »
I put together a couple of sample apps using NetTalk 6. Once you figure out how to use it, it will do a lot with little coding. If I'm to use it for our production site however, I need to go considerably beyond where I was in terms of UI. Are there examples of "more than basic" NetTalk driven websites I can look at to see what's possible?

What if I decide to use a web design company to design the UI, complete with menus, drop downs, etc. Can their work (in theory) be integrated into a NetTalk app.

Our company owners are interested in a UI similar to this:   http://webtrack.dunnlumber.com/Products.aspx

Is that possible? With NetTalk only, or NetTalk plus another web design product?

Any advice would be appreciated.

Rich Bowman

9
Web Server - Ask For Help / Browse Sort and Display Problem
« on: August 03, 2012, 05:06:18 AM »
I have a Browse with one drop down list. For one of the selections in the list I use one sort order (call it sort 1), for all the rest I use another (call it sort 2). Both sort orders match keys in the table perfectly.

Sort 2 works fine. Sort 1 displays the last n records (where n is the number of rows in the Browse). The Previous and First buttons are active, the Next and Last are not. When I click either the First or Previous button the screen clears and returns to the drop down list. Her are the prop:order and prop:filter statements:

ThisView{prop:order} = +UPPER(ITM:ProductCode),+UPPER(ITM:FinishSortField),+UPPER(ITM:GradeSequence),+ITM:SizeSortSequence,+ITM:ImasterID'

ThisView{prop:filter} = 'UPPER(ITM:ProductCode) => <39>F<39> AND UPPER(ITM:ProductCode) <= <39>Fz<39>'

I'm puzzled?? Any ideas?

Thank you,

Rich Bowman

10
Web Server - Ask For Help / Browse focus when button clicked
« on: August 02, 2012, 06:42:53 AM »
I have a Browse with a button at the end of each row. Clicking the button pops up a memory form with additional information about the record (no entry all static).

If I click the row then the button everything works fine. If I click the button without first highlighting the row, the additional information for the previous row highlighted displays.

I have checked the boxes to send the Row ID and to send the click to the Server (although I'm a little vague about what this does).

Any suggestions?

Thank you,

Rich Bowman
NT 6.38
SecWin
C8.0.9304

11
Web Server - Ask For Help / Build Problem
« on: July 31, 2012, 03:27:43 AM »
I've been away from NT development for a couple of months. I downloaded 6.38 and I'm running the latest C8. When I try to Generate and Make the app I've been working on, it stops after code generation and produces these 2 error messages:

GEN: web\themes\midnight\nettalk-mobile.css does not exist
GEN: web\themes\midnight\nettalk-ui.css does not exist

It does copy the latest NT files to my Web folder.

Could this be my problem? If so, I don't know what it means.

Thank you,

Rich Bowman

p.s. I tried deleting everything in my Obj, Map and Src folders, but no change.

12
Web Server - Ask For Help / Secwin and NT Struggles
« on: April 03, 2012, 11:17:09 AM »
I'm still having trouble with Secwin and NT. Here's a summary:

I've integrated Secwin 6.09 with my NT 6.26 app. I selected create user and it sent an email. I pasted the link from the email into the browser and was prompted to enter my password twice. When I click Login I get the message "Login does not match the URL correctly". I get the same message from the example app (after I changed it to include my Email server settings). Not sure what this means. I'm sure I'm doing something wrong.

I then deleted the Secwin tables and imported them again. I deleted the Secwin procedures and imported them again also. Now when I access the website, then click on the "Create Login" tab, I get the Debug error message "Error -1 opening file: c:\BscWeb\web\SecwinWebLoginForm_tabchanged". Now I'm really puzzled.

Any ideas?

Thank you,

Rich

13
Web Server - Ask For Help / NT and Secwin
« on: March 26, 2012, 10:16:52 AM »
I've integrated Secwin 6 with my NT 6.26 app. I selected create user and it sent an email. I pasted the link from the email into the browser and was prompted to enter my password twice. When I click Login I get the message "Login does not match the URL correctly". Not sure what this means. Any ideas?

Thank you,

Rich

14
Web Server - Ask For Help / NT 6.26 and Secwin 6.09 Add Secwin Menus
« on: March 22, 2012, 05:58:32 AM »
I just installed Secwin 6.09 and I'm working through the Jump Start. Phase 1, Step 6 says to click on the "Add Secwin Menus" button in the Web Menu Extension. When I do it creates the menus I expect, but also overwrites the last menu I added with a second "Security" menu. The settings in both are the same, including my Procedure name from the one that was overwritten. When I try to delete the second, it deletes but it also changes the first to blank. I exited the app and opened it again with the same result.

I deleted the last menu I added and tried it again, but it gave the same result overwriting the next to last menu I added.

I'm stuck and puzzled???

Thank you,

Rich

15
Web Server - Ask For Help / Design / Implementation Question
« on: March 14, 2012, 12:19:09 PM »
I have a browse with 3 drop down fields. Based on the value from the 1st drop down I want to do one of 2 things. (1) Continue on with the 2nd and 3rd drop down fields and display the browse using Key # 1 and a filter (this is the way it works now). (2) Use a locator and display the browse using Key # 2. The format of the browse in both cases is the same.

I think I can put a condition on the 2nd and 3rd drop down fields so they will not display if field 1 is equal to a certain value, but what about the browse? Is this 2 browses with 1 hidden all the time?

Any ideas?

Remember I'm very "newbie".

Thank you,

Rich

Pages: [1] 2 3