web stats
Mirth Community - Search Results

Go Back   Mirth Community > Search Forums

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: cory_cole
Forum: Support 07-17-2019, 06:19 AM
Replies: 6
Views: 146
Posted By cory_cole
Load the data into an XML reader. It will tell...

Load the data into an XML reader. It will tell you where the error is.
Forum: General Discussion 06-28-2019, 06:03 AM
Replies: 8
Views: 979
Posted By cory_cole
I assume that when you say a SQL DB, you mean SQL...

I assume that when you say a SQL DB, you mean SQL Server?

You will need to fill in the specific information for your DB.
var dbConn;
var query = 'SELECT FIELD1 FROM TABLE WHERE FIELD2 = VALUE;...
Forum: General Discussion 06-27-2019, 05:35 AM
Replies: 8
Views: 979
Posted By cory_cole
Yes it is. Which database are you using?

Yes it is. Which database are you using?
Forum: Development 06-25-2019, 12:32 PM
Replies: 7
Views: 342
Posted By cory_cole
You will need to fill in the information specific...

You will need to fill in the information specific to your server....

var dbConn;

try {
dbConn = DatabaseConnectionFactory.createDatabaseConnection('org.postgresql.Driver',IP Address,...
Forum: Development 06-25-2019, 12:19 PM
Replies: 7
Views: 342
Posted By cory_cole
You can use any database for Mirth. Hopefully you...

You can use any database for Mirth. Hopefully you are not using Derby. Mirth uses this for demos only and they highly recommend that you a different database when you setup Mirth, as it is not very...
Forum: Development 06-25-2019, 12:08 PM
Replies: 7
Views: 342
Posted By cory_cole
What DB are you using?

What DB are you using?
Forum: Development 06-25-2019, 11:47 AM
Replies: 7
Views: 342
Posted By cory_cole
Can you be more specific? Do you have a table...

Can you be more specific? Do you have a table that has the code transformations?
Forum: Support 06-20-2019, 09:15 AM
Replies: 5
Views: 149
Posted By cory_cole
Can you post your channel?

Can you post your channel?
Forum: Support 06-20-2019, 06:57 AM
Replies: 4
Views: 124
Posted By cory_cole
Try this... var FT126 = '' for each...

Try this...

var FT126 = ''

for each (ft126 in msg['FT1']['FT1.26'])
{
FT126 = msg['FT1']['FT1.26'].toString() + '\~';
}
Forum: Support 06-20-2019, 06:43 AM
Replies: 2
Views: 104
Posted By cory_cole
First you need to store OBR.2 and OBR.3 var...

First you need to store OBR.2 and OBR.3

var OBR2 = msg['OBR']['OBR.2'].toString();
var OBR3 = msg['OBR']['OBR.3'].toString();

Then you need a counter

var OBRCount = 0;

then...
Forum: Support 06-20-2019, 05:46 AM
Replies: 5
Views: 149
Posted By cory_cole
On destination 2, do you have 'Wait for previous...

On destination 2, do you have 'Wait for previous destination' selected.
Forum: Support 06-20-2019, 05:44 AM
Replies: 4
Views: 124
Posted By cory_cole
msg['FT1']['FT1.26'] =...

msg['FT1']['FT1.26'] = msg['FT1']['FT1.26'].toString().replace('~'/g,'\~');
Forum: Support 06-20-2019, 05:41 AM
Replies: 4
Views: 186
Posted By cory_cole
If you don't want them removed, instead of...

If you don't want them removed, instead of ignoring them, escape them.
i.e.
xml.replace('*'/g,'\*');
Forum: Support 06-20-2019, 05:36 AM
Replies: 5
Views: 179
Posted By cory_cole
Select 'Use JavaScript'. Then put a try catch...

Select 'Use JavaScript'. Then put a try catch around it.
Forum: Support 06-20-2019, 05:33 AM
Replies: 8
Views: 255
Posted By cory_cole
You shouldn't have to use the template. It is...

You shouldn't have to use the template. It is just there if you need it.
Forum: Support 06-19-2019, 12:00 PM
Replies: 8
Views: 255
Posted By cory_cole
Do it in the transformer. Then do a...

Do it in the transformer. Then do a channelMap.put(key, value). Then the key will be available as variable.

Depends on how you are doing it. If you are creating the variable in javaScript, the...
Forum: Support 06-19-2019, 11:21 AM
Replies: 8
Views: 255
Posted By cory_cole
There will be variables in the channel. The one...

There will be variables in the channel. The one you want is...

${originalFilename}

var index = ${originalFilename}.toString().indexOf('_');

var folder =...
Forum: Support 06-18-2019, 09:38 AM
Replies: 1
Views: 114
Posted By cory_cole
String to XML

In OBX.5 we have an encoded message. I have decoded the data and pieced it together, which is an XML. Now I have to parse through the XML to the data out. How do I convert that string into an XML so...
Forum: Support 06-17-2019, 10:25 AM
Replies: 10
Views: 278
Posted By cory_cole
Look at your transformer/filter to see if there...

Look at your transformer/filter to see if there is anything in there using HTTP.
Forum: Support 06-14-2019, 12:48 PM
Replies: 10
Views: 278
Posted By cory_cole
On your channel reader, under source-response...

On your channel reader, under source-response what do you have selected?
Forum: Support 06-14-2019, 11:56 AM
Replies: 2
Views: 118
Posted By cory_cole
Thanks. I had seen that but hadn't used it...

Thanks. I had seen that but hadn't used it because this isn't file.
Forum: Support 06-14-2019, 10:30 AM
Replies: 2
Views: 118
Posted By cory_cole
Encoded OBX.5.5

I have found were to convert the value into a string but I need to find out how to read the value in as a byte array.
Forum: Support 06-14-2019, 10:28 AM
Replies: 10
Views: 278
Posted By cory_cole
The 502 Bad Gateway error is an HTTP status code...

The 502 Bad Gateway error is an HTTP status code that means that one server on the internet received an invalid response from another server.

It just means that you have lost connection some where...
Forum: Support 06-14-2019, 07:41 AM
Replies: 17
Views: 4,697
Posted By cory_cole
OBX.5 is correct. It is just encoded.

OBX.5 is correct. It is just encoded.
Forum: Support 06-12-2019, 09:26 AM
Replies: 8
Views: 176
Posted By cory_cole
var message_counter = 1; for each (seg in...

var message_counter = 1;
for each (seg in msg.PID) {

message_counter++;
}
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -8. The time now is 06:26 PM.


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