Lava Filters - PersonAvatarUrl

Category:Person

Description:Returns a URL for a person's avatar image, showing their photo when they have one and their initials otherwise.
Input: "CurrentPerson": { "FullName": "Ted Decker", "Id": 42, "IdKey": "Xy7Qa", "Guid": "8fedc6ee-8630-41ed-9fc5-c7157fd1eaa4", "PhotoId": 1234 ... }
Lava: {{ CurrentPerson.FullName }} {{ CurrentPerson.FullName }} {{ CurrentPerson.FullName }} {{ 42 | PersonAvatarUrl }} {{ 'Xy7Qa' | PersonAvatarUrl }} {{ '8fedc6ee-8630-41ed-9fc5-c7157fd1eaa4' | PersonAvatarUrl }}
Output: Ted Decker Ted Decker Ted Decker /GetAvatar.ashx?fileIdKey=a1B2c3D4e5&AgeClassification=Adult&Gender=Male&RecordTypeId=1&Text=TD&e=2026-10-14T00%3A00%3A00&t=kW3f9xQ2rN8qVb0yLk /GetAvatar.ashx?fileIdKey=a1B2c3D4e5&AgeClassification=Adult&Gender=Male&RecordTypeId=1&Text=TD&e=2026-10-14T00%3A00%3A00&t=kW3f9xQ2rN8qVb0yLk /GetAvatar.ashx?fileIdKey=a1B2c3D4e5&AgeClassification=Adult&Gender=Male&RecordTypeId=1&Text=TD&e=2026-10-14T00%3A00%3A00&t=kW3f9xQ2rN8qVb0yLk