web stats
PDF Writter on Transformer - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 06-25-2014, 05:41 AM
SilvaGabriel SilvaGabriel is offline
Mirth Newb
 
Join Date: Sep 2012
Location: Córdoba, Argentina
Posts: 8
SilvaGabriel is on a distinguished road
Default PDF Writter on Transformer

I need write an PDF File from a trasformer, the objective is send a message through a httpSender. Then, the solution that I searching is write a "Source Transformer" in JavaScript.

Thanks in advancer for the help can you give me.


Regards,
Gabriel
Reply With Quote
  #2  
Old 06-25-2014, 06:53 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,123
narupley is on a distinguished road
Default

Quote:
Originally Posted by SilvaGabriel View Post
I need write an PDF File from a trasformer, the objective is send a message through a httpSender. Then, the solution that I searching is write a "Source Transformer" in JavaScript.

Thanks in advancer for the help can you give me.


Regards,
Gabriel
You can use a Document Writer to generate the PDF, and then read in the file in the response transformer or a subsequent destination.
__________________
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


- How do I foo?
- You just bar.
Reply With Quote
  #3  
Old 06-25-2014, 07:37 AM
SilvaGabriel SilvaGabriel is offline
Mirth Newb
 
Join Date: Sep 2012
Location: Córdoba, Argentina
Posts: 8
SilvaGabriel is on a distinguished road
Default

Well, when I try to do this the problem that I have is that the channel that send the content ("SenderPDF" is a HTTPSender) don't "see" the channel.put("myvar").


Attachment 1961
I'm using MirthConnect 3.0.3.

See the attachment please.

Regards,
Gabriel
Attached Files
File Type: xml PDF_SenderMC.xml (50.0 KB, 26 views)
Reply With Quote
Reply

Tags
javascript, pdf, transformer

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 11:54 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation