Skip navigation
Currently Being Moderated

PDF/HTML Forms on Workflow Server 6.2

Feb 10, 2005 12:48 PM

Hi,

I am really in trouble.
I have a Workflow Server 6.2, without Form Server, and I need to give my client a tool for design forms to use in the processes.
I am trying to create a form in Adobe Designer 7, saving it as PDF and using in my process (webaccess). It is not working. The AWS WebAccess presents me the PDF form without the valid actions (defined in the process) and the submit does not work.
My second option was using Form Designer 5, which can save the form as HTML for using with the workflow server. Well, it is not working as I wish. When I configure the task for using the HTML form, the workflow designer tells me that it is not possible to read the form fields. It does not understand the embedded XFT. It used to work with Workflow Server 6.1.
BIG problem.
Anyone have any idea about how can I create the forms (HTML or PDF) with Adobe Designer 7 (or even Form Designer 5) for using with Workflow Server 6.2 without the need of the Reader Extension and Form Server? Is there any AWS fix that can help me?

Regards.
 
Replies
  • Currently Being Moderated
    Feb 10, 2005 1:21 PM   in reply to (Marcelo_Machado_Luiz)
    I use Form Designer 5 with Workflow Server 6.1. When you're designing forms, you need to save them with the HTM stub for Adobe Workflow Server option. Then you set the Start Form in Workflow Designer to the XFT file. The XFT and HTM files need to be in the same directory on the server.
     
    |
    Mark as:
  • Currently Being Moderated
    Feb 10, 2005 2:36 PM   in reply to (Marcelo_Machado_Luiz)
    Marcelo-

    Not sure if AWS 6.2 will natively support Forms Designed through LiveCycle 7.0 - its best to check with Adobe Support.

    Concerning the Adobe 5.0 Designer, associated the xft to the process instead of the html stub - the fields will be imported.
     
    |
    Mark as:
  • Currently Being Moderated
    Feb 11, 2005 6:14 AM   in reply to (Marcelo_Machado_Luiz)
    You need to put both the .XFT and .HTM stub files in the C:\Program Files\Adobe Workflow Server\WebAccess\Web\Forms\Form Client\Forms directory and in your workflow process, under start forms, point it to the .XFT file.
     
    |
    Mark as:
  • Currently Being Moderated
    Feb 11, 2005 6:32 AM   in reply to (Marcelo_Machado_Luiz)
    In Administrator, under Users, select the user that you are trying to initiate the process as, right-click and choose Properties. Under Form Preferences, in the Workflow and WebAccess Form Preferences box, make sure Form Client and HTML are selected, but not PDF.
     
    |
    Mark as:
  • Currently Being Moderated
    Feb 11, 2005 6:48 AM   in reply to (Marcelo_Machado_Luiz)
    Okay see if I can explain things a bit more indepth.

    1- Your xft\htm stub for AWS must be placed within:
    "C:\Program Files\Adobe Workflow Server\WebAccess\Web\Forms\Form Client\Forms" directory

    2- Ensure you have either the Adobe Control Server Components installed within "C:\Program Files\Adobe Workflow Server\WebAccess\Web\Forms\Form Client" directory or that you just create a directory called "Codebase". Whether or not the codebase directory contains CAB files does not matter, UNLESS you are pushing down the ActiveX through regular means. If you are deploying the Adobe EUC then you do NOT need to install the Server Components but again still required the Codebase directory.

    3- Run iisreset after installing or adding the Codebase directory as noted in #2.

    4- Ensure user form preference include FormClient.

    5- Ensure you are using the correct htm stub. If its 1 kb in size you've compiled the wrong one. You want the 2nd selection in the SaveAs window.

    I think I've covered the major issues but there could be a host of other things that could at fault. You may be best served by calling Adobe Support.
     
    |
    Mark as:
  • Currently Being Moderated
    Feb 11, 2005 8:22 AM   in reply to (Marcelo_Machado_Luiz)
    If you wish to use Adobe Form Designer 5.0 its based off of ActiveX technology then yes you need Form Client.

    Instead of wasting time and money - why not back track and simply ask Adobe if you can implement LivCycle 7.0 forms with AWS 6.2. If you can then maybe you missed something in your forms implemenation.
     
    |
    Mark as:
  • Currently Being Moderated
    Feb 11, 2005 9:53 AM   in reply to (Marcelo_Machado_Luiz)
    Hi, Marcelo.

    That one is quite simple.... All you gotta do is to create the basic Action fields on your form and to script a submit button as follows:

    1 - Create a hidden form field called JFWF_PDFINFO;
    2 - Create the action list box called JFWF_ACTION;
    3 - Create a button, which will run a JavaScript on the MouseUP event.

    Here's the secret:

    When you create a PDF form outside the Designer (e.g. using MS Word and Acrobat 6.0, for an instance) you have to customize the script for the Submit button. This is an example of a script that should be run on the MouseUP event of your submit button:

    var boEnvia = true;
    var oPDFInfoField = this.getField("JFWF_PDFINFO");
    var aPDFInfo = oPDFInfoField.value.split(";");
    var sTargetURL = "";// first element is the URL to post to
    var sCleared = "";
    var sRadioButtons = "";

    if (boEnvia){
    // see if potential checked checkboxes have been cleared
    for (var i = 1; i < aPDFInfo.length; i++) {
    var aNameValue = aPDFInfo[i].split("=");
    var sName = aNameValue[0];
    var sValue = aNameValue[1];

    if (sName == "XFIELDS") {
    var aFieldNames = sValue.split(",");
    for ( var x = 0; x < aFieldNames.length; x++) {
    var oField = this.getField(aFieldNames[x]);

    if (oField != null && oField.type == "checkbox" && !oField.isBoxChecked(0)) {
    if (sCleared == "")
    sCleared = ";UNCHECKED=" + aFieldNames[x];
    else
    sCleared += "," + aFieldNames[x];
    }
    }
    }
    else if (sName == "TARGETURL")
    sTargetURL = sValue;
    }

    // Save radio button names...
    for (var x = 0; x < this.numFields; x++) {
    if (this.getField(this.getNthFieldName(x)).type == "radiobutton") {
    if (sRadioButtons == "")
    sRadioButtons = ";RB=" + this.getNthFieldName(x);
    else
    sRadioButtons += "," + this.getNthFieldName(x);
    }
    }

    if (app.viewerVersion < 6) {
    oPDFInfoField.value += "ENCODING=PDFDocEncoding" + sCleared + sRadioButtons
    this.submitForm( sTargetURL,
    false, // HTML form
    true, // Post all fields (true), or do Not post all fields (false)
    null,
    false, // Use post method (false)
    false); // For forms, do not submit annotations
    }
    else{
    oPDFInfoField.value += "ENCODING=UTF-8" + sCleared + sRadioButtons;
    this.submitForm({cURL: sTargetURL,
    bEmpty: true, // Post all fields (true), or do Not post all fields (false)
    cSubmitAs: "HTML", // Post URL-Encoded
    cCharset: "utf-8"});
    }

    }

    I´m sending you a form that I used to test e-mail notifications here at MCR... By the way, could some one help me on the topic I just posted? Can´t get the Agent to connect properly to an e-mail server.

    Thanks.
     
    |
    Mark as:
  • Currently Being Moderated
    Feb 24, 2005 6:52 PM   in reply to (Marcelo_Machado_Luiz)
    To implement LivCycle 7.0 forms with AWS 6.2 you need to purchase another Adobe product (I think it is adobe form server), as these versions are not inherently compatible. Contact Adobe for more info or see http://www.adobe.com/products/server/formmanager/main.html.

    But, yes you can create HTML forms with no Adobe tools, instructions are in the designer.chm file, look under 'Using Workflow Server Designer' - > 'Creating and using HTML forms' topic. It explains pretty much all you need. Except where to store the form - that is the /forms/html/forms directory (as per previous posts.)
     
    |
    Mark as:
  • Currently Being Moderated
    Feb 25, 2005 5:56 AM   in reply to (Marcelo_Machado_Luiz)
    Marcelo-

    You'd probably save yourself a lot of unwarranted headache \ time by getting in touch with your Adobe Account Mgr and simply ask "What components do I need to get this to work..."

    My 2 cents, Adobe 7.0 forms will not render natively in AWS 6.2 environment unless you have the Adobe Form Manager Component. However, as Sanna eluded to in an earlier post, if you wish serve dynamic form content within AWS( using Adobe 7.0 forms ) then you require Adobe Form Server on top of all that.

    So bottom line:
    AWS 6.2 serving Adobe 7.0 Forms requires:
    - Adobe Form Mgr
    - Adobe Form Server ( if you wish to serve dynamic form content )

    FYI...Not sure if you have any environmental constraints but Adobe Form Manager will only run on a J2EE platform.
     
    |
    Mark as:
  • Currently Being Moderated
    Aug 21, 2008 11:55 AM   in reply to (Marcelo_Machado_Luiz)
    I have a two checkboxes in Adobe 5.0 which are named the same so when one is chosen the other is off. The valuse are Yes and No. What I am try to do is on the form load determine if the Yes box is checked and if so then set both boxes to read only until another field, decommision date, is filled out saved and the form is re-loaded. I have tried setting using this.getfield(fieldname).readonly = true, but this is not working and I cannot get both checkboxes to set to readonly.

    Thanks for any help
    Andrew Kiser
     
    |
    Mark as:
  • Currently Being Moderated
    Oct 22, 2008 2:02 AM   in reply to (Marcelo_Machado_Luiz)
    I have a problem with process instances being prematurely set as completed. I have a way of reactivating the process instance which requires me to manually update a record in ITWORKITEMS. IN all instances I find that the column WISTATE in the row with with highest WIID is set to a negative value. Does anybody have a writeup on the workflow internals from which I can research this problem? I implemented the first workflow process using JetForm & InTempo in 1999. The product went from Jetform to Accelio which is now in the Adobe family. I am operating Adobe Workflow Server 6.2 and use Adobe 5.0 for the forms. Thanks.
     
    |
    Mark as:
  • Currently Being Moderated
    Oct 23, 2008 6:31 PM   in reply to (Marcelo_Machado_Luiz)
    Hello Isaac,

    Do you happen to know how to restart a stalled workitem by updating the ITWORKITEMS or the ITSTALLED tables?

    Please le tme know it will be helpful.

    Regards...
     
    |
    Mark as:
  • Currently Being Moderated
    Oct 27, 2008 3:44 AM   in reply to (Marcelo_Machado_Luiz)
    Yes, I do. In the situation I am facing, the process instance is NOT stalled. It shows up as completed even though in the workflow, the task where the "completed" flag was set, the process instance should have still been active. Another question. Has anybody come up with an archiving procedure for completed forms?
     
    |
    Mark as:
  • Currently Being Moderated
    Oct 27, 2008 7:57 PM   in reply to (Marcelo_Machado_Luiz)
    Hello Isaac,

    Could you please tell me the queries you use to restart a stalled workitem because I have not been able to figure it out.

    Regarding the archiving procedure for completed forms I have manage to recover information from any task (data & stored files) in the proccess I don't know if this is what you are looking for.

    I will be waiting for your comments.

    Regards...
     
    |
    Mark as:
  • Currently Being Moderated
    Nov 7, 2008 7:33 AM   in reply to (Marcelo_Machado_Luiz)
    Does anybody knows how to restart a stalled workitem in Workflow Server 6.2 by updating the tables of the workflow database? please let me know it will be helpful.

    Regards...
     
    |
    Mark as:
  • Currently Being Moderated
    Aug 5, 2010 6:46 AM   in reply to (Marcelo_Machado_Luiz)

    thank you guys for your answers, i had similar problems with creating pdf, your posts are really usefull, it is much more clear now for me, there is really lots of things to learn every day.

     

    regards,

    ________________

    web design sydney

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)