Created
August 29, 2018 12:49
-
-
Save chrisobriensp/76617e069e627a315e2057b85640706f to your computer and use it in GitHub Desktop.
Do not do this - this is the inefficient way to hook up a data source/Azure Function to PowerApps form controls
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // do NOT do this - using your Data Source/Azure Function this way *WILL* result in the function being called multiple times.. | |
| UpdateContext({fetchedDisplayName: 'cob-gen-functions.azurewebsites.net'.apiFetchUserDetailspost({userPrincipalName: lblUserEmail.Text}).displayName}); | |
| UpdateContext({fetchedUserPhone: 'cob-gen-functions.azurewebsites.net'.apiFetchUserDetailspost({userPrincipalName: lblUserEmail.Text}).phone}); | |
| UpdateContext({fetchedUserLocation: 'cob-gen-functions.azurewebsites.net'.apiFetchUserDetailspost({userPrincipalName: lblUserEmail.Text}).officeLocation}); | |
| UpdateContext({fetchedUserJobTitle: 'cob-gen-functions.azurewebsites.net'.apiFetchUserDetailspost({userPrincipalName: lblUserEmail.Text}).jobTitle}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment