I am relatively new to powerapps and would love a bit of help please!
I am building an app for gathering survey inputs and using a SP List as my data source. On the landing page I have a gallery which allows users to view and edit any survey inputs. However, I would only like the creator of the input or a 'nominee' (used from a people column in my SP List) to be able to edit the input, everybody else should be able to view it though.
Problem:
I have a variable varNominee that takes the DisplayName from an Office365User data source that is set on the app start up (and varLoggedInUser takes the display name of the logged in user. If the display name is the same name as the Created By name then the edit button works fine).
The nominee control, in the form, is a combobox that uses a people or group type column from my SP List.
When I try to set the DisplayMode of my Form Edit control (pen icon), I keep getting an error code "Incompatible types for comparison. Incompatible type error: Table, Text" - I presume this is because the person or group column in SP List is a record property type instead of a text.
Does anyone know of any sort of work around or how I can ensure that the nominee can edit the entry?
