web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Creating Item from a P...
Power Automate
Unanswered

Creating Item from a Person to a Multi Text Field is showing up as "odata.type.."

(0) ShareShare
ReportReport
Posted on by 920 Super User 2024 Season 1

Hi,

 

When I am creating an Item from List A into List B , The output is like "[{"@odata.type":"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser","Claims":"i:0#.f|membership|tag0335@gmail.com","DisplayName":"Stevens, Louis","Email":"Louis.Stevens@gmail.com.com","Picture":"UserPhoto.aspx?Size=L&AccountName=Louis.Stevens@gmail.com.com","Department":"Cool Department","JobTitle":"Cool guy"}]

 

How can I convert this field to not show this?

 

Thanks.

 

Categories:
I have the same question (0)
  • v-yueyun-msft Profile Picture
    on at

    Hi , @wonka1234 

    This is my SharePoint List and the output of the "Get items" action in flow.

    vyueyunmsft_0-1710295286732.png

    For example , if you want to extract the [DisplayName] of this Person, You need to use expression to get:

    vyueyunmsft_1-1710295443204.png

    join(xpath( xml(json(concat('{"root":{"item":',item()?['PersonsTest'],'}}'))) , '/root/item/DisplayName/text()')
    ,';')

     

    join(xpath( xml(json(concat('{"root":{"item":',item()?['Internal Column Name'],'}}'))) , '/root/item/DisplayName/text()')
    ,';')

     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

     

  • wonka1234 Profile Picture
    920 Super User 2024 Season 1 on at

    @v-yueyun-msft  looks to be working with some fields, but others I am getting error - 

     

    Unable to process template language expressions in action 'Review_Converted' inputs at line '0' and column '0': 'The template language function 'json' parameter is not valid. The provided value '{"root":{"item":}}' cannot be parsed: 'Unexpected character encountered while parsing value: }. Path 'root.item', line 1, position 16.'. Please see https://aka.ms/logicexpressions#json for usage details.'.

     

    Looks to me this error occurs when there is a blank in a row. Otherwise this formula works fine.

  • ThxAlot Profile Picture
    22 on at

     

    join(xpath(xml(json(concat('{"root":',coalesce(item()?['PersonsTest'],'""'),'}'))),'/root/DisplayName/text()'),';')

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard