Normally you use a data connection tag like this: "[Mydatafield]", but somtimes you want to format the output of the data into a customized format. To allow this you add a ":" as seperator and then a mask of the format you want to apply to the data. Below is a overview of the different formating options available:
Makes titles and other data into valid anchor ids. Example:
if [Mydatafield] is "My anchor name", the result should be "my-anchor-name".
File and folder
There is a limited character set for filename and folder names. Using these data types, unsupported chracters are removed:
Takes a string and uses the same filtering on the string that Destinet page url generator uses.
Makes a string into a valid parameter for an url. Converts caracters that are not allowed in url into % values.
Getting a substring
Using the substring mask you can limit the length og a string. Example starts at character position 0, and gets the 20 next characters.
Sometime you want a string length cropped down without any word break, and with a trailing ".." if the length was redused. Example:
yyyy = 2017 (Year)
yy = 17 (Year)
MM = 02 (Month)
MMM = Feb (Month)
MMMM = February (Month)
dd = 10 (Day)
ddd = Fri (Day)
dddd = Friday (Day)
HH = 14 (Hour)
hh = 02 (Hour)
mm = 30 (Minutes)
ss = 30 (Secounds)
Replaces occurance of a string with another string. Example replaces all occurances of 'a' with 'b'.
Truncate numbers to kb or mb
You can truncate a size number field to kb or mb by using special flags: