I have created training form from sp.
Which contains 10topics,each topic has drop-down status columnn(not started,inprogress,completed) with date picker .
Whenever user select any topic it as should update date picker automatically today.
Note: only selected topic drop-down one date should change.
Other training topic should show default.
If they change the status of other training topic then it should get change or else keep it default.
I tried updatecontext on change property of drop-down but changing dates on all training topics with out touching other topics drop-down.
Hi @Ungarala1 - I'm trying to understand the data structure/process. Is the following interpretation correct?:
Please try these steps and duplicate accordingly for each topic:
Hope this makes sense, but just shout if you have any queries
Hi @Ungarala1 - yes insert that last code in the OnSuccess.
Note the following code in the defaultdate property will handle the scenario when someone goes back to edit. If the status has been changed for a topic and this was submitted to your backend data source, when the respective variable for that topic has been cleared, this will then present the defaultdate as the else from the following if statement, which the Datacard (the Parent) should be taking straight from the newly updated backend datasource:
If( varlTopic# = "inprogress" || varlTopic# = "completed", Now(), Parent.Default)
Hope this makes sense, but let me know if you need anything else.
Keep up to date with current events and community announcements in the Power Apps community.
A great place where you can stay up to date with community calls and interact with the speakers.
Check out the latest Community Blog from the community!