Send a partially filled out DS form from another

 6 Replies
 0 Subscribed to this topic
 12 Subscribed to this forum
Sort:
Author
Messages
wilcoxmad
Veteran Member
Posts: 87
Veteran Member

    I want to allow a user to select a record from a list on a Design Studio form. Then I'll send them all the related data from the record they selected, after pulling the data from a custom table in the DB, to another DS form. They can use that data, along with more that they enter, to do an add on the second form.

    In this case I want to show them a partially filled out form that is a single page , no tabs, version of HR11.

    So I want to send them a form created in Desing Studio, with the data partially filled out.  I know how to determine which record to pull. I don't know how to fill out and send the new form.
     

    wilcoxmad
    Veteran Member
    Posts: 87
    Veteran Member
      Seeing if this entry will force this thread to the Design Studio forum.
      David Williams
      Veteran Member
      Posts: 1127
      Veteran Member
        You want to launch a new form from your modified HR11 and pass data?
        David Williams
        wilcoxmad
        Veteran Member
        Posts: 87
        Veteran Member
          Posted By ConsultDavidW on 10/19/2009 09:55 AM
          You want to launch a new form from your modified HR11 and pass data?



           

          David,

          Exactly. I have a DS form (HR11EZ) that is a single page employee add. We have an in house web based applicant system that applicants fill out themselves. We are now populating a custom table in Lawson from that web application. Once the applicant is hired the HR staff will look them up via my new form, which has a custom cobol program behind it. It is nothing more than a search by SSN that returns 12 applicants per page. When the HR staff select an applicant I want to fill out the data in HR11EZ from the custom table and send the form to the user so they can then fill out the rest of the person's data and add him as an employee to Lawson.

           

          David Williams
          Veteran Member
          Posts: 1127
          Veteran Member
            What I would suggest is to use an AGS call to add the initial HR11 record and then launch HR11 to allow the updates. Are you sending the link via an email? You could trigger ProcessFlow to do that and include the URL in the email. You can use the Insert Form URL tool within the Email node to build your link.
            David Williams
            wilcoxmad
            Veteran Member
            Posts: 87
            Veteran Member

              Our users assign the employee number manually so I can't add the record via HR11. They also don't want to use HR11, they want to use our single page form. We don't have process flow either.

              Is there not a way to pre-fill a form and send it?

              David Williams
              Veteran Member
              Posts: 1127
              Veteran Member

                You can build a URL string "http://server:port/lawson/portal/index.htm?_PDL=PRODLINE&_TKN=HR11.1" and try to pass the additional parameters. You would then have to build the HR11 form to read the passed parameters and populate the fields with them. It sounds possible but will more than likey take some trial and error.

                var urlString = "http://server:port..."
                window.open(urlString,'_blank','')

                David Williams