Hi,
I am working on a TaskList app and I designed a pop up to show a reminder for the user to update the status of their tasks. Currently, the pop up shows everytime a user enters the app. However, I want it to show only once a day. For example, the user enters the app, sees the pop-up and clicks ok for the pop up to disappear, and the next time they see the pop up is when they open the app the next day.
Thanks,
You could store the information locally within the App using SaveDate and then check the value using LoadData
You can save information as to popup last displayed date time
next time user logs in check with the saved data and compare. If in same day, do not show pop up else show the pop up
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-savedata-loaddata
Regards,
Reza Dorrani
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
@RezaDorrani can you please provide an example and/or more detail ? I am not really sure how to implement this.
Thanks,
Hi @Power_Aissam ,
Based on the needs that you mentioned, I afraid that there is no direct way to achieve your needs.
As an alternative solution, you could consider add another SP List to store the Pop-Up record for the end user to open your app. Within the SP List, you may need to add following columns:
Then add above SP List as data source within your app. Set the OnStart property of the App control to following:
If( IsBlank(LookUp('YourPopUpRecordList', Text('Open Date', "[$-en-US]mm/dd/yyyy") = Text(Today(), "[$-en-US]mm/dd/yyyy") && Runner = User().FullName)), Set(ShowPopUp, true), Set(ShowPopUp, false) )
Set the Visible propety of your Pop-up Box to following:
ShowPopUp
Set the OnSelect property of the "OK" button within your Pop-Up box to following:
Set(ShowPopUp, false);
Patch( 'YourPopUpRecordList',
Defaults('YourPopUpRecordList'),
{
Title: "Pop-Up Record",
'Open Date': Today(),
Runner: User().FullName
} )
Please take a try with above solution, check if the issue is solved.
Best regards,
@v-xida-msft unfortunately, the on start property of the app doesn't trigger at all the global variable. Therefore, my pop up doesn't even show and no record is created!
Were you able to resolve this issue? I am also looking for a way to provide a message box for training when a feature or function of the app changes.
User | Count |
---|---|
125 | |
87 | |
86 | |
75 | |
69 |
User | Count |
---|---|
216 | |
181 | |
140 | |
97 | |
83 |