Тёмный
No video :(

Power Apps SetFocus and Scroll to top of a Form 

Shane Young
Подписаться 164 тыс.
Просмотров 22 тыс.
50% 1

Do you want to put the user's cursor into a specific text input? SetFocus is the answer. And now you know that did you know you can also use it to take the user to the top of a form? Even if the form doesn't have text inputs? 😲
Power Apps Consulting and training at www.PowerApps9...

Опубликовано:

 

27 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 100   
@NarnawareSunil
@NarnawareSunil 3 года назад
Awesome Shane.. I still remember for one of my projects.. we actually moved from one screen to another..but in second screen the focus was at the bottom..so likewise we added textinput and hid it behind another control and did setfocus on screen visible
@NarnawareSunil
@NarnawareSunil 3 года назад
But setting width is much better though.. this trick is awesome
@ShanesCows
@ShanesCows 3 года назад
Thanks for sharing Sunil! 😍
@ralphcabrera6028
@ralphcabrera6028 3 года назад
I have the same problem, how would the trigger work? Thanks in advance.
@ralphcabrera6028
@ralphcabrera6028 3 года назад
Found my answer after scrolling a few more times. You're my hero Shane! More videos please.
@nicoletimmons2344
@nicoletimmons2344 Год назад
Thanks for another helpful video, Shane! I just tried this and it works well (at least so far as I can see) by doing what you suggest: adding the text input into the top card of a form as you showed, setting the border, etc. to all be transparent -- but then setting the text input's DisplayMode property to DisplayMode.View.
@ShanesCows
@ShanesCows Год назад
Great to hear!
@iyengar007
@iyengar007 3 года назад
Thanks mman.. That's a neat trick.... Now I ccann fool around with the forum.. You should fo this tricks more often
@ShanesCows
@ShanesCows 3 года назад
👍 thanks
@brianhill3238
@brianhill3238 3 года назад
Hey Shane! Your Videos are amazing! Thanks for all you do!!
@ShanesCows
@ShanesCows 3 года назад
Thanks Brian. 😀 My pleasure!
@FollowTheLion01
@FollowTheLion01 Год назад
Thanks. This solution with the 0x0 text input worked out.
@marieraymond6512
@marieraymond6512 Год назад
Thank you Shane, this works in my app. Great job explaining.
@ShanesCows
@ShanesCows Год назад
Glad it helped! 🐶
@balgriski7291
@balgriski7291 2 года назад
Excellent, your videos are the best!!
@ShanesCows
@ShanesCows 2 года назад
Thanks! 🤩
@louiscutmore
@louiscutmore 3 года назад
Ha, so good. At first, I was like: "Shane, just make it's Visible property to false!" So, thanks for the 0x0 tip!!
@ShanesCows
@ShanesCows 3 года назад
You bet! I was annoyed when Visible false didn't work.
@davidmckenzie1889
@davidmckenzie1889 3 года назад
Just what I've been looking for 👍. I've also now looked at the documentation and it says you can use set focus on a Label control, so you could use the label of the first data card (disclaimer: haven't actually tried this yet!)
@ShanesCows
@ShanesCows 3 года назад
Interesting I didn’t try it either.
@subsguts2691
@subsguts2691 Год назад
@davidmckenzie1889 I did and it doesn't work with a labe 😞
@juandavila4035
@juandavila4035 3 года назад
Thanks for you amazing video, but could we put the focus in the first item of a gallery? How to do it?
@ShanesCows
@ShanesCows 3 года назад
Juan I already have that video recorded. It will either come out this Thursday or next. 😀 I hope you are a subscriber so you get notified.
@ShanesCows
@ShanesCows 3 года назад
Video released today ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-691pRyRHWBU.html
@clj1885
@clj1885 2 года назад
Hi Shane, this doesn't work as well in a Mobile Canvas app. This is because when the cursor is focused into a text input box, the phone automatically brings up it's keyboard, which can be confusing for users as the text input box isn't really visible. Would be cool if there was a better work around for mobile canvas apps.
@mvplay8886
@mvplay8886 Год назад
Set the field boarder to red so the user can see where to look
@ShanesCows
@ShanesCows Год назад
Great idea. Add an If statement to the BorderColor. 🤩
@TheFunkBros
@TheFunkBros Год назад
Unfortunately it doesn't work with a rich text edit field inside of a data card. However, I created a text input inside that data card that was 0 width and it moved to the top but there was nothing showing as having the caret but if the user doesn't know their intuition simply says click inside the rich text editor and it works fine. It just looks like it scrolled to the top. Thanks
@ShanesCows
@ShanesCows Год назад
Awesome. Good job getting creative.
@sangrampradhan8349
@sangrampradhan8349 3 года назад
Great video, can you please have something on pagination in powerapps?
@ShanesCows
@ShanesCows 3 года назад
I assume you mean with a gallery? I have never done any of that. 😐
@jessecrammer2431
@jessecrammer2431 3 года назад
Thanks Shane, this is awesome!
@ShanesCows
@ShanesCows 3 года назад
Glad to help. 😀
@MrEk5150
@MrEk5150 3 года назад
Thanks Shane! Now the only problem is that I have to go and update all of my apps where I need this but hey, it's all good.
@ShanesCows
@ShanesCows 3 года назад
Sorry to cause you more work Eric. 😁
@MrEk5150
@MrEk5150 3 года назад
@@ShanesCows I know. I really need to unsubscribe from you channel, Lol
@ShanesCows
@ShanesCows 3 года назад
NO 😋
@jermainejohnson3548
@jermainejohnson3548 3 года назад
Thanks Shane!
@ShanesCows
@ShanesCows 3 года назад
Happy to help
@rochellenicholson6372
@rochellenicholson6372 3 года назад
Hey Shane thats awesome!!! Do you think that you could do a video on setting up a Contact Tracing Sign In Form with somme of your cool tricks and ideas. As the whole world is living in an age of COVID
@ShanesCows
@ShanesCows 3 года назад
Rochelle do you have the app scoped out? I haven't thought about it because we haven't built one but if you have stuff that pushes me in a direction and gives me ideas I would read it. 😀 you can email me shane at powerapps911 if you have anythign to share.
@rochellenicholson6372
@rochellenicholson6372 3 года назад
@@ShanesCows I have tried to do something, which I could share that meets our requirements here in NZ. But I need to make it more seemless. Can I send you some details and outline the issues I am having. I'm sure that these are easy fix things. Or you may find just a better way to do it in general.
@ShanesCows
@ShanesCows 3 года назад
Send it over.
@evertonferreira2900
@evertonferreira2900 26 дней назад
thank you soo much!!
@ShanesCows
@ShanesCows 25 дней назад
You're welcome!
@leelavathiselvam1505
@leelavathiselvam1505 3 месяца назад
How to create the powerapps which is in scrollable all the way to bottom and it should display the rectangular field which has the name of powerapps should be visible at all the time
@ShanesCows
@ShanesCows 3 месяца назад
PowerApps Scrollable Screen ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-0lNK9Bx4QKE.html
@jallabalaram4331
@jallabalaram4331 6 месяцев назад
HI @ShanesCows App Keyboard tabbing moves focus to Browser controls. How to resolve this
@PraveenJourneys
@PraveenJourneys 3 года назад
Hello sir please upload the part 3 of responsive power app series
@ShanesCows
@ShanesCows 3 года назад
It is still a work in progress. 😐 The responsive stuff frustrates me so every time I get close to making a video on part 3 I get annoyed, and it goes to the back burner. I will look again soon. 😀
@fadiahdab
@fadiahdab 3 года назад
keep following you for ever :D
@ShanesCows
@ShanesCows 3 года назад
Thanks 🙏
@jiranav8719
@jiranav8719 3 года назад
If we click button on main page and navigate to 2nd page; hence set 'setfocus' on Control in 2nd page?
@ShanesCows
@ShanesCows 3 года назад
Put the code OnVisible of the second page
@jiranav8719
@jiranav8719 3 года назад
@@ShanesCows big thanks, it works well.
@bernardranola393
@bernardranola393 2 года назад
How can we setfocus in a Gallery Control? SetFocus to the first item is their other way?
@ShanesCows
@ShanesCows 2 года назад
Did you see this video? ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-691pRyRHWBU.html I talk about galleries and using a variable to do what I think you want to do.
@bernardranola393
@bernardranola393 2 года назад
Thank you Shane ☺️
@richardhainsworth9428
@richardhainsworth9428 3 года назад
Hi All, Hoping someone here can help. I have three forms on separate screens. All three flow into a fourth screen. On the fourth screen I have a submit button - but I want to submit the form dynamically based upon which screen the user filled in - I am struggling to do this. I have set up a text label which displays the form name based upon an if statement which captures the form name based upon the original screen used by the user - how can I feed this into the SubmitForm function, so that the correct form is updated dependent upon how the user has arrived at the fourth screen? Thank you in advance.
@ShanesCows
@ShanesCows 3 года назад
Richard in cases like this I would tend to use Patch instead to feel more in control. But with your scenario how about setting a variable when they edit each form and then if that variable is set Submit that form?
@richardhainsworth9428
@richardhainsworth9428 3 года назад
@@ShanesCows Thank you for your reply Shane. I am very new to PowerApps, and have worked it so the the three forms make visible one of three buttons on the sign off page, each hen triggers a flow to the relevant SharePoint list. It took me some time to work it out, but your tutorials have helped me immensely, so thank you for the channel and your ongoing support
@TessAlmond
@TessAlmond 5 месяцев назад
I'm going round and round with chatgpi trying to simply (yeah right lol) set forcus to a dropdown within a container at the top of the screen. Can you point me in the right direction, please?? If i give this app to the users without it, i just know they're going my why they have to click on the screen to select a value.
@Marchenkov
@Marchenkov 3 года назад
Good day. Please show the development of an application for working with a data collection terminal. (TSD is with a red ray). To be able to collect and write data to the Excel file. Thank you very much.)
@ShanesCows
@ShanesCows 3 года назад
I don’t think I have ever used a data collection terminal? What is it?
@Marchenkov
@Marchenkov 3 года назад
@@ShanesCows This is the kind of thing that is used in large stores to scan barcodes of goods for sale. I want to collect barcodes into one file. Help me please)
@maheshgiragani7121
@maheshgiragani7121 Год назад
Hi Sir, I have implemented auto save function in canvas app data source is share point . every 30 sec patch will be trigger once completed patch the the data store in share point list again I updating the record in canvas app after 30 sec the form goes to top how to fix the the issue please guide me sir
@pabloteki2782
@pabloteki2782 3 года назад
Hi Shane, In this case if I have a gallery this solution not working, only forms!! You know something about the gallery?
@ShanesCows
@ShanesCows 3 года назад
I do. That video will most likely be out on Thursday. 😎
@pabloteki2782
@pabloteki2782 3 года назад
@@ShanesCows Thank you! I can wait 😎
@ShanesCows
@ShanesCows 3 года назад
Here you go Pablo ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-691pRyRHWBU.html
@itamarconceicao6708
@itamarconceicao6708 2 года назад
Hi, @Shane Young ! This tip is very nice... I create a Editable Grid and now... I have this problem with set focus. Do you have other good tip for this? Thanks!
@chispearson9060
@chispearson9060 3 года назад
Hey Shane, How can we use the approvals Connector straight out of Power apps without Power Automate, Looks like it is in Preview at the moment.
@ShanesCows
@ShanesCows 3 года назад
Not sure. I haven’t tried yet.
@radiosonicfan1726
@radiosonicfan1726 2 года назад
Any ideas how to implement similar idea in a gallery? Have a filter and regions. When changing regions, the scroll is in middle of a gallery vs the top. I see someone posted an idea in the community to vote on.
@ShanesCows
@ShanesCows 2 года назад
This is the best I have to offer ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-691pRyRHWBU.html 😑
@Juventino222
@Juventino222 3 года назад
Hi Shane, My question is not related to the topic but maybe you can help me with. Could you please let me know if its possible to create Power App form based on Sharepoint list but : - one field in form needs to have drop box where you can select distinct values from sql server column ( for example distinct values of customers) - you can select one value (lets say Customer = Hitachi) - after submit selected value in form(from sql server) is visible on sharepoint list in column formatted like : "Single line of text" Thank you for your help in advance.
@ShanesCows
@ShanesCows 3 года назад
Yes. This video should help conceptually ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-fqH1U0_TanI.html
@Juventino222
@Juventino222 3 года назад
Thanks Shane 🙂 Will check it tomorrow.
@KWSSERVICES
@KWSSERVICES 3 года назад
Hi Shane, thanks for the great videos and ideas in this one but I’ve a problem with SetFocus which kind of works in the way I want it to, but struggles with one aspect. The form I’m working on is quite a size and is a scrollable canvas app with up to four sections and a variable number of fields in each section (dependent upon choices from above). Each section has a button which ‘saves’ the form and field values using a Patch command. After the ‘save’ I want to return to the relative position on the form, however ‘all’ that SetFocus does is take the cursor to the correct field (in the appropriate section) - what is doesn’t do is scroll the form down to that field’s position and therefore show it on screen. I hope this makes sense. I checked out if it was something to do with my form by creating a test screen, having a button with a ‘Save’ and a ‘SetFocus’ and it still hops back to the top of the screen once the save has happened. The cursor is placed in the correct field but the form doesn’t reposition itself. If there is anything you can recommend I do, or if I’m doing something wrong please advise as this is a real pain in the butt. Regards, and thanks a lot. Alan C.
@mardithpascua8112
@mardithpascua8112 3 года назад
Hi shane do you encounter an error/bug lately in powerapp canvass? In preview mode or using Alt + Mouse CLick control for testing: When i tried to select a row in my gallery - i have a Set(varid, thisitem.ID) code and then transitioning to a new screen with Form Control but when the new screen appear, it hangs and the loading bar on the top of the canvas is stuck in loading Thank you.
@ShanesCows
@ShanesCows 3 года назад
I haven’t seen that. Sound annoying for sure.
@mardithpascua8112
@mardithpascua8112 3 года назад
@@ShanesCows yea. i think theres an update in powerapps. all my Number columns has an error after i refreshed mydata source.
@yoginathbadadale
@yoginathbadadale 3 года назад
Hi Shane Thank you for your awesome learning video... I have one question regarding session time out . The session gets logged out in between users punching data hence they are losing data rather storing database is their any solution for this.. they all are using chrome
@ShanesCows
@ShanesCows 3 года назад
You need to save the data to a datasource as soon as they enter it to avoid this issue. Look at using patch instead of forms.
@yoginathbadadale
@yoginathbadadale 3 года назад
@@ShanesCows Thank you Shane for your Reply i will do the same. You are awsome and genius 🙏🙏
@Couchiman33
@Couchiman33 2 года назад
Hi Shane, im trying to figure out how to do the same thing on a multiline text field connected to a datasource, this field receives updates from the datasource. I need to scroll automatically to the botton. Any Ideas? Is any property to control scroll position for fields?
@klaudia8323
@klaudia8323 3 года назад
recently I came across some tutorial videos on MS platform, probably some intro to PA and i'm listening thinking heyyy some familiar voice in the background... did i get accidentally open yt and Shane's video? :D and now is my concern, did i recognize your voice there? PS as always thanks for video! :)))
@ShanesCows
@ShanesCows 3 года назад
Maybe. 😁 I create a lot of content without my name on it. 😊
@klaudia8323
@klaudia8323 3 года назад
Yaaay thats what i thought! 😃
@matlionis6110
@matlionis6110 3 года назад
Hej Shane, I know this question does not have anything to do with the video but I was wondering if there is even a possibility to create a dropdown menu that will contain multiple sharepoint lists (all of them have the same data) and then select one of the lists through dropdown menu and work with that particular list in the browsegallery?
@ShanesCows
@ShanesCows 3 года назад
Combine the lists into one collection and then show the collection in the dropdown, 😀
@matlionis6110
@matlionis6110 3 года назад
@@ShanesCows thats the thing. I would like to select a list from a dropdown and work with only one list since the lists are connected to the different stores. I mean I get what you are saying but as I understand it it will collect all the lists and merge them into a big one and I want to avoid that since the users will be using barcode scan to update those lists and since all the lists are containing the same data I belive the possibility of error is huge. Correct me if I am wrong :D
@ShanesCows
@ShanesCows 3 года назад
Have the dropdown Items property be an If statement then?
@matlionis6110
@matlionis6110 3 года назад
@@ShanesCows cant give you more than one thumbup!!!
@gerfer6261
@gerfer6261 3 года назад
🔦🔍 Thanks
@ShanesCows
@ShanesCows 3 года назад
Happy to help 🐶
@ilisten2410
@ilisten2410 3 года назад
Hi Shane, Thank you for your video and i’m seeking your assistance, Its about Sharepoint security, is there any way to stop sharing the Sharepoint site (Data Source) for users who are submitting forms through a app created on PowerApps, What i mean is, i dont want the users to see the content sites.
@ShanesCows
@ShanesCows 3 года назад
Probably but I haven't tried. In theory you could take away access to the Site and only give them access to the list. Did you see this video? ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-_Qnz4YeHses.html
@Grindxors143
@Grindxors143 Год назад
Does it work, yes. Is this an actual solution to the problem, no way in hell. Adding extra "invisible" elements is hacky AF. I would only use this since there is no way to properly do it. Not blaming shane however. (looking at you MS)
@PramodYadav-il2gk
@PramodYadav-il2gk 10 месяцев назад
6:03 yappiiiiiiii
Далее
Power Apps Check in Check out Inventory Management App
25:45
Музыкальные пародии
00:28
Просмотров 22 тыс.
Smoke 😱
00:26
Просмотров 1,2 млн
Секрет фокусника! #shorts
00:15
Просмотров 32 млн
PowerApps Forms - LastSubmit, Updates, UnSaved
16:26
Просмотров 102 тыс.
Setfocus to input control - PowerApps Learning Part 19
9:33
5 Power Apps Performance Tips
22:33
Просмотров 14 тыс.
How to Format Number with Comma in Power Apps Form?
9:06
Power Apps Combo Box DefaultSelectedItems
14:26
Просмотров 120 тыс.
PowerApps Scrollable Screen
22:13
Просмотров 61 тыс.
Power Apps Edit Form
36:53
Просмотров 63 тыс.
Power Apps - Textbox Currency Formatting
7:46
Просмотров 3,1 тыс.