Home Page › Forums › BizTalk 2004 – BizTalk 2010 › BRE
- This topic has 2 replies, 1 voice, and was last updated 9 years, 3 months ago by
community-content.
-
AuthorPosts
-
-
September 17, 2009 at 8:45 PM #23273
I’ve a set of rules (around 2000) defined in the XML file.
We are upgrading our application and using the biztalk 2009.
Is there any way to import these rules directly from the exsistance XML into the BRE?
I can transform the XML into the required format.
Thanks.
-
September 18, 2009 at 7:56 AM #23274
Yes you can use Biztalk Rule deployement tool by which u can Import rule if they were properly formatted
-
September 18, 2009 at 9:22 AM #23279
I’m talking about the non-BRE format. This XML are predefined by Customer containing set of rules.
The sample XML file below contains only few rules. It will be great if there is any way to convert XML file into BRE format XML programatically.
The sample XML file is as follows which contains some rules:<?xml version=”1.0″?>
<DataView Name=”CAQH Provider Application View” xmlns=”urn:GeoAccess.PDE.DataView”>
<Structure Table=”Provider” Alias=”” MaxInstances=”1″>
<Existence Type=”Required” MinInstances=”1″>
<Message>Please select your provider type.</Message>
</Existence>
<Field Name=”LastName” DateFormat=”Standard”>
<Mask HardRule=”true” StripMask=”false”>
<OutputMask />
<Message>Last name must consist of one or more letters.</Message>
<RegExpression>^([A-Za-z]+((\-|([\.’]?[ ]?))[A-Za-z]+)*\.?)|(“[A-Za-z]+((\-|([\.’]?[ ]?))[A-Za-z]+)*\.?”)$</RegExpression>
</Mask>
<Existence Type=”Required” MinInstances=”1″>
<Message>Please indicate your Last Name.</Message>
</Existence>
<Translations />
</Field>
<Field Name=”FirstName” DateFormat=”Standard”>
<Mask HardRule=”true” StripMask=”false”>
<OutputMask />
<Message>First name must consist of one or more letters.</Message>
<RegExpression>^([A-Za-z]+((\-|([\.’]?[ ]?))[A-Za-z]+)*\.?)|(“[A-Za-z]+((\-|([\.’]?[ ]?))[A-Za-z]+)*\.?”)$</RegExpression>
</Mask>
<Existence Type=”Required” MinInstances=”1″>
<Message>Please enter your First Name</Message>
</Existence>
<Translations />
</Field>
<Field Name=”MiddleName” DateFormat=”Standard”>
<Mask HardRule=”true” StripMask=”false”>
<OutputMask />
<Message>Middle name must consist of one or more letters.</Message>
<RegExpression>^([A-Za-z]+((\-|([\.’]?[ ]?))[A-Za-z]+)*\.?)|(“[A-Za-z]+((\-|([\.’]?[ ]?))[A-Za-z]+)*\.?”)$</RegExpression>
</Mask>
<Translations />
</Field>
<Field Name=”BirthDate” DateFormat=”Standard”>
<Minimum HardRule=”true” Op=”None” ArgType=”Value”>
<Operand>0</Operand>
<ArgValue>1/1/1900</ArgValue>
<Message>Your birth date must be January 1, 1900 or greater.</Message>
</Minimum>
<Existence Type=”Required” MinInstances=”1″>
<Message>Please enter your birth date.</Message>
</Existence>
<Translations />
</Field>
<Field Name=”SSN” DateFormat=”Standard”>
<Mask HardRule=”true” StripMask=”true”>
<OutputMask>###-##-####</OutputMask>
<Message>SSN must be 9 digits.</Message>
<RegExpression>^(({\d\d\d}-{\d\d}-{\d\d\d\d})|({\d\d\d}{\d\d}{\d\d\d\d}))$</RegExpression>
</Mask>
<Existence Type=”Required” MinInstances=”1″>
<Message>Please indicate your social security number.</Message>
</Existence>
<Translations />
</Field>
</Structure>
</DataView>
-
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.