Bindings
Send Port Filters
BTS.ReceivePortName
BTS.SPName
Export bindings grayed out
Starta om BizTalk Administration Console
WCF-WebHttp
HTTP Method and URL Mapping
<BtsHttpUrlMapping>
<Operation Method="GET" Url="?companyId=RB&filter={filterdate}" />
</BtsHttpUrlMapping>
HTTP Method and URL Mapping with Operation (Orchestration)
<BtsHttpUrlMapping>
<Operation Name="Operation_1" Method="GET" Url="?companyId=RB&filter={filterdate}" />
</BtsHttpUrlMapping>
För att detta ska fungera så kräver det att du har promote:at property i ett schema
Name="FILTERDATE" PropertyName="FromDate" PropertyNamespace="https://IP0322_Lifecare_Aterrapportering.PropertySchema
WCF-SQL
**# Stored procedure
URI:** mssql://BTSQLTest:1433//LTBIPDB?
**Action:** CompositeOperation
Azure Blob Storage 💧
# Connectionstring i BizTalk ska vara nedskalad (BlobEndpoint och SharedAccessSignature)
# Exempel:
BlobEndpoint=https://temp.net;SharedAccessSignature=st=2023-09-22T12:58:05Z&se=2024-09-30T20:58:05Z&si=hampustestar&spr=http&sv=123&sig=kasjldökalsdjci9u90
Namespace for blob metadata:
http://blobmetadata
Filmasker
Om fler än en integration har filmasker som krockar, t.ex. följande
\\sem\\Fakturering$\\Detaljfil_klinfys_*.txt
\\sem\\Fakturering$\\Detaljfil*.txt
Då kommer båda integrationerna “krocka”, det kommer fungera men den som först snappar upp filen, kommer hantera den
Macros
Macro name Substitute value
%datetime% Coordinated Universal Time (UTC) date time in the format YYYY-MM-DDThhmmss (for example, 1997-07-12T103508).
%datetime_bts2000% UTC date-time in the format YYYYMMDDhhmmsss, where sss means seconds and milliseconds (for example, 199707121035234 means 1997/07/12, 10:35:23 and 400 milliseconds).
%datetime.tz% Local date time plus time zone from GMT in the format YYYY-MM-DDThhmmssTZD, (for example, 1997-07-12T103508+800).
%DestinationParty% Name of the destination party. The value comes from the message context property BTS.DestinationParty.
%DestinationPartyQualifier% The qualifier of the destination party. The value comes from the message context property BTS.DestinationPartyQualifier.
%MessageID% Globally unique identifier (GUID) of the message in BizTalk Server. The value comes directly from the message context property BTS.MessageID.
%SourceFileName% Name of the file from which the File adapter read the message. The file name includes the extension and excludes the file path, for example, Sample.xml. When substituting this property, the File adapter extracts the file name from the absolute file path stored in the FILE.ReceivedFileName context property. If the context property does not have a value—for example, if a message was received on an adapter other than the File adapter—the macro will not be substituted and will remain in the file name as is (for example, C:\Drop\%SourceFileName%).
Note: Correct implementation of this macro requires that the output message is the same message as the received message.
%SourceParty% Name of the source party from which the File adapter received the message.
Note: Correct implementation of this macro requires that the output message is the same message as the received message.
%SourcePartyQualifier% The qualifier of the source party from which the File adapter received the message.
Note: Correct implementation of this macro requires that the output message is the same message as the received message.
%time% UTC time in the format hhmmss.
%time.tz% Local time plus time zone from GMT in the format hhmmssTZD (for example, 124525+530).
BRE (Business Rule Engine)
Gränssnitt - Business Rule Composer
Import / Export - Business Rules Engine Deployment Wizard
Användning av BRE
Orkestrering (Call Rules Shape)
Schema - Variables (promote mm)
Business Rule Composer
Varje ändring kräver en ny deployad version (I Business Rule Composer)
Adapters
# FILE
File-adapter:n konsumerar filer (läser och tar bort)
WCF lösning (API mot BizTalk)
BizTalk WCF Service Publishing Wizard
Receive Location
# Request Response Receive location
Receive pipeline: XMLReceive
# WCF-BasicHTTP Address (URI) (Till IIS)
/SERVICE/ROUTE1/ROUTE1.svc
HTTPS - Security mode behöver vara satt till Transport (Error 404 annars)