Hi Guys,
Below is an App edit page
When I click on Yellow Card Sent I want it to put the current user of the app display name as well as update the field in the SharePoint List
When I click on the Yellow Reason I want it to put in the current date and time as well as updating the field in the SharePoint List.
Currently in the OnChange of the button field of Yellow Card Sent I have
UpdateContext({var2:User()})
And on the Update of the Yellow Issued By I have tried below, but it doesn't like it as it is expecting a record value
var2.FullName
Currently for Yellow Reason OnChange I have
UpdateContext({var:Now()})
On the Yellow Issued Date card I have
var
The issue with the date and display name part is that when I click on + to create a new item the date and display name are put in instead of waiting for me to make my changes.
John.
Solved! Go to Solution.
Yes, I was going by the fact that you had a label in that datacard before. So, keep the label and set as mentioned. You can make the datepicker and hour min dropdowns not visible - they are not needed.
@RandyHayes I worked it out as I was using the wrong label changed it and worked a treat.
Yet again many thanks for your help.
I am now going to go on and make the changes for the red cards 😃
When I type in a name in the User combi box, I would like it to fill in their manager name and manager email address in list columns Manager (Person) Manager Email address (Single Line of Text). I want to sue this in a flow to send an email to their manager whenever they get a yellow or red card. Do I have to use Office365 connection or can I use it from SharePoint connection?
John.
You will need to use the Office365 Connector in order to get the manager information.
However, if you are already planning to do this in a Flow, why not just grab those values in the Flow and send accordingly? You could certainly do it in your app, but it would involve that connector and you would then need to store this in your list item.
Yes, at some point you will need to have a connector to Office 365 Users as that will be the only place where the information is found.
@RandyHayes The time created in the app is set to 00:00 is there any way we can get the time to be the time it was set?
Are you stating that it is written in the list as 00:00 or that it is just displaying the time in the app as 00:00?
AND, are we talking about what is displayed in the label or are you still showing the datepicker and hour and minute dropdowns?
User | Count |
---|---|
152 | |
98 | |
88 | |
78 | |
58 |
User | Count |
---|---|
189 | |
183 | |
106 | |
99 | |
91 |