web stats
Accessing dest template from JavaScript Writer - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 07-19-2010, 07:59 AM
jbell jbell is offline
What's HL7?
Join Date: Jul 2010
Posts: 1
jbell is on a distinguished road
Default Accessing dest template from JavaScript Writer

How do you access and modify the outbound XML in a javascript writer destingation? I am receiving a SOAP message then I have a javascript writer destingation that will call some java classes and based on the result I need to set a field in the outbound xml template. I cannot access the tmp object in the javascript writer.
Reply With Quote
Old 07-19-2010, 11:37 PM
albertosaez albertosaez is offline
Join Date: Sep 2006
Location: Valladolid, Spain
Posts: 842
albertosaez is an unknown quantity at this point

You don't have tmp but you have message.RawData and message.transformedData.

But if you want to transform the output xml, use a Javascript Step.
Reply With Quote

javascript writer, outbound, tmp

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 01:45 PM.

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