Re: Launch PowerApps from SharePoint List "New" Button
Hi @abruno
That should not be too difficult.
In your list format one of the column to link to your canvas app and pass the ID of your item.

Enter the following JSON and update the XXXX values with the relevant data
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json",
"elmType": "a",
"txtContent": "@currentField",
"attributes": {
"target": "_blank",
"href": "='https://apps.powerapps.com/play/XXXXXXX-XXXXX-XXXXX-XXXX-XXXXXXXX?tenantId=XXXXXXX-xxxxx-XXXXX-XXXX-XXXXXX&ID='+[$ID] + '&hidenavbar=true'"
}
}
In your canvas app OnStart get the ID parameter and if the varID is not blank display the form in Edit mode otherwise display in view mode.
Set(
varID,
Param("ID")
);
If(
Not(
IsBlank(varID)
),
EditForm(YourForm),
ViewForm(YourForm)
);
Let me know if this works for you.