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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Extract QR text from JSON
Power Apps
Unanswered

Extract QR text from JSON

(0) ShareShare
ReportReport
Posted on by 78

Hi Dears.

can u helpme with any idea for extract text from JSON chain 

After reading the QR code, I need to extract the value of "moto"

For exmple:

Extract: TAL123

from Json:

 

{"id":"K855","ciudad":"Santa Marta ","plano":"88V323","moto":"TAL123","id":"1043263 ","Relevo":"","cantidad":"1 ","p":{"p":"U2FsdGVkX18sYITqfsdfskoH60LJr86cUFizceMjRjlnDiaePN66DnbS8gbWtlO","m":"U2FsdGVfsdfsYS5sT8kAO6aBSCAE9xuvnu0Jsh0frjLWFwppayzLrKyT3","b":"U2FsdGVfsdDRP1N2V2784aJJ14cvj+o+U3rfyHQX/9a0fsd","cm":"U2FsdGVfdffIwrtZaYG3p/Jzu1f0P8U9i5zts="}}

 

-----------------------------------------------------------

Hola a todos!

 

Alguien podria por favor indicarme una forma de extraer parte de un texto leido o capturado de un QR?

 

Por ejemplo Extraer: TAL123

Del QR que contiene todo este texto:

 

{"id":"K855","ciudad":"Santa Marta ","plano":"88V323","moto":"TAL123","id":"1043263 ","Relevo":"","cantidad":"1 ","p":{"p":"U2FsdGVkX18sYITqfsdfskoH60LJr86cUFizceMjRjlnDiaePN66DnbS8gbWtlO","m":"U2FsdGVfsdfsYS5sT8kAO6aBSCAE9xuvnu0Jsh0frjLWFwppayzLrKyT3","b":"U2FsdGVfsdDRP1N2V2784aJJ14cvj+o+U3rfyHQX/9a0fsd","cm":"U2FsdGVfdffIwrtZaYG3p/Jzu1f0P8U9i5zts="}}

Categories:
I have the same question (0)
  • CarlosFigueira Profile Picture
    Microsoft Employee on at

    Is the QR value a valid JSON object? If so, you can use an expression similar to the one below:

    Text(ParseJSON(<yourQRCodeValue>).moto)

    You can find more information about the ParseJSON function in the docs.

    Hope this helps!

  • Breitner_Hdez Profile Picture
    78 on at

    Dear carlos.

    can u help me?

     

    Breitner_Hdez_0-1699135760022.png

     

    This option doesn't work either in default propierty

    Breitner_Hdez_0-1699138559070.png

     

  • CarlosFigueira Profile Picture
    Microsoft Employee on at

    The error is saying that the value of ParseJSON(First(BarcodeReader3.Barcodes).Value) is a number. Can you add a label and set its Text property to First(BarcodeReader3.Barcodes).Value to see what the actual value is?

  • Breitner_Hdez Profile Picture
    78 on at

    Dear Carlos

     

    This is value

     

    Breitner_Hdez_0-1699279318166.png

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 519 Most Valuable Professional

#2
11manish Profile Picture

11manish 489

#3
Haque Profile Picture

Haque 327

Last 30 days Overall leaderboard