Passing IPA Variables to a Design Studio Form

 4 Replies
 2 Subscribed to this topic
 12 Subscribed to this forum
Sort:
Author
Messages
ALB
Veteran Member
Posts: 130
Veteran Member

    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
    Veteran Member
    Posts: 1127
    Veteran Member
      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
      ALB
      Veteran Member
      Posts: 130
      Veteran Member

        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?

        ALB
        Veteran Member
        Posts: 130
        Veteran Member
          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.
          ALB
          Veteran Member
          Posts: 130
          Veteran Member
            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.