Solved

Azure create user formatting

  • 28 February 2022
  • 2 replies
  • 41 views

Badge +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?

icon

Best answer by zachary.king 1 March 2022, 15:29

View original

2 replies

Userlevel 7
Badge +14

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!

Badge +1

Hello @zachary.king !

 

So I got it to work using this:

 

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

 

Appreciate your help!

 

 

Reply