Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You use a function by appending it to the expression you use to locate the value in the document. The documentation for these functions could be found in ConfiForms plugin Virtual functions

Function
          lowerCase
                  
upperCase
        
          urlencode
                  
escapeXML
        
          escapeJavaScript
                  
escape
        
          unescape
                  
formatDate
        
          formatCurrency
                  
formatNumber
        
          formatLinks
                  
replaceAccents
        
          replaceWith
                  
asUserProfileLink
        
          asUserLinkMacro
                  
urlLink
        
          escapeJSON
                  
replaceCRLFWithBR
        
          trimAllSpaces
                  
camelCase
        
          camelCaseAndTrim
                  
addCRLF
        
          addCRLFHtml
                  
trunc
        
          trim
                  
base64
        
          asJSON
                  
asUserProfile
        
          add
                  
multiply
        
          divide
                  
append
        
          prepend
                  
split
        
          userInSecurityGroup
        
securityGroupHas
          
equalssecurityGroupHas
        
notEquals
        
parseDate  equals
        
 get
        
 notEqualsasList
        
 asArray
        
 parseDateasArrayOfKVPairs
        
get
asList
asArray
asArrayOfKVPairs

There are 2 special functions available what are used as-is (not as a part of the expression)

Function
          _getIfExists(oneproperty, anotherproperty)
        
Returns either the value for first property (oneproperty) if it has a value, and if not then tries to locate the value for a second property (anotherproperty)
          _getRawResponse()
        
Returns raw response (JSON internal structure)

...