Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Blank fields unless click.

$
0
0

Hello!

I created a form with the adobelivecycle workbench embedded into SAP. This form contains a server signature.

When I generate a PDF archive without signature, all works OK. But when I include the code for generate PDF with server signature, content fields has disappear unless you click into the field.

In my case, I generate 6 different Adobe forms. Five works fine but one of them has this fail. For all, signature process is the same.

 

Signature code:

Downloading l_pdf content, works fine, but downloading l_out not work.

TRY.

       l_pdfobj = l_fp->create_pdf_object( connection = 'ADS' ).

       CALL METHOD l_pdfobj->set_document
         EXPORTING
           pdfdata = l_pdf.   " Here l_pdf is the PDF we just created

       CALL METHOD l_pdfobj->set_signature
         EXPORTING
           keyname   = 'ServerSignature'      "Hace referencia al certificado
           fieldname = 'data[0].Pagina1[0].CampoFirma2[0]'     "Campo de firmfirma
*         reason    =
*         location  =
*         contactinfo =
         .
*    ADS call
       CALL METHOD l_pdfobj->execute( ).

*   Signed pdf
       CALL METHOD l_pdfobj->get_document
         IMPORTING
           pdfdata = l_out.

     CATCH cx_fp_runtime_internal INTO l_fpex.

     CATCH cx_fp_runtime_system INTO l_fpex.

     CATCH cx_fp_runtime_usage INTO l_fpex.

   ENDTRY.

 

 

 

Thanks.


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>