Skip to main content
Answer

Push custom attribute from Azure AD type collection(string) retrieved using Azure AD orch into a contact custom text field

  • October 5, 2022
  • 3 replies
  • 115 views

Forum|alt.badge.img

Hello team,

 

I am trying to send an attribute (type collection(string)) which I get from azure AD using the Azure AD orch into a field :

below is the value I get and which I can’t push into the text field :

{"extension_bexxxxxxxxxxae_Job@odata.type":"#Collection(String)","extension_bexxxxxxxxxxxxxxxxxxxae_Job":["HR"]}

 

I would like to get only the HR. Can I custom the placeholder to only HR?

Can you kindly help me with my issue?

 

Best answer by Daniel Söderlund

Forgot the link to the JSON Parser Node : Freshservice

3 replies

Daniel Söderlund
Top Contributor ⭐
Forum|alt.badge.img+14

Hello team,

 

I am trying to send an attribute (type collection(string)) which I get from azure AD using the Azure AD orch into a field :

below is the value I get and which I can’t push into the text field :

{"extension_bexxxxxxxxxxae_Job@odata.type":"#Collection(String)","extension_bexxxxxxxxxxxxxxxxxxxae_Job":["HR"]}

 

I would like to get only the HR. Can I custom the placeholder to only HR?

Can you kindly help me with my issue?

 

Hello, have you tried using the JSON node?  

Then you can use something like this 

{{extension_bexxxxxxxxxxxxxxxxxxxae_Job | remove: ‘[“’ | remove ‘”]’}

 remove – Liquid template language (shopify.github.io)


Forum|alt.badge.img
  • Author
  • Apprentice
  • October 6, 2022

Hello Daniel,

I’ll try that Thank you.

Regards,

 

Selhia

 


Daniel Söderlund
Top Contributor ⭐
Forum|alt.badge.img+14

Forgot the link to the JSON Parser Node : Freshservice