Search found 19 matches

by alex_izm
January 10th, 2023, 4:01 pm
Forum: Android
Topic: CSEntry 7.3.3 bluetooth error
Replies: 5
Views: 2797

Re: CSEntry 7.3.3 bluetooth error

Dear Harry, This will be fixed in the near future, but for now, if you want to use the Play Store version, what you can do is go to CSEntry app settings on your device and grant permission to "Nearby devices". Here is short clip of what needs to be done: https://i.imgur.com/uFGtdUf.mp4 Alex
by alex_izm
June 13th, 2022, 4:35 pm
Forum: Android
Topic: OnFocus : SetValue Set delay Working on CSPro 7.7
Replies: 3
Views: 2295

Re: OnFocus : SetValue Set delay Working on CSPro 7.7

Turns out this is not a bug in CSPro after all. The described behavior occurs because when execSystem() function is called without 'wait' argument, the camera activity returns the result before the picture is taken, and therefore the field is reentered while image file doesn't yet exist. I've change...
by alex_izm
April 13th, 2022, 1:02 pm
Forum: Entry
Topic: accept function with long text option
Replies: 1
Views: 744

Re: accept function with long text option

Here are the steps to make choice dialog options text not wrap: 1. Create folder "MyDialogs" inside your application folder 2. Locate file choice.html in the "{CSpro installation folder}\HTML\Dialogs" (default on Windows is "c:\Program Files (x86)\CSPro 7.7\html\dialogs\choi...
by alex_izm
March 30th, 2022, 1:07 pm
Forum: Synchronization
Topic: Is it possible Data sync to AWS or Azure cloud
Replies: 1
Views: 916

Re: Is it possible Data sync to AWS or Azure cloud

The process of deploying CSWeb to an AWS Elastic Cloud (EC2) instance is very similar to deploying it to a regular server. Once you have the EC2 instance running you would be able to access it via remote desktop in case of Windows server: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/connec...
by alex_izm
March 15th, 2022, 6:13 pm
Forum: Editing
Topic: batch export
Replies: 2
Views: 2499

Re: batch export

I am not sure I completely understand the requirements. But if the goal is to combine two multiple records (in the same dictionary) for export, using relations is the way to go. Firstly you need to define how occurrences of the two records C_TRAINING_OF_TRAINERS_COURSE1 and C_TRAINING_OF_TRAINERS_CO...
by alex_izm
February 7th, 2022, 4:08 pm
Forum: Entry
Topic: Require in Webwiew
Replies: 4
Views: 1929

Re: Require in Webwiew

I am not too familiar with NodeJS, but it, being an actual server, is quite different from the way JS is used in CSPro currently. In our case we are limited by whatever JS can do in a browser client environment. Therefore, things like wrapping a Bluetooth serial connection is not possible since the ...
by alex_izm
February 4th, 2022, 4:30 pm
Forum: Entry
Topic: Require in Webwiew
Replies: 4
Views: 1929

Re: Require in Webwiew

One way to address this issue is to create a global string variable in your CSPro code with links to all your dependencies and then just embed it in your question CAPI text. For example in your application PROC GLOBAL you can make the following declaration: PROC GLOBAL string links = '<link rel=&quo...
by alex_izm
January 26th, 2022, 5:30 pm
Forum: Entry
Topic: Transfer from CAPI Webview to logic
Replies: 12
Views: 18058

Re: Transfer from CAPI Webview to logic

Here is the JS syntax for calling the function with runLogic and invokeAsync with both jQuery selector function and vanilla JavaScript/DOM: //jQuery/runLogicAsync function ValidateFirstName(inputId) { CSPro.runLogicAsync(`ValidationPrenom("${$("#" + inputId).val()}");`); } //jQue...
by alex_izm
January 26th, 2022, 11:32 am
Forum: Entry
Topic: Transfer from CAPI Webview to logic
Replies: 12
Views: 18058

Re: Transfer from CAPI Webview to logic

$ function is defined in a jQuery library. Have you linked it at the top of your HTML?
by alex_izm
January 25th, 2022, 1:43 pm
Forum: Entry
Topic: Transfer from CAPI Webview to logic
Replies: 12
Views: 18058

Re: Transfer from CAPI Webview to logic

Your code looks fine. There was only one issue. Your argument to the ValidatePrenom() function is a string, so you need to enclose it in single or double quotes. Here is complete working HTML: <!-- Bootstrap CSS --> <link rel="stylesheet" href="/external/bootstrap/bootstrap.min.css&qu...