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 - Niels Larsen

Pages: [1] 2 3 ... 11
1
Web Server - Ask For Help / API documentation
« on: March 28, 2024, 01:47:28 AM »
Hi Bruce

Is it possible to use the Page Name in the documentation of a method instead of the procedure name.
I ask because I use Page Name to keep track of different versions of the "same" method - of course with different procedure names.

Regards Niels

2
Hi

I'm trying to use a group with a queue as a parameter but can't compile the app. It looks like the group is being treated as a queue.
I have attached an example showing my challenge.
Can someone help me to understand.

Regards Niels


3
Web Server - Ask For Help / Bearer authentication in a webservice - how?
« on: February 26, 2024, 07:54:58 AM »
Hi

I have been given the task of coding an api where the access control is Bearer. Is there anyone who has done something similar and would like to share how it can be attacked.
As I see it, there are two tasks. One where I have to generate a token (from Account id, Client ID and a secret) which must be kept alive for a period of time and then the actual validation of the token.

Regards Niels

4
Web Server - Ask For Help / Websocket - javascript
« on: February 11, 2024, 11:01:15 PM »
Hi Bruce

I would like to run a javascript when a host value is changed via websocket. In the template, there is room for javascript on the bottom line, but it doesn't really seem to have any effect. Am I thinking wrong or...

Regards Niels

5
Web Server - Ask For Help / Forms behave strangely in version 14.17
« on: February 09, 2024, 11:17:36 AM »
Hi Bruce

I just installed version 14.17.
But something is wrong. If I take the example "BasicBrowseAndForm (1)" - press insert in the browser - the form appears but immediately disappears again.
I experience something similar in my own apps. Here, I may be allowed to type in the first field, but when I move on to the next field, the form closes.
Am I the only one experiencing this?

Regards Niels

6
Web Server - Ask For Help / Email from browse menu button
« on: January 25, 2024, 03:35:30 PM »
Hi

What is the best way to send an email ( or some other Clarion code) via a browse dropdown menu

regards NielsB

7
Hi Bruce

I would appreciate a way to refresh a browse after an event in a browse menu.
What do you think?

Regards Niels

8
Web Server - Ask For Help / Add class to header on popup form
« on: January 12, 2024, 01:32:40 AM »
Hi Bruce

I need to remove (hide) the "Close" button (top right) on a popup form.
The popup form is called from a button on a form.
How do I add a class to the header so that I can hide the underlying close-button.
I've tried with "Class"-->"Main Heading" but that doesn't work when the form is called as a popup.
I have added an example.
Do you have a solution?

Regards Niels

9
Web Server - Ask For Help / Form - make default sort order conditional
« on: December 17, 2023, 04:09:56 AM »
Hi

Any way to make the "This Column Is Default Sort Order" conditional?
This would make a browse used in many forms but with different fields. I use it in a matrix situation.
It doesn't have the highest priority, just a nice little feature.

Regards Niels

10
If you (me) take the time to read the documentation, it says quite precisely how to solve the challenge. It's all about using queues. I also took the time to understand the code that the template generates and it all makes a lot of sense.
Now it's working like a dream!
Sorry for wasting your time.

Regards Niels


Quote
Hi

I have built a view with a join in a join and it works really well. Both the result and the documentation are exactly as I would like it to be.
But how do I get another file (Orders)  into the same level as (Invoices) one of the existing ones.
Two joins in a view in the same level in clarion of course don't work, so how do I add another array to my result - and so the documentation comes with it.


Code: [Select]
Customer --> Region --> Invoices
                    --> Orders 

NT 14.13

Regards Niels


11
Web Server - Ask For Help / Drag and Drop Row Ordering - refresh browse
« on: August 18, 2023, 12:57:07 AM »
Hi Bruce

Really love this new feature!
In addition to the new calculated line number, I have added a local calculated line number as an integer as a reference to the individual row.
But to make it work when I have moved a row, I need to update the entire browse. Is that possible and how?

Regards Niels

12
Web Server - Ask For Help / Wishes to menu control on a browse.
« on: August 15, 2023, 11:20:49 PM »
Hej Bruce

I know it's early in version 14 to ask for more options, but this one could just be really good.
Would it be possible to add the same options on a browse menu item as on a button on a browse like "Send to server" Client Side code  and all the refresh options?

Regards Niels

13
Hi Bruce

I would like to remove the Field Prefixes from the Returns (XML).
Therefore, I have removed the check in "Include Field Prefixes" but it makes no difference.

Result:
Quote
<?xml version="1.0"  encoding="utf-8"?>
<databaseTest_response xmlns="database">
  <test>
      <test:name>Ole</test:name>
      <test:name>Jens</test:name>
      <test:name>Hans</test:name>
  </test>
  <skippedrecords>0</skippedrecords>
  <resultcomplete>1</resultcomplete>
</databaseTest_response>

I have attached a test app.

Regards Niels

14
Hi Bruce

Can you make it possible to compile a blob text field as required in the validation, on a form.
Error: Variable expected

Regards Niels

15
Web Server - Ask For Help / UPDATE:Child form breaks parent form
« on: February 21, 2022, 01:46:34 AM »
Hi Bruce

I have a form with a child form.

POPUP (Test Popup):
When I refresh the child it breaks the parent, meaning that the save and cancel buttons doesn't work.

NOT POPUP (Test)
When I change a field value on the parent form "Post Update Routine" isn't called.

Example updated.
I have added an example.

Maybe this isn't the right way to do it at all?

NT 12.35

Regards Niels

Pages: [1] 2 3 ... 11