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 / Help with extracting s...
Power Apps
Answered

Help with extracting string from JSON

(0) ShareShare
ReportReport
Posted on by 20

Hey everyone,

I've built a QR scanning app which takes the following example JSON from a QR Code and stores it in a text field before sending it off to a Sharepoint list. I need to be able to extract the 'FullName' value and display it on a screen before the record is submitted to Sharepoint.  I can't use Flow to do this due to the app needing to work where mobile reception is very unreliable.

 

{"Email":"me@test.dk","FullName":"Me H. Mine","IsShareholder":true,"FieldRep":"Joe Bloggs","SupplierNumber":"S003535","GenericExtensions":[{"Key":"Loyalty","Value":"Gold"},{"Key":"AttendanceLevel","Value":"High"},{"Key":"NewsLetterSubscriber","Value":"Yes"}],"LastUpdatedOn":"2020-04-14T16:22:10"}

 

Ideally, I'd have liked to be able to just parse the JSON, but scanning it in via QR into a variable seemingly means I can't just call the object - if I take the above and Set it into a variable (qrtstring) then I can do the following

 

Concatenate("Welcome " , qrstring.FullName)

 

So I'd like to know how to use a combination of the First/First/Match functions etc to find the 'FullName' object and return the name (Me H. Mine)?

TIA

 

 

Categories:
  • Verified answer
    rubin_boer Profile Picture
    4,843 Super User 2024 Season 1 on at

    hi there seeing its going to a control already why not use something like (label3 my control)

    Mid(Label3.Text,Find("FullName",Label3.Text)+Len("FullName"":"""),(Find(""",""IsShareholder",Label3.Text)-Find("FullName",Label3.Text)-11))
  • Nofam Profile Picture
    20 on at

    Brilliant, thanks Rubin - works perfectly!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 337 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 250

#3
Mohsin Ali Profile Picture

Mohsin Ali 225

Last 30 days Overall leaderboard