BizTalk: List of Custom Functoids

BizTalk: List of Custom Functoids


Introduction

BizTalk Server provides an extensive library of out of the box functoids.  In case you need functionality is not offered through the existing functoids you will need to built your own custom functoid. However there are quite a few available customized functoids available you can reuse and save you the time of building it yourself. This article provides you as developer all the resource available regarding custom functoids for BizTalk Server.

Resources

Custom Functoids

This list is intended to be a knowledge base of all Custom Functoids that are available:

Name Description
eliasen.eu.BizTalk.Functoids
  • Add Carriage Return and Line Feed - This functoid adds Carriage Return (0x0D) and/or Line Feed (0x0A) to a string.
  • Convert First Letter to Uppercase - This functoid converts a string into the same string, with all words inside the string having been converted to lowercase with a capital first letter.
  • CSV Extract - This functoid extracts a certain substring from a string separated given a separator and a position.
  • Cumulative Comma - This functoid creates a comma separated list of values based on a reoccurring element.
  • Date Converter - This functoid converts a string representing a datetime from one format to another format, completely customizable.
  • If Then Else - This functoid helps you deal with the If-Then-Else issue in maps.
  • New GUID - This functoid returns a newly generated and unique GUID.
  • Read Application Config - This functoid reads a value from BizTalk's app.config file.
  • String Replace - This functoid replaces a string inside another string with a third string. It simply uses the String.Replace method in .NET 2.0.
BizTalk Map Extension Utility Pack
also available here: 2010 | 2006
  • Convert to epoch date (unix) format - This functoid allows you to convert a traditional date (Human Readable Date) into a unix date (Epoch Date).
  • Convert from epoch date (unix) format - This functoid allows you to convert a unix date (Epoch Date) into a traditional date (Human Readable Date).
  • Convert datetime format: This functoid allows you to convert datetime format.
  • Password Generator - Use this functoid to build a random password.
  • Guid Generator - This functoid allows you to generate a new Guid.
  • Tiny Id Generator - This functoid allows you to generate a new Tiny Id.
  • Base64 Encoder - This functoid allows you to decode Base64-encoded text strings.
  • Base64 Decoder - This functoid allows you to convert string object into base64 encoded string.
  • BTSNTSvc Config Get: This functoid allows you to get configuration parameters from BTSNTsvc.exe.config. If there is no section specified, the functoid reads from the AppSettings.
  • System Environment Variable Get: This functoid allows you to get configuration parameters from machine System Environment Variable.
  • Custom Config Get: This functoid allows you to get configuration parameters from a custom configuration file.
  • Windows Registry Config Get: This functoid allows you to get configuration parameters from Windows Registry.
  • SSO Config Get: This functoid allows you to get configuration parameters from SSO Database.
  • CRM Lookup: This functoid allows you to retrieve a value from CRM lookup field.
  • String Constant - This functoid allows you to set constant values (strings) inside de maps.
  • String ToTitleCase - This functoid allows you to Converts the specified string to title case (except for words that are entirely in uppercase, which are considered to be acronyms).
  • String Advance Compare - This functoid allows you to compare two specified String objects, ignoring or honoring their case, and returns an boolean that indicates if they are equal or not.
  • String Replace - This functoid returns a new string in which all occurrences of a specified string (second parameter) found in the first string are replaced with another specified string (third parameter).
  • String Normalize - This functoid allows you to normalize the text. It will remove two or more consecutive spaces and replace them with a single space, remove two or more consecutive newlines and replace them with a single newline and “condense” multiple tabs into one.
  • String PadLeft - This functoid allows you to set a new string that right-aligns the characters in this instance by padding them on the left with a specified Unicode character, for a specified total length.
  • String PadRight - This functoid allows you to set a new string that left-aligns the characters in this string by padding them on the right with a specified Unicode character, for a specified total length.
  • Default Value Mapping: The Default Value Mapping functoid have a similar but different behavior from the Value Mapping functoid. You can use the Default Value Mapping functoid to return a value from one of two input parameters. If the value of the first input parameter is Null or Empty, then the value of the second input parameter is returned, otherwise the first input is returned.
BizTalk Functoids Library
  • ConvertDate - convert a date from one pattern to another.
RestFunctoids
  • REST Consume - This functoid consumes a REST service and returns its response.
  • XPath Extractor - This functoid extracts a part from a XML document.
My Functoids - Will upload somewhere soon
  • Pad - Add a repeating character before or after a value to a specified length (e.g. add leading zeros).
  • Truncate - Set max length. Trims any subsequent characters.
  • Replace Carriage Returns and line feeds.
Packed Decimal Converter Functoid
  • Double to Packed Packed Decimal - Convert from double to Packed Decimals.
  • Packed Decimal to Double - Convert from Packed Decimals to Double.
Encryption Functoid
  • DecryptionFunctoid
Currency Converter Functoid
  • Currency converter
Database lookup functoid with caching
  • ActionQuery - execute a stored procedure and return a single value.
  • ExecuteQuery - execute queries from the database. Each query will only be executed once.
  • ExtractData - is used to extract the appropriate column value from a recordset returned by the Execute Query functoid.
DBFunktoids
DBFunktoids for BizTalk Server 2010 here.
  • Stored Procedure Runner - executes SQL Server stored procedures.
  • Value Extractor - retrieves a value corresponding to a column name from the first row of records returned by the 'Stored Procedure Runner' functoid.
  • Error Extractor - retrieves a value corresponding to a column name from the first row of records returned by the 'Stored Procedure Runner' functoid.
ContextAccessor Functoids
  • Get Message Context Property values. (2 different functoids depending on whether the map is called from an orchestration or a port.)
EventLog Functoid
  • Will write to eventlog any output of string data type. It takes up 1 parameter and will return 1 parameter. It will return the same string after writing to eventlog.

See Also

Another important place to find a huge amount of BizTalk related articles is the TechNet Wiki itself. The best entry point is BizTalk Server Resources on the TechNet Wiki.

Leave a Comment
  • Please add 2 and 1 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Sort by: Published Date | Most Recent | Most Useful
Comments
  • Sandro Pereira edited Revision 24. Comment: Add new functoid description

  • Steef-Jan Wiggers edited Revision 21. Comment: Minor edits

  • Carsten Siemens edited Revision 20. Comment: Added tags: has TOC, has See Also

  • Carsten Siemens edited Revision 18. Comment: Fixed typos

  • Richard Mueller edited Revision 15. Comment: Removed (en-US) from title, added tags

  • Sandro Pereira edited Revision 14. Comment: Two new functoids: CRM Lookup Functoid and Tiny Id Generator Functoid

  • Sandro Pereira edited Revision 9. Comment: Change link targets to New Window

  • Patris_70 edited Revision 4. Comment: added en-US tag and title

Page 1 of 1 (8 items)
Wikis - Comment List
Sort by: Published Date | Most Recent | Most Useful
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Comments
  • Patris_70 edited Revision 4. Comment: added en-US tag and title

  • Awesome!

  • Great compilation.

  • Sandro Pereira edited Revision 9. Comment: Change link targets to New Window

  • Sandro Pereira edited Revision 14. Comment: Two new functoids: CRM Lookup Functoid and Tiny Id Generator Functoid

  • Richard Mueller edited Revision 15. Comment: Removed (en-US) from title, added tags

  • OK where is the PAD

  • Carsten Siemens edited Revision 18. Comment: Fixed typos

  • Carsten Siemens edited Revision 20. Comment: Added tags: has TOC, has See Also

  • Great compilation

  • Steef-Jan Wiggers edited Revision 21. Comment: Minor edits

  • Awesome very useful  Post thanks a lot

  • Sandro Pereira edited Revision 24. Comment: Add new functoid description

Page 1 of 1 (13 items)