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 heinimann |
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. answered 20.04.2016 at 09:19 Bruno Bütler |
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? answered 23.04.2016 at 13:21 lucie heinimann |
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. answered 26.04.2016 at 14:55 Bruno Bütler |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 12.04.2016 at 16:51
Seen: 3,056 times
Last updated: 26.04.2016 at 14:55