NetTalk Central

Author Topic: Calling a form by URL from external  (Read 2651 times)

hkalmbach

  • Jr. Member
  • **
  • Posts: 81
    • View Profile
    • Email
Calling a form by URL from external
« on: February 07, 2023, 06:50:48 AM »
Hello,
my aim is to create an email which contains the URL to work on a specific order in the web application.
This email is NOT created by a NetTalk web application but by a normal clarion application. Therefore it does not know anything about row Id (as mentioned in https://www.capesoft.com/docs/NetTalk9/NetTalkWebFAQ.htm#W4)
I tried the old example mentioned there, in my case it looks the following:

http://appserver:2338/WebUpdateAuftraege?WAF:Auftragsnummer=15761&change_btn=change

To use the form WebUpdateAuftraege the user has to be logged in. Therefore, if I use the link of the email, I am first redirected to the login page and the get to the update form.
But there the correct record is not read, the form is empty beside the order number (15761).
If I instead copy the URL in a browser tab, where I before logged in to the web application and the user is known, the link works, the correct orders is loaded and displayed, can be changed and save as expected.

The URL in this case still is displayed after loading the record.
Before, with the redirection, the URL I see in the update form is http://appserver:2338/WebUpdateAuftraege?_chain_=1

Is there a way to call an update form from external without having the nettalk row Id (with redirection to a login form)?

Thanks for every help.

Cheers
Heinz

seanh

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • Email
Re: Calling a form by URL from external
« Reply #1 on: February 07, 2023, 03:49:44 PM »
My nettalk skills aren't the best but..

I think I'd create a memory form and call with a parameter of your invoice number.
Have the mem form setup everything needed and call the update form.

As long as security is set the login should be required.