PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 01/20/2016 5:45 PM by  Survivor
Passing IPA Variables to a Design Studio Form
 4 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Survivor
Systems Analyst
Hospital
Veteran Member
(230 points)
Veteran Member
Posts:110


Send Message:

--
12/22/2015 6:13 PM

    I have a service which kicks off an IPA.  There is a service variable (employee number) I want to pass to a Design Studio form.  The custom COBOL has multiple Design Studio forms.  There is a user action tied to the Design Studio form (through a portal page in PFI).  If I use "Infor Lawson application" as the Display Type on the user action, I could pass the information in keys.  I have multiple custom versions of the form and could set one of the custom forms as the default; however, that would be an issue for the other custom forms which are not the default.  Display Type "Infor Lawson Custom form" is does not give me the option to pass along the value of the service variable as a key field.  Is a Display Type option would allow me to pass along the field?

    David Williams
    Private
    Private
    Veteran Member
    (3076 points)
    Veteran Member
    Posts:1036


    Send Message:

    --
    12/22/2015 7:01 PM
    Service variables are passed to the Inbasket from IPA, but they are passed to the Portal Page and have to be passed from there to the formlet with your Design Studio form.
    David Williams
    Survivor
    Systems Analyst
    Hospital
    Veteran Member
    (230 points)
    Veteran Member
    Posts:110


    Send Message:

    --
    12/23/2015 9:03 AM

    How do I get the service variable to be filled into the form?  Do I use Javascript in the portal page, the form, or both?  Is there a function or method which will return the service variable or is there a specific way to reference the service variable?

    Survivor
    Systems Analyst
    Hospital
    Veteran Member
    (230 points)
    Veteran Member
    Posts:110


    Send Message:

    --
    01/13/2016 4:54 PM
    If I had 2 formlets, I could go to the portal page properties and head over to the data mapping to link the forms together. I was wondering if you could link the formlet to the service variable. I was thinking you might be able to do it, but it has been a while. I was told there is an example in the Design Studio manual with RQ10, but I do not see any manual other than the Design Studio Users Guide.
    Survivor
    Systems Analyst
    Hospital
    Veteran Member
    (230 points)
    Veteran Member
    Posts:110


    Send Message:

    --
    01/20/2016 5:45 PM
    There is an example you can use. Downloads > Products > Technology > Technology Sample Content. I used the PA42 example to get mine working. I had to add the code on the custom form not the portal page just like in that example.
    You are not authorized to post a reply.