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.
1
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.
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.
2
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.
I never print the PDF file but if the user wanted to they could not sure why.
3
Web Server - Ask For Help / Re: Problem with invoice lines, guids and barcodes. +multi tenant
« on: October 22, 2022, 12:32:53 AM »
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'
Access:Scanned.Open()
Access:Scanned.UseFile()
Clear(SCA:Record)
SCA:GUID = Glo:ST.MakeGuid()
SCA:ScanDate = Today()
SCA:ScanTime = Clock()
SCA:ItemScanned = p_web.GetSessionValue('ScannedItemField')
Access:Scanned.TryInsert()
Access:Scanned.Close()
End !If Despatch Note
You can play a sound of Good or Bad entry - you make the sounds
p_web.Script('ntPlay("/sounds/good.mp3");')
or
p_web.Script('ntPlay("/sounds/bad.mp3");')
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)
p_web.ntForm(loc:formname,'ready')
! 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.
Cheers
Vinnie
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'
Access:Scanned.Open()
Access:Scanned.UseFile()
Clear(SCA:Record)
SCA:GUID = Glo:ST.MakeGuid()
SCA:ScanDate = Today()
SCA:ScanTime = Clock()
SCA:ItemScanned = p_web.GetSessionValue('ScannedItemField')
Access:Scanned.TryInsert()
Access:Scanned.Close()
End !If Despatch Note
You can play a sound of Good or Bad entry - you make the sounds
p_web.Script('ntPlay("/sounds/good.mp3");')
or
p_web.Script('ntPlay("/sounds/bad.mp3");')
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)
p_web.ntForm(loc:formname,'ready')
! 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.
Cheers
Vinnie
4
Web Server - Ask For Help / Re: Problem with invoice lines, guids and barcodes. +multi tenant
« on: October 20, 2022, 11:29:55 PM »
Hi
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.
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.
5
Web Server - Ask For Help / Re: NT12.40 Browse EIP Drop list custom css not working. (Solved)
« on: June 17, 2022, 07:07:21 AM »
Update:
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'
.xxx2>.ui-selectmenu-button.ui-button{
min-width: 85px;
max-width: 85px;
background-color: #B8C838 ;
}
Working great. Just in case anyone else comes across this issue when updating Nettalk versions.
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'
.xxx2>.ui-selectmenu-button.ui-button{
min-width: 85px;
max-width: 85px;
background-color: #B8C838 ;
}
Working great. Just in case anyone else comes across this issue when updating Nettalk versions.
6
Web Server - Ask For Help / Re: NT12.40 Browse EIP Drop css no longer works.
« on: June 01, 2022, 10:44:44 PM »
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.
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.
7
Web Server - Ask For Help / NT12.40 Browse EIP Drop css no longer works.
« on: June 01, 2022, 04:00:05 AM »
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.
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.
8
Web Server - Ask For Help / Re: Clarion 11.1 and NetTalk Multisite Host
« on: March 16, 2022, 11:43:11 PM »
Many thanks Bruce.
9
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.
Cheers
Vinnie
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.
Cheers
Vinnie
10
Web Server - Ask For Help / Re: NetTalk 12 and threads
« on: December 16, 2021, 12:03:16 AM »
Hi.
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.
Cheers
Vinnie
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.
Cheers
Vinnie
11
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.
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.
12
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.
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.
13
Web Server - Ask For Help / Re: NetTalk 12.20 Export XML Fixed in NetTalk 12.25
« on: September 01, 2021, 11:34:50 PM »
Thanks Bruce.
Working perfect in NetTalk 12.25
Working perfect in NetTalk 12.25
14
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
Still not working for me in NetTalk 12.24 going back to NetTalk 12.19
15
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
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