Hi all,
I've set a default value in a textbox as follows:
Office365Users.MyProfile().Mail
This works, however, what I want to do is ensure that once this value is set it can never change (for example, if someone logs an issue I want the "Ticket Logged By" value to always default to the original user.
I tried:
If(SharePointForm1.Mode = FormMode.New, Office365Users.MyProfile().Mail, Parent.Default)
This is giving the following error message in the default value of the textbox "Invalid argument type (Record). Expecting a text value instead".
Can someone please point me in the right direction?
I'm also seeing an "Expected record value" error on the datacard update property (which is currently set as txtLoggedBy.Text). What should the update property be set with please?