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 / 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
    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
    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

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard