Hi,
product: WAM
LANSA version: V14SP1
<background>
WAM's Webroutine is called with GET from other site. Other site requests with GET parameters.
<details>
When WAM program receives parameter values from other site, we have to write in the query string as follows.
f(field ID) = value
ex.) f(STD_TEXT) = '111'
However, in general, the query string is written as follows.
Parameter name = value
ex.) STD_TEXT = '111'
Currently, it is described as (1) below. However, I would like to write like (2) to receive GET parameters. On other sites, it is difficult to make a GET request in the form of "f(field ID) = value".
(1) https://domain/cgi-bin/lansaweb?wam=TESTWAM&webrtn=wr_Test&ml=LANSA:XHTML&part=tst&lang=JPN&f(STD_TEXT)='111'
(2) https://domain/cgi-bin/lansaweb?wam=TESTWAM&webrtn=wr_Test&ml=LANSA:XHTML&part=tst&lang=JPN&STD_TEXT='111'
Does anyone know how to receive parameters in the form of (2)?
Thank you.
Best regards,
Rieko Saitoh
LANSA japan
V14SP1 WAM: Query string format when receiving parameters from other sites.
-
Rieko Saitoh
- Posts: 58
- Joined: Sat Apr 30, 2016 11:46 am
Re: V14SP1 WAM: Query string format when receiving parameters from other sites.
See the second last post for this issue: viewtopic.php?f=3&t=1837
WAMs don't support your desired format. Imagine a user has a field name "LANG". It would clash with the WAM's language parameter.
HTH
WAMs don't support your desired format. Imagine a user has a field name "LANG". It would clash with the WAM's language parameter.
HTH
-
Rieko Saitoh
- Posts: 58
- Joined: Sat Apr 30, 2016 11:46 am
Re: V14SP1 WAM: Query string format when receiving parameters from other sites.
Hi,
Thank you very much for your reply. I could understand why it is not supported.
Thank you for your support.
Best regards,
Rieko Saitoh
LANSA japan
Thank you very much for your reply. I could understand why it is not supported.
Thank you for your support.
Best regards,
Rieko Saitoh
LANSA japan