Cocoon/FOP + form-name problem

Experts,
I have configured Tomcat/Cocoon to work with APEX instead of BI Publisher, as per Carl Backstrom's tutorial. Tomcat and Cocoon both work as expected. I am able to configure APEX with the correct URL, port, and Print Server Script, standard support, and so on.
I am able to use FOP to process static XML files with no problems.
If I understand how APEX works with Cocoon, it generates a Form POST to send an XML document to Cocoon for processing. Cocoon receives the posted form. Cocoon extracts the XML data based on the name of the posted form, and then transforms it into the specified format (PDF, RTF, HTML, etc.). In Carl's tutorial, Cocoon is configured in sitemap.xmap to expect form-name="xml".
Question: When APEX executes the Form POST, what form name does it give the posted form? Is this configurable?
Whenever I try running an APEX report through Cocoon/FOP, I get
org.apache.cocoon.ProcessingException: Unknown request object encountered named xml : null.
I have tried renaming form-name to wwv_flow, wwvFlowForm, XML, Xml, asdf,<null>, etc. Whatever I rename the form shows up as null.
Examples:
1. org.apache.cocoon.ProcessingException: Unknown request object encountered named wwv_flow : null.
2. org.apache.cocoon.ProcessingException: Unknown request object encountered named wwvFlowForm : null.
3. org.apache.cocoon.ProcessingException: Unknown request object encountered named asdf : null.
4. org.apache.cocoon.ProcessingException: Unknown request object encountered named xml : null.
Dan

Hi Carl
I use Tomcat and Cocoon as you described. For some reports PDF print is OK. One problem which i found was that, in my case, the language of the application produce also an error. I changed from German to English and everything was OK.
"Application > Shared Components > Edit Globalization Attributes > Globalization" - Aplication primary language GERMAN. Once that i changed to english US my reports worked again OK.
I have also an application where for one page PDF produced is OK but for another page in the same application i receive the same error:
org.apache.cocoon.ProcessingException: Unknown request object encountered named xml : null.
Maybe Region configuration is different?
Best regards
Adrian

Similar Messages

  • Cocoon-FOP Output Problem

    Hi, I'm trying to implement Carl Backstrom's Tomcat-Cocoon-FOP solution.
    I know its probably a Coccoon/FOP issue... when I click "Test Report" I get the following (see below).
    I haven't edited anything :), and i'm just trying to output one field from a table as a test (no empty fields).
    Oh ya... and the PDF that won't display?? ...Is actually HTML output.
    Is there a hidden problem of stream definition/assignment/error handling lurking in the background as well?
    Anybody seen this one before?
    javax.xml.transform.TransformerException: attribute-set named #TEXT_ALIGN# does not exist
    cocoon://fop_post/xsl - 148:58
    Cocoon stacktrace[hide]
    attribute-set named #TEXT_ALIGN# does not exist
    cocoon://fop_post/xsl - 148:58     
    Exception in StreamGenerator.generate()
    cocoon://fop_post/xsl - 148:58     [TransformerException]
    file:/C:/apex_fop/apache-tomcat-6.0.14/webapps/cocoon/fop_post/sitemap.xmap - 10:32      <map:serialize type="xml">
    file:/C:/apex_fop/apache-tomcat-6.0.14/webapps/cocoon/fop_post/sitemap.xmap - 6:33 <map:generate type="stream">
    file:/C:/apex_fop/apache-tomcat-6.0.14/webapps/cocoon/fop_post/sitemap.xmap - 38:37  <map:serialize type="fo2pdf">
    file:/C:/apex_fop/apache-tomcat-6.0.14/webapps/cocoon/fop_post/sitemap.xmap - 31:39  <map:transform>
    file:/C:/apex_fop/apache-tomcat-6.0.14/webapps/cocoon/fop_post/sitemap.xmap - 30:38  <map:generate>
    file:/C:/apex_fop/apache-tomcat-6.0.14/webapps/cocoon/sitemap.xmap - 1034:92 <map:mount>

    Ok then... paying attention always works doesn't it? As he takes another (closer) at the tutorial video... :)
    I've been trying to do a test report via:
    Home > Application Builder > Application # > Shared Components > Report Queries
    ...and I get the above error. But when I plug it into an for real app it works like magic. Kool, PDF's to die for! Thanx.
    Bit of a problem with printing to Word docs tho...
    Word says "Missing file: C:\cocoon\styles\main.css", and a bunch of the usual bafflegab.
    Am looking for the reference to "c:\cocoon\..." to figure out how to change it, but haven't found it yet.

  • Changing the form name in a .js file

    hi,
    I am trying to use .js files instead of script in the jsp page with the use of
    <script src="root/scripts/foo.js"></script>.
    This foo.js has got the functions which access the information of the form in which they are included. So if I specify a dummy form name in the script, while a page (say "thisPage.jsp" with a form name "thisForm")is loading I would like all the references in the javascript file which are like this document.someFormName.---- to document.thisForm.--.
    How do I do this.
    regards,
    f

    actually, what you asked is completely a Javascript question. There's nothing JSP related about it. Nothing.
    Your actual question, the one you actually posted, was answered correctly. If your question was wrong, then that's not our problem.
    What does concurrent users have to do with anything anyway? Are they all using the same PC and browser instance at the same time? I doubt it. All the code you are referring to is Javascript code, and that will only run in the browser, not on the server, so concurrent user actions have nothing to do with it.
    If you want to change the form name in JSP, then you can do so when writing the page:
    <form name="<%= theFormName %>" action="..." method="POST">
    Otherwise, 'document.'+name ..., eval(), all that is Javascript, not JSP, has nothing to do with JSP or other users.
    So in conclusion, I don't think it's us people that posted answers interpretting things wrong, it's you who doesn't have any idea what he's doing.

  • 9i forms demo problem with jinitiator 1.3.1.9

    I'm trying to install the 9i forms demo from http://www.oracle.com/technology/sample_code/products/forms/index9i.html
    The install says it uses jinitiator 1.3.1.9. If you want to use another version, edit the forms90demo.cfg file. We have 1.3.1.17 and I edited the cfg file, but none of the demos will come up. I get "The page cannot be displayed" error. Our port is 8889 and the launchdemo90.html file is looking for 8888. I changed it to 8889 in the IE address field but the pages still won't come up.
    Can anyone tell me how to fix this problem?
    Thanks in advance.
    Jan

    Thanks for the reply. I can't tell by looking at these files what the OC4J administration port and the administration password is.
    Portlist.ini
    Oracle Developer Suite HTTP port = 8889
    Oracle Developer Suite JMS port = 9240
    Oracle Developer Suite RMI port = 23910
    Oracle HTTP Server Diagnostic port = 7200
    <ORACLE_HOME>\j2ee\DevSuite\config\default-web-site.xml
    <?xml version="1.0" ?>
    <!DOCTYPE web-site (View Source for full doctype...)>
    - <web-site port="8889" display-name="Oracle Developer Suite 10g instance of Oracle Containers for J2EE Web Site" host="[ALL]" log-request-info="false" secure="false">
    <default-web-app application="default" name="defaultWebApp" root="/j2ee" load-on-startup="true" shared="false" />
    <web-app application="forms" name="forms90web" root="/forms90" load-on-startup="false" max-inactivity-time="no shutdown" shared="false" />
    <web-app application="reports" name="web" root="/reports" load-on-startup="false" max-inactivity-time="no shutdown" shared="false" />
    <web-app application="reports" name="demo" root="/repdemo" load-on-startup="false" max-inactivity-time="no shutdown" shared="false" />
    <web-app application="demowebservice" name="demowebservice" load-on-startup="true" root="/demowebservice" max-inactivity-time="no shutdown" shared="false" />
    <access-log path="../log/default-web-access.log" format="$ip - $user - [$time] '$request' $status $size" split="none" />
    </web-site>

  • "Users " Form Name from "User Definied Field Definition" does not showing

    Hi everyone!
    I start to implement the new SAP Connector on OIM 9.1.0 and one of steps is configure the lookup Lookup.SAP.HRMS.AttributeMapping.
    I need to add more fields beyond those already exists, and in accord to Documentation, I need to create the UDF of these fields, but when I search of "Users" form name form "User Definied Field Definition" option, I receive the follow response:
    "Query Failed: No Record For this Query"
    Thinking about it, I think that necessary create one User Form, but...this form isn't a standard form?
    What I do in scenarios like this?

    Can you share your environment details. Are you trying it out in a newly installed OIM ?_
    Yes, it's a newer fresh installation of OIM 9.10. We use the old version (9.03) in production environment and would like to upgrade to 9.10. This issue occur in a fresh installation in Development Environment.
    The one possible reason for this may be due an improper upgrade to 910X. I actually faced this issue while I was installing/upgrading my OIM. I did the process all over again and it was just perfect. I am not sure that this might be an issue with you or not. But there is simply no othe reason for the Users from not showing uo in the "User Definied Field Definition"._
    If you have taken a fresh backup of the schema just after installation, then import that backup dump and see if you are able to view the Users form. If in case you are not able to view it then your installation / upgrade is corrupt._
    No, we don´t have a fresh dump of environment. We just follow the documentation and all the steps was done without problem. The SAP connector import the fields from the reconciliation using flat IDOC file, just only the standard fields. We need to add newer fields and attributes and after, we face this problem.

  • The data form form name is invalid. Check log for details

    Hi all,
    i have just built a planning application from scratch and created my first form.
    i have encountered the error "The data form <form name> is invalid. Check log for details "
    and i have checked the log file.
    It reads as follows
    Unknown calculation type [0] during the dynamic calculation. Only default agg/formula/time balance operations are handled.
    An error [1012703] occurred in Spreadsheet Extractor.
    Spreadsheet Extractor Elapsed Time : [0] seconds
    Spreadsheet Extractor Big Block Allocs -- Dyn.Calc.Cache : [0] non-Dyn.Calc.Cache : [0]
    Transaction [ 0x60001( 0x4d8030e5.0xa0280 ) ] aborted due to status [1012703].
    User [admin] set active on database [Plan1]
    Can any one suggest me how to handle this.
    Thanks in advance

    user9192499 wrote:
    Hi all,
    i have just built a planning application from scratch and created my first form.
    i have encountered the error "The data form <form name> is invalid. Check log for details "
    and i have checked the log file.
    It reads as follows
    Unknown calculation type [0] during the dynamic calculation. Only default agg/formula/time balance operations are handled.
    An error [1012703] occurred in Spreadsheet Extractor.
    Spreadsheet Extractor Elapsed Time : [0] seconds
    Spreadsheet Extractor Big Block Allocs -- Dyn.Calc.Cache : [0] non-Dyn.Calc.Cache : [0]
    Transaction [ 0x60001( 0x4d8030e5.0xa0280 ) ] aborted due to status [1012703].
    User [admin] set active on database [Plan1]
    Can any one suggest me how to handle this.
    Thanks in advance
    ERROR 1012703
    *"Unknown calculation type [0] during the dynamic calculation. Only default agg/formula/time balance operations are handled."*
    There is an error in a formula(s), therefore, no calculations will work. The problem is that when you have the outline open in Edit mode and you try to 'Validate', it does not identify any of these errors, nor does it write it to a log. However, you can go one by one and validate each formula. So any time you delete a member or modify a member name, be sure that this member is not included in any formula.
    Regards,
    Prabhas

  • Satndard SAP script or form name to generate FI invoice

    Plz let me know if u know the standard SAP script or form name to generate the FI invoice.
    Regards
    Nivetha.

    Hi,
    I guess the terminology's causing some problems.  Here's what I think you need to do;
    In transaction V/30 select the Output Type then double-click on the folder 'Processing Routines'.  The columns are as follows;
    Medium - Print, email etc
    Program - Name of the print program
    FORM Routine - name of the subroutine in the print program that will be called
    Form - Name of the SAPscript (if used)
    PDF/Smartform Form - Name of the Smartform, or pdf form (if used)
    Type - If a Smartform or pdf form is specified, select from this drop-down which type it is.
    If you're getting an error when you enter your parameters, it would be useful if you told us what the error was.
    Regards,
    Nick

  • Posted Form contents Problem

    I had this problem with 4.5.1 SP 5 and WebLogic told me it would be
    fixed in 5.1 SP 1 (I believe the issue number was 10214). I've just
    tried my simple test case again with 5.1 SP 3 on NT and it still fails.
    The problem is when text is posted from an HTML form to a servlet in
    WebLogic, WebLogic assumes the posted data is ALWAYS encoded in
    ISO-8859_1. So if your form posts Shift-JIS, WLS still incorrectly
    converts the text to unicode using the ISO8859 code page. The only
    work arround I can find is to take the bad JAVA unicode strings, get the
    bytes with the ISO8859 code page, and then create a new string using
    those bytes and the Shift-JIS code page. This is what the
    fixStringEncoding() method is doing below. This is unacceptable.
    How does the WebLogic server understand how to convert between IANA
    encodings and JAVA encodings when receiving a response? A browser will
    encode the form contents with the same encoding as the HTML page with
    the form is in. How does WLS know when it recieves the response to use
    SJIS (Java encoding) to convert Shift-JIS (IANA) encoded text to
    unicode? My test JSP page is included below. It's form that accepts
    Japanese text and posts it back to itself for display. If I don't "fix"
    the JAVA strings, the Japanese text comes out as garbage. BTW, I have
    verified that I'm using SP 3 correctly. Thanks.
    Kirk Everett
    <%@ page contentType="text/html; charset=Shift-JIS"%>
    <html>
    <head>
    <title></title>
    <meta http-equiv="content-type" content="text/html; charset=Shift-JIS">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="pragma" content="no-cache">
    </head>
    <body>
    <form name="Dummy" action="dummySJIS.jsp" method="post">
    <table>
    <tr>
    <td align="right">DummyString:</td>
    <td><input type="text" name="dummy" size="30"
    maxlength="50"></td>
    </tr>
    </table>
    <input type="submit" value="submit">
    </form>
    <BR>
    DummyString with fixing= <%=
    fixStringEncoding(request.getParameter("dummy")) %>
    <BR>
    DummyString without fixing = <%= request.getParameter("dummy") %>
    <BR>
    Embedded (Shitf-JIS) Japanese --> ?X?V‚É?¬Œ÷‚µ‚Ü‚µ‚½?B
    </body>
    </html>
    <%!
    public String fixStringEncoding(String sourceString)
    String targetEncoding = "SJIS";
    String convertedString = null;
    if(sourceString != null)
    // get the array of bytes for the unicode string using the
    // 8859_1 code page
    try
    byte[] stringBytes = sourceString.getBytes("ISO8859_1");
    // now create a new string based of the array but do it
    // with the correct code page UTF8
    convertedString = new String(stringBytes, targetEncoding);
    catch(UnsupportedEncodingException uee)
    convertedString = "";
    return convertedString;
    %>

    The jsp directive does nothing to help the INPUT data handling. On the other hand, this is a html spec problem, not a weblogic one. RFC2070 has some recommendation on how to do i18n with HTML/HTTP, but neither Netscape nor IE supports it.
    --Ye
    Joseph Weinstein <[email protected]> wrote:
    Hi,
    The ideal approach is to employ the JSP directive for encoding.
    This is documented in the JSP spec. Also, if all your JSPs
    require the same encoding, there is an argument to our JSP
    servlet, to tell it what default charset encoding to use.
    Joe
    Kirk Everett wrote:
    I had this problem with 4.5.1 SP 5 and WebLogic told me it would be
    fixed in 5.1 SP 1 (I believe the issue number was 10214). I've just
    tried my simple test case again with 5.1 SP 3 on NT and it still fails.
    The problem is when text is posted from an HTML form to a servlet in
    WebLogic, WebLogic assumes the posted data is ALWAYS encoded in
    ISO-8859_1. So if your form posts Shift-JIS, WLS still incorrectly
    converts the text to unicode using the ISO8859 code page. The only
    work arround I can find is to take the bad JAVA unicode strings, get the
    bytes with the ISO8859 code page, and then create a new string using
    those bytes and the Shift-JIS code page. This is what the
    fixStringEncoding() method is doing below. This is unacceptable.
    How does the WebLogic server understand how to convert between IANA
    encodings and JAVA encodings when receiving a response? A browser will
    encode the form contents with the same encoding as the HTML page with
    the form is in. How does WLS know when it recieves the response to use
    SJIS (Java encoding) to convert Shift-JIS (IANA) encoded text to
    unicode? My test JSP page is included below. It's form that accepts
    Japanese text and posts it back to itself for display. If I don't "fix"
    the JAVA strings, the Japanese text comes out as garbage. BTW, I have
    verified that I'm using SP 3 correctly. Thanks.
    Kirk Everett
    <%@ page contentType="text/html; charset=Shift-JIS"%>
    <html>
    <head>
    <title></title>
    <meta http-equiv="content-type" content="text/html; charset=Shift-JIS">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="pragma" content="no-cache">
    </head>
    <body>
    <form name="Dummy" action="dummySJIS.jsp" method="post">
    <table>
    <tr>
    <td align="right">DummyString:</td>
    <td><input type="text" name="dummy" size="30"
    maxlength="50"></td>
    </tr>
    </table>
    <input type="submit" value="submit">
    </form>
    <BR>
    DummyString with fixing= <%=
    fixStringEncoding(request.getParameter("dummy")) %>
    <BR>
    DummyString without fixing = <%= request.getParameter("dummy") %>
    <BR>
    Embedded (Shitf-JIS) Japanese --> ?X?V&#8218;É?¬&#338;÷&#8218;µ&#8218;Ü&#8218;µ&#8218;½?B
    </body>
    </html>
    <%!
    public String fixStringEncoding(String sourceString)
    String targetEncoding = "SJIS";
    String convertedString = null;
    if(sourceString != null)
    // get the array of bytes for the unicode string using the
    // 8859_1 code page
    try
    byte[] stringBytes = sourceString.getBytes("ISO8859_1");
    // now create a new string based of the array but do it
    // with the correct code page UTF8
    convertedString = new String(stringBytes, targetEncoding);
    catch(UnsupportedEncodingException uee)
    convertedString = "";
    return convertedString;
    %>--
    PS: Folks: BEA WebLogic is in S.F. with both entry and advanced positions for
    people who want to work with Java and E-Commerce infrastructure products. Send
    resumes to [email protected]
    The Weblogic Application Server from BEA
    JavaWorld Editor's Choice Award: Best Web Application Server
    Java Developer's Journal Editor's Choice Award: Best Web Application Server
    Crossroads A-List Award: Rapid Application Development Tools for Java
    Intelligent Enterprise RealWare: Best Application Using a Component Architecture
    http://www.bea.com/press/awards_weblogic.html

  • Find form name from filename

    Hi,
    Is it possible to find form module name with a given file name? I ve searched the forms own built-in packages but there is no such a function that will return form name.
    Any help will be appreciated

    Andreas unfortunately my form module and fmx file doesn't have the same name. Also there are a lot of file like that.
    Michael I've tried to use that function but it didn't work. Because it returns the calling form module name. I need the called one:( I call a form with open_form as no activated from main module. Open_form built-in opens form with using filename without any trouble. After that I write the called filename to a log table. Then activate the called form via go_form built-in. Go_form doesn't take filename as a parameter. That's the main problem. I cannot show my called form.
    Besides I have used next_form in place of go_form but it doesn't work if more than one form window opened. thank you all of you but my problem didn't solve yet

  • PHP form submission Problem

    Dear all,
    PHP enquiry form submission some error is comes
    "Parse error: syntax error, unexpected T_STRING in /home/newtocli/public_html/en45/send_form_email.php on line 11"
    Please help me
    WEBLINK
    PHP goes like this
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>PHP Form</title>
    </head>
    <body><?php
    if(isset($_POST['email'])) {
        // EDIT THE 2 LINES BELOW AS REQUIRED
        $email_to = "[email protected]";
        $email_subject = "Your email subject line";
        function died($error) {
            // your error code can go here
            echo "We are very sorry, but there were error(s) found with the form you submitted. ";
            echo "These errors appear below.<br /><br />";
            echo $error."<br /><br />";
            echo "Please go back and fix these errors.<br /><br />";
            die();
        // validation expected data exists
        if(!isset($_POST['first_name']) ||
            !isset($_POST['email']) ||
            !isset($_POST['telephone']) ||
                        !isset($_POST['company_name']) ||
            !isset($_POST['comments'])) {
            died('We are sorry, but there appears to be a problem with the form you submitted.');      
        $first_name = $_POST['first_name']; // required
        $email_from = $_POST['email']; // required
        $telephone = $_POST['telephone']; // not required
              $last_name = $_POST['company_name']; // required
        $comments = $_POST['comments']; // required
        $error_message = "";
        $email_exp = '/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/';
      if(!preg_match($email_exp,$email_from)) {
        $error_message .= 'The Email Address you entered does not appear to be valid.<br />';
        $string_exp = "/^[A-Za-z .'-]+$/";
      if(!preg_match($string_exp,$first_name)) {
        $error_message .= 'The First Name you entered does not appear to be valid.<br />';
      if(!preg_match($string_exp,$company_name)) {
        $error_message .= 'The Last Name you entered does not appear to be valid.<br />';
      if(strlen($comments) < 2) {
        $error_message .= 'The Comments you entered do not appear to be valid.<br />';
      if(strlen($error_message) > 0) {
        died($error_message);
        $email_message = "Form details below.\n\n";
        function clean_string($string) {
          $bad = array("content-type","bcc:","to:","cc:","href");
          return str_replace($bad,"",$string);
        $email_message .= "First Name: ".clean_string($first_name)."\n";
        $email_message .= "Email: ".clean_string($email_from)."\n";
        $email_message .= "Telephone: ".clean_string($telephone)."\n";
              $email_message .= "Company Name: ".clean_string($company_name)."\n";
        $email_message .= "Comments: ".clean_string($comments)."\n";
    /* Redirect visitor to the thank you page */
    header('Location:gt.html');
    exit();
    // create email headers
    $headers = 'From: '.$email_from."\r\n".
    'Reply-To: '.$email_from."\r\n" .
    'X-Mailer: PHP/' . phpversion();
    @mail($email_to, $email_subject, $email_message, $headers); 
    ?>
    <!-- include your own success html here -->
    Thank you for contacting us. We will be in touch with you very soon.
    <?php
    ?>
    </body>
    </html>

    some error now
    Parse error: syntax error, unexpected T_STRING in /home/newtocli/public_html/send_form_email.php on line 5
    My form like this
    <form name="contactform" method="post" action="send_form_email.php">
                                                                                                                                                <div class="field text">
                                                            <input  type="text" name="first_name" maxlength="50" size="30" value="Name*:">
                                                            </div>
                                                                                                                                                <div class="field text">
                                                            <input  type="text" name="email" maxlength="80" size="30" value="E-mail*:">
                                                           </div>
                                                                          <div class="clear"><!-- --></div>
                                                                                                                                                <div class="field text">
                                                            <input  type="text" name="telephone" maxlength="30" size="30" value="Phone.:">
                                                            </div>
                                                                                                                                                <div class="field text">
                                                            <input  type="text" name="company_name" maxlength="50" size="30" value="Company:">
                                                            </div>
                                                                          <div class="clear"><!-- --></div>
                                                                          <div class="field textarea"><div>
                                                                            <textarea  name="comments"></textarea>
                                </div></div>
                                                                          <div class="submit">
                                                                                    <p>* - Required fields</p>
                                                                                    <input type="submit" value="Send" />
                                                                          </div>
                                                                </form>

  • Use form name insted of complete path

    Hi.
    I am using 6i. i developed many forms and save them in one folder. when i want to open another form through a main form i always have to use a complete path(address) of other form like (D:/HR-SYSTEM/POSTING.FRM)
    I always face problem when i have to deply my project at other than D drive.
    Is there any posibity to use only form name insted of complete path.
    thnx

    Hi Dear;
    It is very easy, you only create the global variable on main form, and when want to call any form then you only give the name of the form then it will run very easilly.
    for example,
    U will wirte this one line code in main form which will run firsttly,
    :GLOBAL.MY_FORM_PATH := 'D:\PROJECTS\FORMS\'
    and when you call nay form you write only this code,
    CALL_FORM(:GLOBAL.MY_FORM_PATH||'PAY_ROLL_FORM.FMX');
    WHEN YOU WANT TO CHANGE ANY DRIVE THEN YOU WILL ONLY CHANGE ONE LINE CODE IN YOUR APPLICATION LIKE IF YOU CHANGE THE DRIVE FROM D TO E YOU ONLY DO THIS....
    :GLOBAL.MY_FORM_PATH := 'E:\PROJECTS\FORMS\'
    OK I HOPE IT WILL WORK... THX.

  • Help with add file name problem with Photoshop CS4

    Frustrating problem: Help with add file name problem with Photoshop CS4. What happens is this. When I am in PS CS4 or CS3 and run the following script it runs fine. When I am in Bridge and go to tools/photoshop/batch and run the same script it runs until it wants interaction with preference.rulerunits. How do I get it to quit doing this so I can run in batch mode? Any help is appreciated. HLower
    Script follows:
    // this script is another variation of the script addTimeStamp.js that is installed with PS7
    //Check if a document is open
    if ( documents.length > 0 )
    var originalRulerUnits = preferences.rulerUnits;
    preferences.rulerUnits = Units.INCHES;
    try
    var docRef = activeDocument;
    // Create a text layer at the front
    var myLayerRef = docRef.artLayers.add();
    myLayerRef.kind = LayerKind.TEXT;
    myLayerRef.name = "Filename";
    var myTextRef = myLayerRef.textItem;
    //Set your parameters below this line
    //If you wish to show the file extension, change the n to y in the line below, if not use n.
    var ShowExtension = "n";
    // Insert any text to appear before the filename, such as your name and copyright info between the quotes.
    //If you do not want extra text, delete between the quotes (but leave the quotes in).
    var TextBefore = "Lower© ";
    // Insert any text to appear after the filename between the quotes.
    //If you do not want extra text, delete between the quotes (but leave the quotes in).
    var TextAfter = " ";
    // Set font size in Points
    myTextRef.size = 10;
    //Set font - use GetFontName.jsx to get exact name
    myTextRef.font = "Arial";
    //Set text colour in RGB values
    var newColor = new SolidColor();
    newColor.rgb.red = 0;
    newColor.rgb.green = 0;
    newColor.rgb.blue = 0;
    myTextRef.color = newColor;
    // Set the position of the text - percentages from left first, then from top.
    myTextRef.position = new Array( 10, 99);
    // Set the Blend Mode of the Text Layer. The name must be in CAPITALS - ie change NORMAL to DIFFERENCE.
    myLayerRef.blendMode = BlendMode.NORMAL;
    // select opacity in percentage
    myLayerRef.opacity = 100;
    // The following code strips the extension and writes tha text layer. fname = file name only
    di=(docRef.name).indexOf(".");
    fname = (docRef.name).substr(0, di);
    //use extension if set
    if ( ShowExtension == "y" )
    fname = docRef.name
    myTextRef.contents = TextBefore + " " + fname + " " + TextAfter;
    catch( e )
    // An error occurred. Restore ruler units, then propagate the error back
    // to the user
    preferences.rulerUnits = originalRulerUnits;
    throw e;
    // Everything went Ok. Restore ruler units
    preferences.rulerUnits = originalRulerUnits;
    else
    alert( "You must have a document open to add the filename!" );

    you might want to try the scripting forum howard:
    http://www.adobeforums.com/webx?13@@.ef7f2cb

  • Page/Report/Form Name

    Hi All,
    Can anyone tell me which view would have the page/report/form name stored?
    Thanks in advance.
    Annie

    Hi Annie,
    You can check for Apex views by running:
    SELECT DISTINCT APEX_VIEW_NAME FROM APEX_DICTIONARY ORDER BY 1Hopefully, the names should be sufficient to determine the views you need. Once you have found one (eg, APEX_APPLICATION_PAGES), you can do a SELECT on it
    Andy

  • How to find SAP Script Form name for an particular transaction

    Hi,
    I had an issue, in the transaction F110  Payment advice. They need to adjust the spacing on the cheque printing, which is overlapping the names on the cheque and hence I have forgotten how to find the form name and the driver program of the script. Can anybody suggest me how to find those. Your help will be appreciated.
    Thanks in advance.

    >
    Muralidhar Medisetty wrote:
    > Hi,
    >
    > I had an issue, in the transaction F110  Payment advice. They need to adjust the spacing on the cheque printing, which is overlapping the names on the cheque and hence I have forgotten how to find the form name and the driver program of the script. Can anybody suggest me how to find those. Your help will be appreciated.
    >
    > Thanks in advance.
    hey
    NACE is the transaction ..for this u must know the output type..
    Script for Cheque Printing and Payment Advice can be known from Transaction FBZP...
    FBZP -> paying Company Codes -> u will get Script used for Payment Advice
    FBZP -> Pmnt methods in company code -> u will get Script used for Cheque Print
    ....Give points if useful.....
    Edited by: Satyabrata sahoo on Oct 14, 2008 4:42 PM

  • How to Locate the Custom Form Name  in Oracle Apps

    Hi hussein,
    We had a migration project from 11.0.3 NT to 11.5.10.2 AIX, and it include
    1 form I guess. The client user is showing me the navigation tree where the customized form was located.
    She opened the NT Oracle Apps 11.0.3 and it is showing the following:
    Cash Management Responsibilty
    + Other
    Enter Adjustment >> this is the customized form that she showed me
    When the form opened, i shows a block with parent table "AP_BANK_ACCOUNTS_ALL" and a child table
    "CEC_ADJUSTMENT_RECON".
    My question is, based on the navigation, how do I know which is the location of the forms.fmx? of what
    module was it registered to?
    ==============
    I tried to navigate to the custom form and open it, then click "Help --> About"
    from the menu bar, but it does not show you the form name and the forms executable location path,
    (not like the standard forms of oracle where it shows the form name),
    the "help" being shown is the help of the runtime form in a normal default oracle form window.
    so I assumed that the custom form has been registered but not following the standard procedure.
    ==============
    How do I reverse locate it? base on the "tree" > Enter Adjustment
    Thanks a lot

    Hi,
    Please see (Note: 176852.1 - Integrating Custom Applications with Oracle Applications Release 11i), Step 10-f.
    For the (Help > About) issue, please see if (Note: 556755.1 - Forms Version Not Showing On 'About Oracle Applications' Form From Help Menu) helps.
    Btw, I guess we had a similar discussion before in this EBS 11i Customized Oracle Forms and Reports.
    Regards,
    Hussein

Maybe you are looking for