Skip to main content
Answer

Azure create user formatting

  • February 28, 2022
  • 2 replies
  • 68 views

danapromethean
Apprentice
Forum|alt.badge.img+1

Hi I’m having some formatting issues with creating users in Azure with the app action. I’m using place holders from one of our service requests so that ‘display name’ field is:

{{firstname}} {{lastname}}

When entered like this, it adds a line break into Azure so it looks like this in the system:

{{firstname}}

{{lastname}}

 

I tried removing the space but of course it shows up with the first name and last name all together. I also tried using the encoded space:

{{firstname}}%20{{lastname}}

 

This way does not work either. Any ideas?

Best answer by zachary.king

Hello @danapromethean, I would take a look at the capability of using liquid filters to customize the placeholders. Here is a guide to get started. 

https://support.freshservice.com/support/solutions/articles/50000003382-powerful-placeholders-with-liquid-filters

Hope this helps!

2 replies

zachary.king
Top Contributor ⭐
Forum|alt.badge.img+16
  • Top Contributor ⭐
  • Answer
  • March 1, 2022

Hello @danapromethean, I would take a look at the capability of using liquid filters to customize the placeholders. Here is a guide to get started. 

https://support.freshservice.com/support/solutions/articles/50000003382-powerful-placeholders-with-liquid-filters

Hope this helps!


danapromethean
Apprentice
Forum|alt.badge.img+1

Hello @zachary.king !

 

So I got it to work using this:

 

{{firstname}}{{ lastname | prepend: ' ' }}

 

Appreciate your help!