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 - de la Rosa

Pages: [1] 2 3
1
Hi Bruce,

In the NetWebBrowse field OnClick javascript embed point, if I try to enter anything, devtools responds as follows:

nt-idb.js:508 Uncaught DOMException: Failed to execute 'transaction' on 'IDBDatabase': One of the specified object stores was not found.
    at doGet (http://192.168.7.123:88/scripts/nt-idb.js:508:35)
    at idbOpen (http://192.168.7.123:88/scripts/nt-idb.js:84:20)
    at idbGet (http://192.168.7.123:88/scripts/nt-idb.js:506:2)
    at V.<computed>.<computed>.clickRow (http://192.168.7.123:88/scripts/jquery.nt-browse-ls.js:389:3)
    at a.<computed> [as clickRow] (http://192.168.7.123:88/scripts/jquery-ui-1.13.2.custom.min.js:17:10)
    at HTMLDivElement.<anonymous> (http://192.168.7.123:88/scripts/jquery-ui-1.13.2.custom.min.js:26:955)
    at Function.each (http://192.168.7.123:88/scripts/jquery-3.7.0.min.js:2:3129)
    at ce.fn.init.each (http://192.168.7.123:88/scripts/jquery-3.7.0.min.js:2:1594)
    at V.fn.<computed> [as ntbrowsels] (http://192.168.7.123:88/scripts/jquery-ui-1.13.2.custom.min.js:26:773)
    at V.<computed>.<computed>.clickRow (http://192.168.7.123:88/scripts/jquery.nt-browse.js:598:27)


- Under Javascript, there are two entry fields,  onclick and javascript, what is the plain javascript for?

2
Web Server - Ask For Help / Inserting a record in idb
« on: October 01, 2023, 05:17:20 PM »
Hi,

Can I request a sample javascript to properly insert a record in an idb table using database.js device table example as follows:

{ name: "device",
      syncproc: "syncdevice",
      objectStore:{},
      everythingafter:0,
      primarykeyfield: "guid",
      timestampfield: "ts",
      servertimestampfield: "sts",
      deletedtimestampfield: "dts",
      indexes: [
        {name:'timestampkey',unique: false, fields:["ts"]},
        {name:'servertimestampkey',unique: false, fields:["sts"]}
      ],
      relations: [
      ],
      record: {
        guid:"",
        ts:0,
        sts:0,
        dts:0,
        syncurl:"",
        mobileno:"",
        email:"",
        user_name:"",
        password:"",
        description:"",
        lastsyncdate:"",
        lastsynctime:"",
        registered:0
      },

     I was thinking of doing it as follows but not so sure of the proper usage:

    database.device."guid" = Math.random().toString(36).substr(3,8).toUpperCase() + Math.random().toString(36).substr(3,8).toUpperCase();
    database.device."ts" = 0;
    database.device."sts" = 0;
    database.device."user_name" = ' Sample Name";
    idbWrite(database,device,record,fromSync,oncomplete,onerror)

    Thanks,
    Vic

3
Web Server - Ask For Help / Saving QR Code to an ImageFile
« on: March 05, 2022, 05:18:04 PM »
Hi,

In the below Code, the QR Code is generated in the Element defined by ElementID, how can I save the generated QR image to an image file on disk where it can be retrieved and displayed elsewhere?

    Glo:st.remove('<123>')
    Glo:st.remove('<125>')
    Glo:st.remove('<10>')
    Glo:st.remove('<13>')
     
    ElementData = 'QRDisplayForm?RefNo =' & p_web.GSV('RefNo') & '& CustID =' & p_web.GSV('CusttID')
     
    ElementID = 'Ticket_QR'
       
    p_web.script('generateQrCode('& '''' & CLIP(elementID) & '''' & ',' & '''' & Clip(ElementData) & '''' & ');')




TIA
Vic


4
Web Server - Ask For Help / OfficeInside in NT WebServer
« on: September 11, 2020, 07:59:09 PM »
Hi,

Is there a way for the "Choose file to upload" in Excel.Import() to get the file from the web app client workstation instead of the app server? Or whatever can be done to accomplish it?

Vic



5
Web Server - Ask For Help / How to create a Multi DLL with WebServer
« on: July 16, 2020, 10:37:07 PM »
Hi,

I tried example 20 and it worked fine with the Main/Chat example. I even renamed the Chat window to ChatWindow to differ with the chat.app name and it was fine. But when I tried to add a WebServer Window in the Chat.app, the chat app still compiled fine, but the main.exe results in Unresolved External WEBSERVER@F in Main001.obj - That's even when the WebServer is found defined in the EXP file.

Thanks for any help.

Vic

6
Hi Bruce,

How do I specify a "channel:name" in the host variable to display in a NetWebform for websocket derived variable?

Thanks,
Vic



7
Web Server - Ask For Help / Performance Control dependency Question
« on: May 03, 2019, 07:32:33 PM »
Hi,

If my application has several NetWebServer instances listening to different ports, which instance does the performance control defaults to? is it possible for the performance Tab to monitor a particular NetWebServer instance? In particular I'm trying to enable websockets on a NetWebServer instance and would like to know whether the websocket connection is being opened as my watch variable doesn't seem to get updated. At the moment, once there are two or more NetWebServer instances, the Performance Control stops working.

Thanks,
Vic
 

8
Hi,

How can I print from a Mobile device's NetWeb app to a bluetooth connected printer?

Thanks,
Vic


 

9
Web Server - Ask For Help / NetWebBrowse Paging using memory table
« on: March 22, 2019, 12:22:37 AM »
Hi,

My NetWebBrowse paging works fine in tps or SQL tables but displays only page 1 when using memory tables. When NEXT page button is clicked page displays No Records

Vic

10
Web Server - Ask For Help / PWA Development
« on: November 16, 2018, 11:02:57 PM »
Hi,

1. The requirement that PWA be in HTTPS, will it matter if it has a self-signed certificate (meant for Intranet deployment) ?

2. Will it be limited to native/hybrid/disconnected apps or will it also work with web apps?

3. How does it differ to a web app that was "pasted to home screen" thru the browser considering the all the resource files would have also been downloaded when accessed, assuming no local database access ?

Vic

11
Web Server - Ask For Help / Basic Mobile mBuild compile error
« on: November 06, 2018, 12:23:43 AM »
Hi,

1. I'm trying to mBuild the Basic Mobile example and I get this can't find PIE.htc file error as attached.

2. Where do I expect the zip file to be created?

TIA
Vic

 

12
Web Server - Ask For Help / NetWebService Question
« on: September 05, 2018, 06:48:38 PM »
Hi Bruce,

1. I have a NetWebClient sending a 512-byte structure to a NetWebserver NetWebPage. On the WebServer side, I de-randomized incoming data to avoid choking the SQL backend  by buffering to a memory table and reading off the buffer at intervals. - I get memory error with this setup.

2. To limit memory usage, I limited the no. records to buffer anyway the clients re-sends after a few minutes if it doesn't get any confirmation back. - No Memory errors.

3. But when about 150 or more clients simultaneously sends data, the NetWebPage stops receiving data. Threaded Pool didnt make a difference.

Question:

1. Will a NetWebService be able to handle simultaneous data better than a NetWebPage?
2. If yes, can I override what method to run on the NetWebService (if necessary) so I don't need to change the URL being posted to by the Clients?

Thanks,
Vic



13
Web Server - Ask For Help / Sync Server API template
« on: August 31, 2018, 06:41:12 PM »
Hi Bruce,

1. I noticed that Max Records is not being sent in the json coming from the ServerSync on the client side. So while the client limits the no. of records being sent, the return has no limit.

2. The default external name of everythingAfter  has the "A" capitalized so it fails json parsing.

Thanks,
Vic


14
Web Server - Ask For Help / NT10 Apps Sync Setup issue
« on: August 03, 2018, 07:53:52 PM »
Hi,

I tried changing the Host URL to a variable, then to a LAN IP 192.168.1.141:88 then finally back to the default http;//127.0.0.1:88 but the Log kept to the variable name and never changed Host from the default localhost:88 as you can see form the attached screen shots.

Is there anything I'm not doing right?

Thanks,
Vic

15
Web Server - Ask For Help / Disconnected Mobile app
« on: May 23, 2018, 09:01:39 PM »
Hi Bruce,

Where is a good place to look for resources on how to access phone API such as activating Alerts in JS in disconnected Apps?

Thanks,
Vic


Pages: [1] 2 3