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 Apps / How to read data of ri...
Power Apps
Unanswered

How to read data of rich text field from infopath xml library in PowerAutomate

(0) ShareShare
ReportReport
Posted on by 124

I am fetching data from infopath xml library in Powerautomate but unable to fetch data of rich text field. Below is the format in which data is coming:

 

"my:purpose": {
 "xhtml:div": [
 {
 "@xmlns": "http://www.w3.org/1999/xhtml",
 "#text": "Action due to regulatory compliance."
 },
 {
 "@xmlns": "http://www.w3.org/1999/xhtml",
 "#text": " "
 },
 {
 "@xmlns": "http://www.w3.org/1999/xhtml",
 "#text": "These corrective action are required by European Guideline 94/9/EG, 1999/92/EG (ATEX) and their implementation in German law BetrSichV and TRBS."
 }]}

 

 

Below is the expression i am using to fetch data in flow. 

 

outputs('Compose')?['my:ProjectSummaryInformation']?['my:Descriptions']?['my:purpose']?['my:xhtml:div'].['my:#text']

 

Categories:
I have the same question (0)
  • alaabitar Profile Picture
    1,503 Super User 2024 Season 1 on at

    Hello uiit3155,

     

    You may not be able to get in info because in your example there is no projectsummaryinformation or descriptions field if you try to go directly 

    outputs('Compose')?['my:purpose']?['my:xhtml:div'].['my:#text']

    it may work

     

    Best regards,

    Alaa

  • uiit3155 Profile Picture
    124 on at

    @alaabitar Thanks for your response. I have tried that too already but it is not returning anything when i am using these Div tags in the expression.

  • alaabitar Profile Picture
    1,503 Super User 2024 Season 1 on at

    Allright and if you use the json component and put your string as sample you might be able to get the correct value.

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard