The first picture is my main form. The seconds function is for the user to sign in and sign out which going to the sign in datasource. I want the default value in the first card to be based on the persons yes/no . This is what I have so far for the default value LookUp('Sign In_1', 'Signed In?'= true, false && Email = vUserMail). The column for signed in and the first datasource is both yes/no. I know I am close, I just need to know how to default the signed in portion.
Solved! Go to Solution.
Hi @powerapps890 ,
Do you want to set a toggle's Default based on current user?
Could you tell me
1)the data type of 'Signed In?' field?
2)the data type of Email field? how do you set varUserMail variable?
I assume that:
'Signed In?' data type is yes/no
Email is text type.
varUserMail is used formula like this to set: Set(varUserMail,User().Email)
To set a toggle's Default, you should use formula like this:
LookUp('Sign In_1',Email = vUserMail).'Signed In?'
Best regards,
Hi @powerapps890 ,
Do you want to set a toggle's Default based on current user?
Could you tell me
1)the data type of 'Signed In?' field?
2)the data type of Email field? how do you set varUserMail variable?
I assume that:
'Signed In?' data type is yes/no
Email is text type.
varUserMail is used formula like this to set: Set(varUserMail,User().Email)
To set a toggle's Default, you should use formula like this:
LookUp('Sign In_1',Email = vUserMail).'Signed In?'
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.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
198 | |
52 | |
41 | |
39 | |
35 |
User | Count |
---|---|
263 | |
86 | |
71 | |
69 | |
66 |