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

Pages: [1] 2 3 ... 11
Web Server - Ask For Help / Re: How to open a new a page after insert
« on: February 27, 2023, 03:50:30 AM »
OK so I do this also.
I have a separate Windows exe which prints reports.
The webserver just adds a job to the list and the compiler prints.
Seamless for the user.

Web Server - Ask For Help / Re: How to open a new a page after insert
« on: February 27, 2023, 12:37:40 AM »
After creating an Invoice I also create a PDF file copy of the invoice which the user can download at any time.
I never print the PDF file but if the user wanted to they could not sure why.

Hi Sean,

I am happy to help.

This is what I do.

NetwebForm - (Memory)

Create Local Variable -  ScannedItemField  (name as your require - string 30)
Create Local Variable -  EmptyField ((name as your require - string 1)

Note the extra field is only there so after the first field completes focus moves to the extra hidden field.  You move the focus back to the first field later.
Not 100% sure all this is required now but I have done it this way for so long.

Add Local Variable ScannedItemField to NetwebForm - Type String
Add Local Variable EmptyField to NetwebForm - Type Hidden

Add Procedure to NetWebForm - BrowseProcedure - Show the data entred.

code for  ScannedItemField
     Use NetTalk Template - on  ScannedItemField - Client-Side tab - Server Code - ( I guess you know this)
     Do Your code -
      If Left(p_web.GetSessionValue('ScannedItemField'),3)='200'
      SCA:GUID             = Glo:ST.MakeGuid()
      SCA:ScanDate      = Today()
      SCA:ScanTime      = Clock() 
      SCA:ItemScanned = p_web.GetSessionValue('ScannedItemField')
      End  !If Despatch Note
     You can play a sound of Good or Bad entry - you make the sounds

      Refresh the BrowseProcedure - Use NetTalk Template

Save Form
Look at Code using Embeditor - Find your code  and add the bottom line after to BrowseRefresh template code. Ie next embed point down.

  do Refresh::ItemsInThisBox  !(GenerateFieldReset)
  ! Start of "After Validate New Value, After sending replies"
  ! [Priority 5000]
  p_web.SetValue('SelectField',clip(loc:formname) & '.' & p_web.NoColon('ScannedItemField'))  !!  This puts the focus back to entry field
 Hope this give you an idea but if not I can make an example but good to try yourself.


If I am understanding your problem correctly this is how I do this.

MultiTenant - You select and open the file for that tenant. ( I guess you have that working)

Create a Memory Form.
Add a ScanItemFiled. (to read the barcode or keyboard entry)
Add a Procedure BrowseItemsScanned. - (to show Item scanned)

After you scan the barcode your code gets the record from Mutli Tenant data and saves to the ViewseItemsScanned.

At the end of you code
Refresh the BrowseItemsScanned
Jump back to the ScanItemFiled.  - p_web.SetValue('SelectField',clip(loc:formname) & '.' & p_web.NoColon('ScanItemFiled'))

Just an Idea.


Issue: Browse EIP Drop List, custom CSS not working after NT12.40 update from NT12.39.

I had my custom CSS set on EDIT tab - CSS Class set to ' orderqtyentry'

.orderqtyentry {
max-width: 85px ;
background-color: #B8C838 ;

Bruce has fixed this issue:
Now my custom CSS is set on CSS tab - Column set to Custom and Contents set to ' xxx2' 

min-width: 85px;
max-width: 85px;
background-color: #B8C838 ;

Working great. Just in case anyone else comes across this issue when updating Nettalk versions.

Thanks for reply Bruce.

No question just seeing if anyone  had an issue.

After the change in NT12.40 adding the icon to Drop List

All I am doing is changing the background color and setting max-width 85px

Working perfect until NT12.40

No problem I will work it out.

After upgrading to NT12.40 or NT12.41 from NT12.39
I notice that the  Browse EIP Drop css no longer works.
In NT12.40 
Add: Icon option to Drop fields so drop-down-icon can be customized.
I guess css has been added to display the ICON but my old css no longer works.
I currently set the css in CSS Class on the Allow Eit in Place Edit Tab.
I can not seem to find a fix for this one.

Many thanks Bruce.

Web Server - Ask For Help / Re: NetTalk 12 and threads
« on: December 17, 2021, 12:07:01 AM »
Thanks for the replies.

I think you have msiunderstood the issue.

The issue was not how the Processlink code was added via the embeditor or not.

The issue was that apps that have worked for many years may be effected after NetTalk update 12.26
Fix: Priority of ParentCall generation of WebHandler Authenticate method.

This had a side effect which in very low number of cases effected to code in processlink.

I used Priority to explain where the issue was and how to fix. I am not suggesting that is how to code.

I only mention this in case it catches someone who maybe updating from older version.



Web Server - Ask For Help / Re: NetTalk 12 and threads
« on: December 16, 2021, 12:03:16 AM »

May not be your answer but
Yes this still works with NetTalk 12.29

I did get have one issue a few updates ago (12.2???) when the processlink Priority moved in the Webhandler

Please check the your code priority - Mine set to 4999

Works perfect for me.



Web Server - Ask For Help / Re: Security analysis vulnerability reported
« on: September 30, 2021, 06:00:01 AM »
Hi Gordon.

I am unsure also but if Session needs to be logged in to do anything I guess you are OK.
I suspect Bruce will have the correct answer. Maybe ask at Webineir this afternoon. 

Web Server - Ask For Help / Re: Security analysis vulnerability reported
« on: September 30, 2021, 05:07:08 AM »
If session was able to start in that way the session would not be logged in.
If server is set Change Session ID on Log in / Out the session ID changes

Just my Limited knowledge of this but I am interested in other answers.

Thanks Bruce.

Working perfect in NetTalk 12.25

Web Server - Ask For Help / Re: NetTalk 12.20 Export XML
« on: August 30, 2021, 10:35:26 AM »
I think the fix missed the NetTalk 12.24 build.

Still not working for me in NetTalk 12.24 going back to NetTalk 12.19

Web Server - Ask For Help / Re: NetTalk 12.20 Export XML
« on: August 20, 2021, 02:34:51 AM »
Update 20 August 2021

Tried NetTalk 12.23 and Xfiles 3.25

Export to XML still only displays the browses header data but no browse line data.
Works OK with NetTalk 12.19

Pages: [1] 2 3 ... 11