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:

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

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.

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.

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

The email that comes through looks like this.

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

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
