🍬 Get my free video course, access to my free community, and, if you would like, you can book a call with me here: go.superpowerlabs.co/opt-in-page-page ⬅
Very well done tutorial, thanks! If or example a detail screen is tied to the currently selected item in a gallery, so that it has to go fetch information on item selection change, is there a way to know when that fetch has begun and when it ends, in order to show a spinner? Right now I have old data on the screen until it finishes fetching; you can see the dots flying from left to right to indicate activity is taking place, but during that gap in time the user is seeing the old detail data and could be confused. Thanks!
@@jackfreudenheim4846 I did misunderstand. This spinner should be working in this way. You set the variable to true, then it displays, then you do your database operation, then set the variable to false, then the user knows it is done. Do make sure that the spinner group is on top, so it is visible.
It would work fine as a component, but keep in mind that the spinner is just made up for those two items. Also, you would need to create properties to change the animation graphic. If you'd like a great introduction on how to create components, check this video out: ruclips.net/video/JBDSnaCRstI/видео.html
@@PowerAppsTutorial Thanks, I just tried it on a component turned on "Access app scope" to access "gbl variable" so I don't need properties & works fine from what I can see?
@@lemonslice7286 That works too! I think you got it! 😀👍 Have you joined our insider's Facebook group yet? Here is the link to the student intake form: learn.powerappstutorial.com/InsidersGroupSurvey
Hello Darren, thanks for your content. I'm pretty new on PowerApps and after I write Set(gblShowSpinner, true);, the "true" and the "false" don't appear in red. Also, when I insert gblShowSpinner in the visible it appears as an error. Am I doing something wrong?
@@PowerAppsTutorial I show up the monthly performance of team, the database is SharePoint, so after seeing your awesome video, I thought to create an app to automate the entire process,
Hello Darren, I realized that was my configuration the problem, but now I have a question about the Setting of the variable gblShowSpinner, Why did u set this variable as true and in the same script as false? Let me say that I ask this to chatGPT and said that doing this the Spinner is going to change between true and false, so the spinner is going to appear a short period of time when the user starts the app, is it correct?
Sorry, Darren, but I just understand that your variable set in true when the app is inicialized and then execute all the code and finishing this the variable set in false because the actions have finalized. Thanks a lot, Darren! Your channel is great!
You could base the visible property based on the record count in the gallery. Also, you could utilize the gallery's built in spinner (LoadingSpinner property).
Hello Darren, from Peru. I have a situation, after I write Set(gblShowSpinner; true); appear a message highligthing in red the semicolon and say Inespected Caracter. Is it could be my configuration? I don't know why for me this is an error and for you is transparent. T_T
Hey I have a problem in my app, can u help me pls? My app is connected to Sharepoint and all my forms have this issue when the user clicks on the item in the gallery (from previous screen) the app shows the last record I oppened and after 0,5 seconds, loads the correct one. The gallery is based on a collection, due to delegation problem. And the gallery has this code on select property: Concurrent(Set(SPN;true);Set(teste;ThisItem.ID);EditForm(frm_datalhe_tutor));;Navigate(tl_tutores_detalhe;ScreenTransition.UnCover);;Set(SPN;false) SPN -> boolean, to show loading spiner teste -> Number, holds the ID to use in form In the form item property i have a simple lookup -> LookUp(tb_tutor;ID=teste) I tried adding the loading screen to hide this lag loadout, but it just doesnt appear at all. The app goes straight to the form screen (and then show for 0,5 seconds the last record....). I tried the bulit-in loading spinner, didnt help.. obs: I'm from brazil, so in the code, u have to replace : ; -> , ;; -> ;
I would recommend setting a variable to hold the currently selected item in the gallery, then set up the form to use that variable as the default. That would eliminate the need to do the lookup on the other screen. Instead of doing Set(teste;ThisItem.ID); Do this: Set(gblSelectedRecord, ThisItem); Alternatively, if you want to do the lookup on the 2nd screen, do the lookup in the Screen.OnVisible and put it in a varable and set up your spinner before and after. That works too. Good luck! 😀👍👍
@@PowerAppsTutorial I can't use ThisItem to hold the record it self. The gallery is based on a collection. And the form is conected to the sharepoint table. I tried, but I get error. The second tip didnt work to. I put on ONVISIBLE of the screen and got the same lag. I searched for some property like "after load" of the form to set the spinner off, but didnt find anything. Tks !!
@@Bravanesia Ok, so Instead of doing Set(teste;ThisItem.ID); Do this: Set(gblSelectedRecord, LookUp(DataSource, ID = ThisItem.ID)); ...that should work. 😀👍
@@PowerAppsTutorial WOW, how I didn't thought about that hahah. It worked perfectly, thanks man! Keep up the good work, this channel is helping me a lot!!
🍬 Get my free video course, access to my free community, and, if you would like, you can book a call with me here: go.superpowerlabs.co/opt-in-page-page ⬅
Thank you darren, now am addicted to your channel but it worth it thank you again
I'm glad you're here! Thanks for all the feedback, it is truly appreciated! 😊👍
Thank you Darren!
You're welcome, Mike! Nice interacting with you on the Skool community. 🤓👍👍
Thank you for your time and effort
My pleasure! Thanks!
Thank you Darren! Really appreciate these videos
Glad you like them!😊
This is very helpful, thank you Darren
You're very welcome! 😀👍
This one is really neat, gives me a bunch of ideas. Thanks!
Thanks man! I watch your videos too!
Very well done tutorial, thanks! If or example a detail screen is tied to the currently selected item in a gallery, so that it has to go fetch information on item selection change, is there a way to know when that fetch has begun and when it ends, in order to show a spinner? Right now I have old data on the screen until it finishes fetching; you can see the dots flying from left to right to indicate activity is taking place, but during that gap in time the user is seeing the old detail data and could be confused. Thanks!
Exactly! That's why it is so useful!
@@PowerAppsTutorial I don't think you saw my question? I'd love to know how you handle this type of situation. Thanks!
@@jackfreudenheim4846 I did misunderstand. This spinner should be working in this way. You set the variable to true, then it displays, then you do your database operation, then set the variable to false, then the user knows it is done. Do make sure that the spinner group is on top, so it is visible.
@@jackfreudenheim4846 Look at the 5:15 mark where I demonstrate how to do this.
@@jackfreudenheim4846 Are you using a form to display the data?
Thanks for this. Is it not better to use a component? unless there might be an issue with components that I'm not aware of, please advice.
It would work fine as a component, but keep in mind that the spinner is just made up for those two items. Also, you would need to create properties to change the animation graphic. If you'd like a great introduction on how to create components, check this video out: ruclips.net/video/JBDSnaCRstI/видео.html
@@PowerAppsTutorial Thanks, I just tried it on a component turned on "Access app scope" to access "gbl variable" so I don't need properties & works fine from what I can see?
@@lemonslice7286 That works too! I think you got it! 😀👍 Have you joined our insider's Facebook group yet? Here is the link to the student intake form:
learn.powerappstutorial.com/InsidersGroupSurvey
Unfortunately I'm not a social media person, I'm only on twitter do you perhaps have a twitter account so I can follow you?
@@lemonslice7286 Sure thing! Here you go: twitter.com/developermct
Hello Darren, thanks for your content. I'm pretty new on PowerApps and after I write Set(gblShowSpinner, true);, the "true" and the "false" don't appear in red. Also, when I insert gblShowSpinner in the visible it appears as an error. Am I doing something wrong?
I'llhave to see your error.. can you post your question to my free community for quick help
www.skool.com/power-apps-community
How to create a app to show dashboard only,, so that stakeholders get and refresh chart anytime
Sure, what are you showing in your dashboard?
@@PowerAppsTutorial I show up the monthly performance of team, the database is SharePoint, so after seeing your awesome video, I thought to create an app to automate the entire process,
Hello Darren, I realized that was my configuration the problem, but now I have a question about the Setting of the variable gblShowSpinner, Why did u set this variable as true and in the same script as false? Let me say that I ask this to chatGPT and said that doing this the Spinner is going to change between true and false, so the spinner is going to appear a short period of time when the user starts the app, is it correct?
Sorry, Darren, but I just understand that your variable set in true when the app is inicialized and then execute all the code and finishing this the variable set in false because the actions have finalized. Thanks a lot, Darren! Your channel is great!
You're welcome ☺️
How to load the spinner when the items in the gallery are loading.
You could base the visible property based on the record count in the gallery. Also, you could utilize the gallery's built in spinner (LoadingSpinner property).
@@PowerAppsTutorial The inBuilt Loading spinner option doesn't work . Could you make a quick Video/Shorts for it?
Hello Darren, from Peru. I have a situation, after I write Set(gblShowSpinner; true); appear a message highligthing in red the semicolon and say Inespected Caracter. Is it could be my configuration? I don't know why for me this is an error and for you is transparent. T_T
this is the right code here Set(gblShowSpinner, true);... you should have used a comma and not a semi-colon after the variable nam e☺️
way to freking long for what it is
Hey I have a problem in my app, can u help me pls?
My app is connected to Sharepoint and all my forms have this issue when the user clicks on the item in the gallery (from previous screen) the app shows the last record I oppened and after 0,5 seconds, loads the correct one.
The gallery is based on a collection, due to delegation problem. And the gallery has this code on select property:
Concurrent(Set(SPN;true);Set(teste;ThisItem.ID);EditForm(frm_datalhe_tutor));;Navigate(tl_tutores_detalhe;ScreenTransition.UnCover);;Set(SPN;false)
SPN -> boolean, to show loading spiner
teste -> Number, holds the ID to use in form
In the form item property i have a simple lookup -> LookUp(tb_tutor;ID=teste)
I tried adding the loading screen to hide this lag loadout, but it just doesnt appear at all. The app goes straight to the form screen (and then show for 0,5 seconds the last record....).
I tried the bulit-in loading spinner, didnt help..
obs: I'm from brazil, so in the code, u have to replace :
; -> ,
;; -> ;
I would recommend setting a variable to hold the currently selected item in the gallery, then set up the form to use that variable as the default. That would eliminate the need to do the lookup on the other screen.
Instead of doing Set(teste;ThisItem.ID);
Do this: Set(gblSelectedRecord, ThisItem);
Alternatively, if you want to do the lookup on the 2nd screen, do the lookup in the Screen.OnVisible and put it in a varable and set up your spinner before and after. That works too. Good luck! 😀👍👍
@@PowerAppsTutorial I can't use ThisItem to hold the record it self. The gallery is based on a collection. And the form is conected to the sharepoint table. I tried, but I get error.
The second tip didnt work to. I put on ONVISIBLE of the screen and got the same lag.
I searched for some property like "after load" of the form to set the spinner off, but didnt find anything.
Tks !!
@@Bravanesia Ok, so Instead of doing Set(teste;ThisItem.ID);
Do this: Set(gblSelectedRecord, LookUp(DataSource, ID = ThisItem.ID));
...that should work. 😀👍
@@PowerAppsTutorial WOW, how I didn't thought about that hahah. It worked perfectly, thanks man! Keep up the good work, this channel is helping me a lot!!
@@Bravanesia So glad to hear, man! 😀👍