I would like to pass URL-Parameters, e.g. PNR and VTG to Ivy 3.9, for example: http://localhost:8081/ivy/cm/ORGCHK/ORGCHK/index.ivd?PNR=999&VTG=1 (up to "index.ivd" is the existing URL, I added "?PNR=999&VTG=1")

I've read in question "1727/how-can-i-process-the-url-get-parameters" how this works, but I suppose this is a Ivy-Version higher then 3.9. because I didn't find the possibility to define the input parameters on the start-element in Ivy 3.9.

How can I do that with Ivy 3.9? Thanks in advance for your answer Lucie Heinimann

asked 12.04.2016 at 16:51

lucie%20heinimann's gravatar image

lucie heinimann
(suspended)
accept rate: 0%


In Xivy3.9 you don't have to define input parameters on the process start. All submitted arguments are accepted by default as long as there is data class attribute with the same name.

link

answered 20.04.2016 at 09:19

Bruno%20B%C3%BCtler's gravatar image

Bruno Bütler
56181318
accept rate: 68%

Thanks for your answer. I tried with the data class Attribute "parm_EMPNBR" (in data class "Data"). Neither the call with http://localhost:8081/ivy/cm/ORGCHK/ORGCHK/index.ivd?in.parm_EMPNBR=12345 nor http://localhost:8081/ivy/cm/ORGCHK/ORGCHK/index.ivd?parm_EMPNBR=12345 seems to work, this means that the Display of the Parameter with parm_EMPNBR: [ivy.get(in.parm_EMPNBR)] doesn't Show the value as submitted. What is wrong?

link

answered 23.04.2016 at 13:21

lucie%20heinimann's gravatar image

lucie heinimann
(suspended)
accept rate: 0%

Hello Lucie

Now I understand what you try to do. The discussion in "how-can-i-process-the-url-get-parameters" as well as my answer is about how to pass get Parameters to an ivy process start. This is a link of the form http://.../ivy/xxx/Processus1/start.ivp but you your link http://.../ivy/cm/.../index.ivd addresses a page in the cms of an ivy Project.

The mapping of request get parameters to process data attributes is only applicable on process starts (and on output links of dialog pages). As a result you have to put your index page on a process page step and start it with a process.

link

answered 26.04.2016 at 14:55

Bruno%20B%C3%BCtler's gravatar image

Bruno Bütler
56181318
accept rate: 68%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×24

Asked: 12.04.2016 at 16:51

Seen: 3,056 times

Last updated: 26.04.2016 at 14:55