Formss

Can anyone give detailed steps for .......
1.     Create a new SMARTFORM as a welcome letter.
2.     The welcome letter should be printed if the date on the selection screen is within 7 days of the join date in the employee table.
3.     A parameter for date should be defaulted to today
4.     A checkbox should be shown on the selection screen to put all welcome letters in a single spool.  If unchecked each welcome letter will have be in a different spool.
5.     A report should be shown listing those employees who received the welcome letter and any errors which occurred.
Hints
1.     The function module for a SMARTFORM changes from between clients and instances.  So never hardcode the SMARTFORM function module in code (always call it dynamically).
2.     To get the pattern for a SMARTFORMs function module enter the name of the S/F FM in that client.  Remember to change this code back to a dynamic call.
3.     There is a structure containing the print details which can
•     open a spool
•     close a spool
•     print preview
This allows the programmer to control the number of spools created and whether a dialog box should be displayed.
4.     The SMARTFORM function module is generated automatically so once an import parameter is created in the S/F it will automatically be created in the FM.
5.     Try and pass all the import parameters to the SMARTFORM in a single structure.  This makes maintenance easier.
Thanks in advance..........

See the client statement of direction document on OTN
http://otn.oracle.com/products/forms/htdocs/clientsod_forms6i.html

Similar Messages

  • Error while using LiveCycle java APIs with Http servlets:"Remote EJBObject lookup failed for ejb/Inv

    Hi all,
    When i try to run more than one servelt of the Quick Start samples that using Livecycle Java APIs and i get an error of "Remote EJBObject lookup failed for ejb/Invocation provider" from any servelt i run.
    I try some Quick samples which is not servelts (java class) and it works fine, which makes me sure that my connection properties is true.
    Environment:
    The LiveCycle is based on "Websphere v6.1", and i use "Eclipse Platform
    Version: 3.4.1".
    i install "tomcat 5.5.17" to test the servelts in developing time through Eclipse.(only for test in developing time not for deploy on )
    The Jars i added in the classpath:
    adobe-forms-client.jar
    adobe-livecycle-client.jar
    adobe-usermanager-client.jar
    adobe-utilities.jar
    ejb.jar
    j2ee.jar
    ecutlis.jar
    com.ibm.ws.admin.client_6.1.0.jar
    com.ibm.ws.webservices.thinclient_6.1.0.jar
    server.jar
    utlis.jar
    wsexception.jar
    My code is :
    Properties ConnectionProps = new Properties();
    ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT, "iiop://localhost:2809");
    ConnectionProps.setProperty ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,ServiceClientFactoryProperties.DSC_ EJB_PROTOCOL);
    ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE,ServiceClientFa ctoryProperties.DSC_WEBSPHERE_SERVER_TYPE);
    ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, "Administrator");
    ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, "password");
    ConnectionProps.setProperty("java.naming.factory.initial", "com.ibm.ws.naming.util.WsnInitCtxFactory");
    //Create a ServiceClientFactory object
    ServiceClientFactory myFactory = ServiceClientFactory.createInstance(ConnectionProps);
    //Create a FormsServiceClient object
    FormsServiceClient formsClient = new FormsServiceClient(myFactory);
    //Get Form data to pass to the processFormSubmission method
    Document formData = new Document(req.getInputStream());
    //Set run-time options
    RenderOptionsSpec processSpec = new RenderOptionsSpec();
    processSpec.setLocale("en_US");
    //Invoke the processFormSubmission method
    FormsResult formOut = formsClient.processFormSubmission(formData,"CONTENT_TYPE=application/pdf&CONTENT_TYPE=app lication/vnd.adobe.xdp+xml&CONTENT_TYPE=text/xml", "",processSpec);
    List fileAttachments = formOut.getAttachments();
    Iterator iter = fileAttachments.iterator();
    int i = 0 ;
    while (iter.hasNext()) {
    Document file = (Document)iter.next();
    file.copyToFile(new File("C:\\Adobe\\tempFile"+i+".jp i++;
    short processState = formOut.getAction();
    ...... (To the end of the sample)
    My Error was:
    com.adobe.livecycle.formsservice.exception.ProcessFormSubmissionException: ALC-DSC-031-000: com.adobe.idp.dsc.net.DSCNamingException: Remote EJBObject lookup failed for ejb/Invocation provider
    at com.adobe.livecycle.formsservice.client.FormsServiceClient.processFormSubmission(FormsSer viceClient.java:416)
    at HandleData.doPost(HandleData.java:62)
    at HandleData.doGet(HandleData.java:31)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    a

    I assume here that your application is deployed on a different physical machine of where LCES is deployed and running.
    Do the following test:
    - Say that LCES is deployed on machine1 and your application is deployed on machine2. Ping machine1 from machine2 and note the ip address.
    - Ping machine1 from machine1 and note the ip address.
    The two pings should match.
    - Ping machine2 from machine1 and note the ip address.
    - Ping machine2 from machine2 and note the ip address.
    The two pings should match.
    Usually this kind of error would happen if your servers have internal and external ip addresses.

  • Issues in calling Sql Loader through forms developer (10g)

    Hi,
    I am developing a form(in 10g) ,in which I am calling sql loader for loading data onto a oracle database table from external source (e.g. data file is a .CSV file).
    But , somehow the sql loader is not getting executed.
    Here , I am giving the environment settings , approach i am taking;
    This is a distributed system , both the application server,and database server are mounted on two different servers.
    The form is delpoyed on the application server.
    The database table , and the sql loader are configured on the databse side.
    I am using host(<sql loader command>) command to invoke the Operating System command through forms.
    The sql loader is working ok , and the data is getting loaded successfully onto the required database table when I am executing the sql loader command on Unix prompt , but through the forms , it's not working.
    Do I need to change some environmental setting to make this work...
    Any quick help in this regard is highly appreciated.
    Thanks.

    Hi Craig,
    I have already tried out the option of calling sql loader through stored procedure,but this is not working ...
    could you please share any examples to do so ...
    code snippet i am using in forms:
    declare
    usid get_application_property(userid);
    pwd get_application_property(password);
    db get_application_property(host);
    msqlldr varchar2(250);
    begin
    msqlldr:='/u01/oracle/formss/bin/sqlldr' username=<uid/pwd@db> control=<control file name> data=<data file name> log=<log file name>
    hosts(msqlldr);
    end;
    Note that sqlldr command ,for that matter any unix shell command is not working through the hosts() command ...
    could you please suggest any way out ...
    Thanks.

  • Faces/JSF vs Forms Application ?

    Hi All,
    I need to compare Forms based application with Faces/JSF based application, in term of performance.
    (The fact of proprietary vs open standard is not the consideration)
    Could any body please give comments on the points below :
    1) Initial Load, Forms has heavy initial load, can I say that Faces/JSF has much lighter initial Load ?
    2) Response Time, Faces/JSF has better response time than Formss ?
    3) Bandwidth Requirement, Faces/JSF need less bandwidth than Forms ?
    Thank you for your help,
    xtanto

    Its a pretty difficult question to answer since generally speaking they target different styles of application.
    As a general observation - being a "thin" client - JSF will be faster in that there is no initial download like Forms has with the Forms JAR file. Forms will also load e JVM which takes time as well...
    Response time is a difficult one as well since you tend, again, to have different expectation with the different UI technologies...
    I guess what we really need to do is get to the bottom of why you asking the question; if you are about to make a development decision there may be other factors which weight more heavily.
    Regards
    Grant Ronald
    Product Management

  • Submit PDF to a HTTP URL

    Hello All,
    I am trying to submit a XDP rendered as an interactive PDF on HTML page to a HTTP servlet, the XDP is rendered using renderPDF operation.
    The PDF has got a Submit button (submitting to HTTP servlet URL), which the user clicks once the all the fields are filled. Once I get the PDF on the servlet, I need to archive the filled-in PDF on a file location.
    To achieve this, I tried processFormSubmission of FormServiceClient, and when I am invoking the operation "processFormSubmission" I am getting the following exception:
    com.adobe.livecycle.formsservice.exception.ProcessFormSubmissionException: com.adobe.idp.DocumentError: Failed to connect to LiveCycle server via RMI. Make sure that the server is running and accessible to this client.
    at com.adobe.livecycle.formsservice.client.FormsServiceClient.processFormSubmission(FormsSer viceClient.java:416)
    at com.eams.lc.servlet.EamsSampleTestServlet.savePDFUsingEJB(EamsSampleTestServlet.java:170)
    at com.eams.lc.servlet.EamsSampleTestServlet.service(EamsSampleTestServlet.java:100)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja va:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:595)
    My environment details are as follows:
    1. JBoss 4.0.3
    2. SQL Server 2005
    3. Windows 2003 Server
    4. Adobe LC ES 8.2 Trial Version.
    Am I getting this exception because its a trial version? I am planning to upgrade the version to a licensed one very soon.
    And also please confirm whether the processFormSubmission can be used only with XDPs rendered as HTML?
    I tried submitting the PDF opened in Acrobat Pro, with this option also I got the same exception.
    Any comments are well appreciated.
    Thanks
    Sivajee.

    It might be a ports/firewall issue.
    Try using SOAP rather than RMI.
    Howard
    http://www.avoka.com

  • MSS PCR adobe authorizatio

    Hi gurus,
    We have created a PCR form with Adobe and everything is working fine with the formss when we have an authorization SAP_ALL .But when we assign the Manager role for MSS.We are getting thew error No form is assigned to the scenario but with SAP_ALL it's working fine.I want to know what authorization is missing for the Manager.
    We are in ECC 6.0 and MSS 1.0 version.
    If there is any way we can trace the authorizatio required for this form.
    Thanks,
    Rao.

    Hi Leela,
    To enable users to create change requests within the workset, they require
    authorization for the authorization objects B_NOTIF, S_USER_GRP, and S_BDS_DS,in addition to suitable HR Master Data and HR Organizational Management authorizations.
    Regards,
    Sharadha

  • Latest Adobe Reader DC cannot render editable forms

    Hello,
    I just wanted to have a discussion on the recent adobe reader DC. Has anyone else the below similar issues?
    I created Adobe interactive formss from WD and triggered it using IE as well as Chrome. I had Adobe reader DC installed. As per Adobe this is a latest product and covers all the features of the previous products.
    But I never got an editable form in Chrome. I somehow got an editable in IE. But when I used my SUBMIT button, the control never went back to SAP WD.
    I struggled a lot and finally uninstalled Adobe DC and installed adobe reader 9.1.
    I was able to successfully generate the form in IE in editable mode and the same SUBMIT button triggered data back to SAP WD.
    But chrome could still not render the output.
    Has anyone faced the same issue? Whats wrong with the latest version of adobe reader DC ? Adobe claims it to be the smartest release with all features integrated.
    Thanks,
    Ags.

    Hey Diego,
    Thanks for the heads-up. You saved me quite a few days of my efforts.
    Its extremely hard to get older versions of reader 9.1 which works fine to my knowledge. my 9.1 got auto updated to 11 and now the app is not quite reliable. Sometimes it opens in IE and sometimes it says 'plz close othr sessions to open here' - strange.
    Another crucial road block is that my app has to be integrated to iphone too, but strangely there is only reader dc available in itunes. So EDITABLE form is not working either in my iphone - safari or chrome
    SAP or adobe must do something on this since its stopping a lot of our PoCs.
    regards,
    Ags.

  • Deployment of forms

    I have installed application server.
    how can i run forms or reports so that other client
    can access from web browser

    hi there,
    u need to deploy forms,reports,pll etc on ur app server first.
    1.create a directory say forms and dump all ur forms and say reports , dump all ur reports and pll which contains all ur pll lib's.
    2.create an .env file and write the path of forms(FORMS_PATH) and reports in (REPORTS_PATH) and also give path of pll to these parameters in your <any_name>.env
    FORMS_PATH=c:/pll;c:/forms
    REPORTS_PATH=c:/pll;c:/reports
    3.at the end of formsweb.cfg create entry like this
    [[formss]]
    form=test.fmx -- ur login form
    lookAndFeel=Generic
    width=800
    height=550
    envFile=<any_name>.env
    now test ur forms at this url
    http://server:port/forms/frmservlet?config=formss
    Edited by: vanquish on Apr 6, 2009 12:09 PM
    Edited by: vanquish on Apr 6, 2009 12:10 PM

  • Forms6i and windows XP

    How can Forms6i run on web without JInitiator? What patches of Formss are required so that Forms6i can run on IE 5.x without the Jinitiator on Windows 2000 and XP.

    See the client statement of direction document on OTN
    http://otn.oracle.com/products/forms/htdocs/clientsod_forms6i.html

Maybe you are looking for

  • Getting a DC broken on importing the track into DTR

    Hi, I am getting an DC broken on importing and creating a DC-dp_logstatus .I am currently using NWDS CE7.1 EHP1 and NWDI as 7.0 SP16 for deployment on PI 7.1 EHP1.Please see build log is as below and suggest. Build Plugin 'WebdynproPlugin', Version 7

  • Already bought GarageBand... do I have to buy it again to make it work fully?

    Just did an update to GarageBand on my iPhone 4.  Have had GarageBand since 2010, and now with the "new" version, I have to buy the complete instruments package to get a fully functioning version.  I already bought this app once, why was I migrated t

  • ME21N, ME22N, ME23N call ME12 instead of ME13

    Hi Our users would like to be able to go from ME21N, ME22N, ME23N and directly to ME12, so that they can make changes in the info records. As standard the transaction codes ME21N, ME22N, ME23N calls up ME13 which is display mode of the info recrod. I

  • Why does Flash10e.ocx cause IE7 to crash?

    An associate is having a problem when a website attempts to run Flash10e.ocx in Shockwave Flash Object.  Internet Explorer 7 is the browser being used on a computer running Windows XP Professional SP2.  I've updated to Flash Player 10.0.45.2 but the

  • GENERAL DIFFERENCE

    CAN SOMEBODY TELL ME THE BASIC DIFFERENCE BETWEEN,  LOGISTICS EXECUTION & LOGISTICS GENERAL