It puts a space between the custom property and the period while this space is unwanted by me nor put by me when I’m editing the template.
Best answer by David To
Hey @blissy,
Welcome back to the Community!
I would suggest double checking to see if your profile property value actually has a trailing space. Leading or trailing spaces can cause this odd behavior.
I would suggest double checking to see if your profile property value actually has a trailing space. Leading or trailing spaces can cause this odd behavior.
I would suggest double checking to see if your profile property value actually has a trailing space. Leading or trailing spaces can cause this odd behavior.
A trailing space is a space that is located after the final character in a text field. Similarly, a leading space that is located before the first character (letter, number, punctuation mark) in a text field.
In my screenshots, I’m demonstrating what I mentioned. That when you’re referencing a profile property, it’ll return the exact value of the property.
From my screenshots, the value I have set for the Phone Type property is “Apple Iphone”. When i’m referencing that property using “{{ person|lookup:"Phone Type"|default:"" }}?” it’s returned as “Apple Iphone?”.
Note how because my property value has no trailing spaces, the question mark immediately succeed it. Same thing would occur if I used a period (.) instead of a question mark.
David
Search saves time. Contributing compounds value.
The ROI of your reply? One helpful answer can support dozens of teams, build your credibility, sharpen your own expertise over time, foster connectivity, and create good karma – because what goes around comes around. The community is what YOU make it.