Rules editor: Difference between revisions

Jump to navigation Jump to search
→‎Operations: link example for "Format Text"
(→‎Operations: link example for "Format Text")
Line 410: Line 410:
| Format Single || Returns a formatted string with lookup target information. [https://www.youtube.com/watch?v=hn3lsFl3o9I&t=1518s More info] {{Badge|Webinar}} || Text || Arg1: Text with placeholders: {1} for entity ID, {2} for entity name. Arg2: Lookup field
| Format Single || Returns a formatted string with lookup target information. [https://www.youtube.com/watch?v=hn3lsFl3o9I&t=1518s More info] {{Badge|Webinar}} || Text || Arg1: Text with placeholders: {1} for entity ID, {2} for entity name. Arg2: Lookup field
|-
|-
| Format Text || Returns a formatted string that can contain references to entity fields using the [[dot notation]] - {entity.field:format}. [https://www.youtube.com/watch?v=hn3lsFl3o9I&t=1518s More info] {{Badge|Webinar}} || Text || Text with entity fields, e.g. <code>Call us at {Entity.phone} or mail us at {Entity.emailaddress}</code>.
| Format Text || Returns a formatted string that can contain references to entity fields using the [[dot notation]] - {entity.field:format} ([[Formatting_strings_in_rules#Format_Text_example|Example]]) || Text || Text with entity fields, e.g. <code>Call us at {Entity.phone} or mail us at {Entity.emailaddress}</code>.
|-
|-
| Get Date Part || Return a portion of a date time field || DateTime  
| Get Date Part || Return a portion of a date time field || DateTime  

Navigation menu