Hey there
In PowerApps SharePoint Forms I want to determine the current ScreenSize. Ideally, on opening the form, I'd like to make the app responsive or at least show a hint for mobile users to use the corresponding app.
So far I couldn't figure out on how to do that.
Does anyone know how to achieve this, or, if this is ever going to be released & when?
If its possible with a hack, I'd be happy to know that too.
Kind regards,
Solved! Go to Solution.
Hi @mrQ ,
I'm afraid there's no very good way.
Powerapps' "mobile-solution" is against powerapps standalone app, not sharepoint custom form.
For powerapps standalone app,, the feather that you want is supported.
For sharepoint custom form, many feathers are not supported. After all, that's just a form, not an app.
Best regards,
Hi @mrQ ,
Do you want to change sharepoint custom form's screen size?
Actually, you could set this when you designing this custom form.
File->settings->screen size
What's more, what do you mean "show a hint for mobile users to use the corresponding app."?
If you want to show a notify about telling user that he is using custom form, you could set the SharePointIntegration's
Onview/onedit/onew to :
Notify("you are using sharepoint custom form",NotificationType.Information)
Best regards,
Hey there
Thanks for your response.
My mistake, it appears I was unclear.
I want the screen size to be adjusted to the endusers device. On canvas apps, I can do that with "ScreenSize" where I got values like
On SharePoint Forms, this doesn't work. I know that I can change the apps orientation and size manually, but since I want to build my forms responsive, this wouldn't be adjusted if someone is accessing the SharePoint list on a mobile device.
With "show a hint for mobile users to use the corresponding app." I simply meant that in case I cannot do it responsive as I want, at least I'd like to have some kind of detection of the screen size so I can notify mobile (small screen size-) users about it and, perhaps, refer him to use it either on desktop or, in case we've built a mobile app for that particular list, use that one.
Simply put:
Is there a way to detect the screen size on PowerApps SharePoint forms?
Hi @mrQ ,
Do you want to change the sharepoint custom form's screen size and direction dynamically just like in canvas app?
I'm afraid it's not supported to do this in sharepoint custom form.
Since sharepoint custom form is just a form, not all feathers of canvas standalone app are supported here.
In sharepoint custom form, you could only set a stable settings here:
The options in canvas standalone app are not supported: scale to fit, lock aspect ratio, lock orientation.
You could post your idea here to ask for adding this feather in sharepoint custom form:
https://powerusers.microsoft.com/t5/Ideas/ct-p/PA_Comm_Ideas
Others who have the same idea will vote for you.
Best regards,
Thanks. That's what I suspected.
It's quite unfortunate, given that PowerApps is supposed to be the "mobile-solution", while when using it with SP Forms it's not mobile friendly at all.
Is there any other way to detect if a form is being viewed via a mobile device in SP forms?
Hi @mrQ ,
I'm afraid there's no very good way.
Powerapps' "mobile-solution" is against powerapps standalone app, not sharepoint custom form.
For powerapps standalone app,, the feather that you want is supported.
For sharepoint custom form, many feathers are not supported. After all, that's just a form, not an app.
Best regards,
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
User | Count |
---|---|
166 | |
94 | |
64 | |
63 | |
60 |
User | Count |
---|---|
238 | |
162 | |
95 | |
85 | |
81 |