Adobe Forms and Dynamic Images

Hi all,
I have a table in my Interactive Form and I need to add a dynamic image for each row of this table according with the URL field of my node, so i've done the steps of the tutorial "Dynamic Non-Interactive PDF Form", adding a image field, setting none for default binding, setting the url field as $record.Images[*].URL and then, adding the following FormCalc expression to initialize the image: this.value.image.href = xfa.resolveNode(this.value.image.href).value;
Well, my node Images return 3 records and when I run the app, the following message returns:
Script failed (language is formcalc; context is xfa[0].form[0].dataSource[0].Images[0].subImageTable[0].subImageRow[0].imageField[0])
script=this.value.image.href = xfa.resolveNode(this.value.image.href).value;
Error: SOM Expression returned list when single result was expected
Script failed (language is formcalc; context is xfa[0].form[0].dataSource[0].Images[0].subImageTable[0].subImageRow[1].imageField[0])
script=this.value.image.href = xfa.resolveNode(this.value.image.href).value;
Error: SOM Expression returned list when single result was expected
Script failed (language is formcalc; context is xfa[0].form[0].dataSource[0].Images[0].subImageTable[0].subImageRow[2].imageField[0])
script=this.value.image.href = xfa.resolveNode(this.value.image.href).value;
Error: SOM Expression returned list when single result was expected
So, anyone here knows how to add a dynamic image to a table row?
Thanks in advance
[]'s

I solved it now, just changing the FormCalc expression.
Instead of using the expression:
this.value.image.href = xfa.resolveNode(this.value.image.href).value;
I used this:
this.value.image.href = xfa.record.Images.URL;
The URL value of Image Field, in this case is:
<b>$record.Images[*].URL</b>
And, to finish, I needed to add a Text Field bounded to  <b>$record.Imagens[*].URL</b>, case else the image doesn't appear.
That's it!

Similar Messages

  • How set adobe form as dynamic

    Hello Everybody,
    I have a Java WebDynpro application with an adobe form. On adobe form is TextField and Button. On click event of Button I have javascript code:
    xfa.resolveNode("TextField").presence = "hidden";
    But it doesn't work because adobe form is static and not dynamic.
    I use SAP NetWeaver Developer Studio 7.0.08 and Adobe LiveCycle Designer 7.1. In Form Properties in LiveCycle Designer I have:
      XDP Preview Format: Dynamic PDF
      Override Default Rendering: checked
      PDF Render Format: Dynamic PDF
    If I save generated PDF and open it in Adobe Designer, I see, this is a static PDF. If I save it as Dynamic PDF, javascript works.
    How can I render my adobe form as Dynamic PDF?
    Thank you for your help!
    Michal

    Hi,
    I would like to add row and colume in my adobe form but i think i couldn't able to add due to the form is not in dynamic form.
    i insert your code that you provided in my wdDoModifyView
    if(firstTime)
         IWDInteractiveForm iForm = (IWDInteractiveForm)view.getElement("TrainingRequestForm");
         iForm.setDynamicPDF(true);
    however, it pop me with this error:
    The method setDynamicPDF(boolean) for the type IWDInteractiveForm is deprecated.
    do you know the reason? and how to solve it?

  • Using Adobe form to import images

    Is it possible to have third parties submit pictures via an Adobe form and compile the images in a format that can be imported into our ecommerce site [link removed by moderator]? I know the forms can produce csv files but not sure how they work with images. Thanks

    Do you need the image to be a part of the file (ie, embedded on the page), or just as an attachment to it? The latter is easily done, the former not so much.
    Either way it requires that the file be used in either Acrobat or Reader XI, though.

  • How set adobe form as dynamic *urgent*

    Hi,
    I wish to know how to set adobe form as dynamic in web dynpro 7 as my add and delete rows button can't work in web dynpro but can work successfully in adobe formDesigner.
    thank you

    Hi weilin,
    I'm not an expert on Java Webdynpro but i can give you my code in an Abap WebDynpro where i made it and where that works .
    Hope this will help you.
    Best regards.
    <i>
    In the view where my forms have to be display,
    go to methodWDDOMODIFYVIEW
    Here write this code according to Java requirement
    DATA:
        lr_interactive_form TYPE REF TO cl_wd_interactive_form,
        lr_method_handler   TYPE REF TO if_wd_iactive_form_method_hndl.
      CHECK first_time = abap_true.
      lr_interactive_form ?= view->get_element( 'ADOBE' ).
      lr_method_handler ?= lr_interactive_form->_method_handler.
      lr_method_handler->set_legacy_editing_enabled( abap_true ).
      lr_method_handler->set_hide_toolbars( abap_true ).
    Then you form will be display as interactive in your page
    </i>

  • Hello. I have adobe forms and received the alert that it will be ending in July. Then I received an email about Adobe Acrobat XI Pro which can create forms. I signed up for the free trial and when I began to make a new form it brings me back to Adobe Form

    Hello. I have adobe forms and received the alert that it will be ending in July. Then I received an email about Adobe Acrobat XI Pro which can create forms. I signed up for the free trial and when I began to make a new form it brings me back to Adobe Forms. My question is, when Adobe Forms ends on July 28th will Adobe Acrobat XI Pro be able to create forms or will it now? and if not, then why is adobe advertising for it still?

    What you're calling "Adobe Forms" is really Adobe FormsCentral. The FormsCentral service is indeed going away soon, but you can always create PDF forms (AcroForms) with Acrobat. Acrobat also comes with a desktop version of the FormsCentral desiger, which can be used to create simple PDF forms that can be used apart from the FormsCentral service. So you'll no longer be able to create and host web forms with the FormsCentral service or use PDF forms with the FormsCentral service. You will be able to create standalone PDF forms with Acrobat and simple PDF forms with the FormsCentral desktop app.

  • Develop forms using Adobe Forms and ABAP Web Dynpro

    Hi, 
    Could someone help me on how to learn forms development using Adobe Forms and ABAP Web Dynpro?  Any suggestion on Tutorials / Books / other helpful hints please?
    I have good knowledge of Smart Forms and used these to generate PDF Attachments via emails.
    Thanks.
    Regards
    Keshav

    http://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/d-f/faq%20on%20interactive%20forms%20based%20on%20adobe%20software.faq

  • What is the relation between adobe forms and web dynpro

    hi
    what is the relation between adobe forms and web dynpro

    Hi Jyothsna,
    Adobe forms are advanced to smartforms and scripts.
    Adobe forms are much easier than smartforms they are online forms.
    they can be developed online.
    Adobe forms : This is another SAP tool designed to create your own forms. The transaction for this is SFP.
    How to use them: You can create a sales order form in adobe form and send to the sales reps. Sales reps can fill this form when they are not connected to internet / SAP system. Once they connect to SAP just send an e-mail to a specific user id in outlook. You got to customize and code how do you want to process once you receive this form. This enables you to create orders even when you are not connected to the system. Hence no data loss. This is not how i used though :-). This is just my idea.
    What is the difference between Adobe forms and smart forms / scripts.
    Smart forms / scripts are used to show the data in SAP. Most likely you will use these to print / display some kind of reciepts / forms. Many companies must be using this for hard copies / ALE / EDI or to transfer data from SAP to others.
    Adobe forms are used to post data into SAP from SAP too.  So this has an additional feature compared to smartforms.
    Please check this link
    http://www.erpgenie.com/index.php?option=com_content&task=view&id=600&Itemid=77
    Web dynpro in one of the component in NETWEAVER.
    Web Dynpro is the SAP NetWeaver programming model for user interfaces and provides support when developing the Web representation of business applications. The Web Dynpro model is based on the Model View Controller paradigm, and has the following features that build on the classic dynpro model:
    ·        Clear separation of business logic and display logic
    ·        Uniform metamodel for all types of user interfaces
    ·        Execution on a number of client platforms.
    ·        Extensive platform independence of interfaces
    please check this link
    http://help.sap.com/saphelp_nw04/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm
    Best regards,
    raam

  • Diff  bet Adobe forms and smart forms?

    Hi Friends
    What is the diff between Adobe forms and Smart Forms
    Thanks & Regards
    Kanni

    Hello,
    Smartform:
    To create and maintain forms for mass printing in SAP systems. Besides using the printer for standard output you can also select the Internet (by using a generated HTML output), a fax, or e-mail as the output medium. Smart Forms allows you to execute simple modifications to the form and in the form logic by using simple graphical tools
    http://help.sap.com/saphelp_srm70/helpdata/EN/16/a369b1800e4bdda978ee0fe3b7bd2c/frameset.htm
    Adobe Form:
    Interactive forms in PDF format that allow users to fill out the form on the screen and save their entries in XML format in the form. When the SAP system receives the PDF form, it extracts the data saved in the form, and can process it further.
    http://help.sap.com/saphelp_srm70/helpdata/EN/f2/21021b911f4c0cae11459a4ce0bc62/frameset.htm
    Links will provide more information.
    Thanks
    Ashutosh

  • Adobe Forms and Synchornization

    Hi,
    I wanted to find some documentation or guidance on Adobe Forms. We wanted to know how Adobe forms can be integrated with a netweaver backend. Specifically some information on how the following two scenarios are processed:
    1) User fills out an adobe form and clicks the SubmitoSAP button. What is the mechanism by which the data on the form is posted to a netweaver backend (ultimately to a table). Please provide a step by step approach as I am very new to adobe forms.
    2) User fills out an adobe form and clicks the SubmittoSAPbutton (in disconnected mode). Where is the data temporarily stored or staged till a connection is made. Does the user have to reopen the form and click on the button again when connected or will the form automatically synchornize with the NW backend once connection is established.
    Any help/documentation will be appreciated.
    Thanks,
    Mahwish

    Hi Mahwish,
    1. An Interactive Form in online mode is always relying on the underlying technology to send data to SAP (or non-SAP) systems.
    Typically in an online scenario you can use Web Dynpro for ABAP or Java. In this case, the data transfer is handled by the application and the PDF form acts as a screen. You can check <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#pdf">the following tutorials on SDN</a>.
    2. The logic you mention cannot be written in the form. The interactive form must be seen as a screen (in online mode) and as a data container (in offline mode).
    Another possibilities are offline usage with mail sending to an SAP backend, upload of the filled PDF in an application connected to the backend.
    A lot of documentation can be found here:
    https://www.sdn.sap.com/irj/sdn/interactiveforms
    http://service.sap.com/adobe
    Regards,
    Francois

  • Adobe Forms in ABAP Image upload from a local drive

    Hello,
    Can anybody suggest me the procedure, how to upload the image field dynamically of an employee which is existing in PA30 to SAP interactive forms (SFP). I have gone through many forums but could not able to find any right solution on it.. and hence my development is required to design the layout and call this not through WDP but using ABAP report SE38 in order to generate the employee CV, the programming logic completed till downlaoding the employee photo to local drive from PA30 and I need the same to upload the picture which is downloaded earlier by my driver program into adobe form. Can anyboby help me on this mentioned issue will be appreciated.
    Thanks in advance.
    Regards,
    Murali.

    Thanks Kittu for your speedy response, I have already checked the link which was sent by you...But I couldn't able to find any helpful solution to my requirement. Can you please suggest me any new procedure to solve my problem.

  • Print Adobe Form AND Save a PDF file

    Hi Experts
    We have a situation where I need to print the output of an Adobe Form (printing only, it is not dynamic) that is generated during the dispatch process. In this case it is a Picking slip, but the same will apply to other documents. Currently, this works well - the output is produced and sent to the correct printer.
    A new requirement by the business is that they need an audit copy of this document. This document needs to be saved in a certain folder on a file server. I know I can do this by using the getPDF setting of SFPOUTPUTPARAMS, and I have done it before for other applications.
    However (and this is the question!), it seems that when I set getPDF, the print output does not appear anymore. Can anyone explain to me how to produce BOTH print output and a file copy of the PDF at the same time please?
    Thanks
    Casper

    I have found something for you, but you have to finish it for yourself:)) Please check here:
    http://help.sap.com/saphelp_nw70/helpdata/EN/6d/bd2d828aa04eeb9451aad0d02ae9a0/frameset.htm
    Features
    Forms with different form designs and different languages are bundled together. The data in the forms can be different.
    Form bundling is supported for the following scenarios:
    ●      Print
    ●      Print and archive
    etc.
    Otto

  • Dimensions of Adobe Form element - dynamic?

    Hi,
    I have a Java WebDynpro Application that contains a ViewSet, with an adobe form in one of the cells. I would like to have the entire Adobe application frame(including the page number at the bottom) dynamically fit within the real-estate available on a given PC, but I am having issues accomplishing this.
    It seems that when defining the form element, it forces you to specify an exact vertical height of the form, say 700px, instead of allowing you to enter 100%, which to me would indicate that it should fill the available vertical space in the grid. When I enter 100% it shows only ~ 1 inch of my form. I can enter a fixed height, but the form displayed may be either too big (a 2nd scroll bar is provided by the WebDynpro in addition to the Adobe scroll bar) or too small (lots of unused space on the screen) for a given pc.
    Are there any tricks for configuring the form to have the height adjusted to the PC screen real estate dynamically? Is this a limitation within the View Set of the WebDynpro?
    Thanks in advance.

    Hi Todd,
    What we did is calculate the height and width based on the resolution of the client screen. Instead of directly accessing the Web Dynpro application via an iView, we merely access a portal application that redirects to the Web Dynpro iView. The portal application passes the screen resolution, obtained by some javascript (<i>screen.height</i> and <i>screen.width</i>), to the Web Dynpro application as URL parameters. Based on that information, the Web Dynpro application can calculate the optimal height of the form. It's far from perfect, but since we open the Web Dynpro application in a new, maximized, screen, it works reasonably well (although the tabs in IE7 do cause some trouble).
    Kind regards,
    Sigiswald

  • Adobe Forms Interactive_OFFLINE SCENARIO_Get Image Local file/path name

    Hi,
    I have requirement In adobe forms interactive. Please refer on the scenario below.
    OFFLINE SCENARIO:
    1. User Click the IMAGE FIELD --> 2. Select Image from the local drive --> 3.? (requirement to be resolve: we need to get the image filename that was selected on step #2 and pass its value to a field) -THIS ONLY BE DONE IN JAVASCRIPTING.
    Just to Iterate our issue:
    We need to get the image filename that was selected on step #2 and pass its value to a field) -THIS ONLY BE DONE IN JAVASCRIPTING
    WORK AROUND WE MADE
    1. We tried the scripting which found on the link below but only applicable when user click a button and save the filename or filepath in the image list.
    Adding attachment to form
    2. Currently we are trying to get information with the EVENT class, object and method documentation just to address the requirement said above. As of now ongoing research just to suffice the requirement.
    Your response is highly appreciated.
    Thanks,
    Choco

    Hello
    Create a form with standard layout and it should work. Once the webservice is created and maintained in SOAADMIN, make sure the user has the relevant authorizations w.r.t to webservices, so that the form can call the webservice.
    hope this helps.
    Best Regards
    Saujanya

  • Communication problem between Adobe Form and WebDynpro

    Hi all,
    I have the following problem and am thankful for any help I can get from you in order to solve it:
    I created an Adobe Form in WebDynpro. In both the WebDynpro as well as in the Adobe Form, I created a Submit Button (which I binded to the same method) as well as a text field (which I binded to the same context attribute). When I do changes in WebDynpro, everything works fine and the changes are displayed in the Adobe Form as well.
    But when I do changes in the Adobe Form, these changes are not submitted. Also the Submit button in the Adobe Form is not working.
    I send the project to a colleague and she could deploy and run my project without any problems. So I think it is a problem with my settings or installation. I already did a reinstallation of the NW Developer Studio as well as the Adobe Lifecycle Designer. But it did not help.
    Did anyone have a similar problem or has a suggestions what else I could do?
    Thanks in advance,
    Thorsten

    Hi Thorsten,
    If the submit button doesn't do anything, it usually means there's something wrong with your client software.
    Are you using NW04s or NW04? NW04 only supports ACF (Active Component Framework) forms, whereas NW04s also supports ZCI (Zero Client Installation) forms (there're different Submit buttons in Adobe LiveCycle Designer). Reader 7.0.9 should definitely work in all cases, but Reader 8.0 (and Reader 8.1, released yesterday) doesn't work properly with ACF forms (there's an SAP note on this subject).
    To use ZCI forms, all you need is Adobe Reader at client side. To use ACF forms, you also need some other client software: either (the correct version!) SAP Active Component Framework (stand alone software that you can download from SAP Marketplace; it's part of some SAP note; search for xACF and select the correct version of the note). A better option is not to install xACF manually (uninstall it if present, using Control Panel > Add/Remove programs), but to use the ActiveX control instead (reinstall it in your case because of the problem you have). First kill the AcroRd32.exe process, if it is running. Then go to "C:\WINDOWS\Downloaded Program Files" and delete the file AdobeControl(s) (NW04) or AcfControls (something similar; NW04s) if present. Then access your form in your Web Dynpro application using IE (Firefox doesn't support ActiveX; the only option is to use ZCI forms with non-IE browsers). If all goes well, prior to displaying the form, IE should ask to install an ActiveX control (it will only be asked if you have sufficient privileges, that is belong to the local Administrators group).
    Kind regards,
    Sigiswald

  • Crystal Reports 2008 and Dynamic Images

    Hello,
    I have a windows .net application that uses a listing of items in a grid.  The user selects an item then clicks the print button and that brings up a report viewer form and passes the photograph location in a parameter to the report document being loaded.
    The first time that this report is printed, the image for the selected item is printed correctly.  The next time the report is printed, the default image used to create the graphic object on the report is printed.
    In addition if a user double clicks on the listing of items, a detail form is displayed.  When the same report is printed from this screen, the default image used to create the graphic object on the report is printed.
    This is happening in multiple .net windows applications.
    Can anyone please give me an idea as to what may be causing this.
    I am using Crystal Reports 2008 with Service Pack 2 installed.
    Thanks

    The following is the code in the Report Viewer form that contains the Crystal Report Viewer Control.
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Imports CrystalDecisions.Windows.Forms
    Imports System.IO
    Public Class RptViewer
        Inherits System.Windows.Forms.Form
        Dim MyReport As CrystalDecisions.CrystalReports.Engine.ReportDocument
    #Region " Windows Form Designer generated code "
        Public Sub New()
            MyBase.New()
            'This call is required by the Windows Form Designer.
            InitializeComponent()
            'Add any initialization after the InitializeComponent() call
        End Sub
        'Form overrides dispose to clean up the component list.
        Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
            If disposing Then
                If Not (components Is Nothing) Then
                    components.Dispose()
                End If
            End If
            MyBase.Dispose(disposing)
        End Sub
        Friend WithEvents CrystalReportViewer1 As CrystalDecisions.Windows.Forms.CrystalReportViewer
        'Required by the Windows Form Designer
        Private components As System.ComponentModel.IContainer
        'NOTE: The following procedure is required by the Windows Form Designer
        'It can be modified using the Windows Form Designer. 
        'Do not modify it using the code editor.
        <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
            Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(RptViewer))
            Me.CrystalReportViewer1 = New CrystalDecisions.Windows.Forms.CrystalReportViewer
            Me.SuspendLayout()
            'CrystalReportViewer1
            Me.CrystalReportViewer1.ActiveViewIndex = -1
            Me.CrystalReportViewer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
            Me.CrystalReportViewer1.Dock = System.Windows.Forms.DockStyle.Fill
            Me.CrystalReportViewer1.Location = New System.Drawing.Point(0, 0)
            Me.CrystalReportViewer1.Name = "CrystalReportViewer1"
            Me.CrystalReportViewer1.Size = New System.Drawing.Size(656, 481)
            Me.CrystalReportViewer1.TabIndex = 0
            Me.CrystalReportViewer1.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None
            'RptViewer
            Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
            Me.ClientSize = New System.Drawing.Size(656, 481)
            Me.Controls.Add(Me.CrystalReportViewer1)
            Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
            Me.Name = "RptViewer"
            Me.Text = "Report Viewer"
            Me.WindowState = System.Windows.Forms.FormWindowState.Maximized
            Me.ResumeLayout(False)
        End Sub
    #End Region
        Private Sub RptViewer_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Try
                Dim myConnectionInfo As ConnectionInfo = New ConnectionInfo()
                myConnectionInfo.ServerName = MyServer (Name of SQL Server)
                myConnectionInfo.DatabaseName = MySqlDb (Name of Database)
                myConnectionInfo.UserID = MyUid (Userid for SQL Database)
                myConnectionInfo.Password = MyPwd (Password for SQL Database)
                MyReport = New CrystalDecisions.CrystalReports.Engine.ReportDocument
                MyReport.Load(Path.GetFullPath(".") & "\" & MyReportFile)
                MyReport.SummaryInfo.ReportTitle = MyReportTitle  (Title passed to the report)
                MyReport.SummaryInfo.ReportComments = MyReportComments   (Comments passed to the report)
                SetDBLogonForReport(myConnectionInfo, MyReport)
              MyReport.SetParameterValue("MySequence", MyReportKey)  (Parameter passed to select single record in table)
               MyReport.SetParameterValue("MyPhotoLocation", sPhotoLocation)  (Physical Location of Photograph \\Server\Photos\)
                CrystalReportViewer1.ReportSource = MyReport
                'handle any exceptions
            Catch ex As Exception
                MessageBox.Show(ex.Message, "Report could not be created", MessageBoxButtons.OK)
            End Try
        End Sub
        Private Sub SetDBLogonForReport(ByVal myConnectionInfo As ConnectionInfo, ByVal myReportDocument As ReportDocument)
            Dim myTables As Tables = myReportDocument.Database.Tables
            Dim myTable As CrystalDecisions.CrystalReports.Engine.Table
            For Each myTable In myTables
                Dim myTableLogonInfo As TableLogOnInfo = myTable.LogOnInfo
                myTableLogonInfo.ConnectionInfo = myConnectionInfo
                myTable.ApplyLogOnInfo(myTableLogonInfo)
            Next
        End Sub
    End Class
    In the Crystal Report the Graphic Location formula field takes the {?MyPhotoLocation} + {Table.Photo} field to display the picture.  I have placed the parameter and the photo field on the report and the correct data is in the fields.
    This is the exact same form being opened and that displays correctly from the listing screen.
    Joel
    Edited by: JYaeger on Aug 8, 2009 2:56 AM

Maybe you are looking for

  • Best Buy is a mess, or worse.

    Best Buy is a mess, or worse.  I just signed up for Amazon Prime.  Here’s why: I purchased a laptop that arrived with a non-functioning touchpad.  I simply wanted to exchange this broken computer for a working model.  Best Buy could not accomplish th

  • How do you clear the "Used supplies in use" message

    I had a Laserjet 1525nw printer replaced under warranty.  The service folks re-installed my original cartridges but now I get the Used Supplies in Use message and I cannot ge the information on how much supply is left in each cartridge.  How do I cle

  • X11 not responding, packages not installing

    So, my X11 has not been working for awhile. Things that have been affected are apps like virtualbox and onyx. Also I cannot install any packages. It fails after it gets to "Running Package Scripts". Here is the messages I get from console 1/25/10 1:0

  • Dimension merging(urgent help)

    Hi, i have a cube, which have 13 dimension(not include T,U,P) in BW3.5. As per business requirement, i need to add 3 more line item dimensions, for that purpose, i need to merge some dimension, here is the statistics, Object               type       

  • Some graphics in a website cannot be scrolled, panned or zoomed in/out

    http://professional.wsj.com/article/SB10001424053111903520204576480123949521268.html?mod=WSJ_Home_la... the graphics in the above website does not respond to scrolling, panning or zooming gestures. Is there a way to make it happen? without that, majo