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 / QR Code Deep Link Para...
Power Apps
Answered

QR Code Deep Link Param Issue

(0) ShareShare
ReportReport
Posted on by

Hello,

 

I am working on an Archive Request app. I want to generate a label with a QR code that can be scanned and take the user to the record. For some reason, only the basic app url is coming up when I scan the QR code even though the flow shows the screen name and record ID as being passed. If someone could tell me what I am doing wrong, I would appreciate it. My ultimate goal is to create a deep link QR code that can be saved to a SharePoint doc library as a .png file that can be inserted into a PDF later on, but right now I'm just trying to get the QR code deep link working.

 

OnStart:

 

 Set(
 varRefID,
 IfError(
 Value(Param("RefID")),
 0
 )
 );
 Set(
 varRecord,
 LookUp(
 'CSO Archive Requests',
 ID = varRefID
 )
 )

 

StartScreen:

 

If(
 !IsBlank(Param("RefID")) && Param("DeepLink") = "AdminScreen",
 'Admin Screen',
 Param("DeepLink") = "NewRequestScreen",
 'New Request Screen',
 'Home Screen'
)

 

Data Source: I am using a multiline text column (plain text). I deleted the text value field and inserted an image control. The Image control property is set to:

Image-formula.png

I inserted a label next to the Image to see what is being returned and the entire string appears to be returned.

imagelabel.png

The Default property of the data card is ThisItem.QRCodeML. The Update property is varBlob. The varBlob variable is set in the OnSelect of the Generate Box Label PDF button. Since the "Generate" button is different from the Submit Form button, I'm using a Patch formula to pass the blob.

Set(varBlob, JSON(Image4.Image, IncludeBinaryData));
Patch(
 'CSO Archive Requests',
 {
 ID: varRecord.ID,
 'Generate PDF': true,
 'PDF Version': Value(valPDFVersion.Text) + 1,
 'PDF Email': varUser.Email,
 QRCodeML: varBlob
 }
);
Notify("A box label will be sent to your email and attached to the record shortly.", Success)

This is what is written back to the SharePoint list. Everything looks good.

SP List.png

I'm using the 'When an item or a file is modified' trigger in Power Automate. I don't want to call the flow from Power Apps as I want to avoid converting the app to a Premium App (I'll be using the premium MSFT Word connector). I added a Compose step to get replace the quotation marks with empty strings and then added another Compose step for the image tag. The outputs of the 'Compose Image tag' are coming from the 'Compose Replace' step.

 

compose-steps.png

I added an email step. The outputs are coming from the Compose Image tag step.

email-step.png

The email that comes through looks like this.

QR-Code-Email.png

The URL appears to be passed as intended in the flow run.

flow-run-success.png

When I scan the QR Code in the email, the app only opens to the home screen of the app. I know the url is hard to see, but there are no additional parameters at the top, only the basic app url. I've been working on this experiment for hours now trying to debug it so if anyone can spot where the disconnect is I would greatly appreciate it! Thank you, Teresa

 

homescreen.png

 

 

 

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

    Hi @tagustin2020 ,

     

    Seems to be an encoding issue.

    Please encode your app url and try again.

    "https://quickchart.io/qr?text="& EncodeUrl("https://apps.powerapps.com/play/e/...&hidenavbar=true&test=3")

     

    Best Regards,

    Wearsky

  • tagustin2020 Profile Picture
    on at

    Woo hoo! That did it. Thanks, Wearsky! 

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard