
On app restart, the property/column/field names of my record, "SelectedRequest", changes to names that are different from the names of the referenced sharepoint list column names (e.g. 'Created By' -> 'Author', ' Trip Purpose' -> 'TripPurpose',
"SelectedRequest" is an output property of a component, which is a sharepoint list item as a record type. Only when I go to this property and try to reference the fields of this record, the field names finally update to the correct names reflected in sharepoint list.
How do i fix this so the correct record names that match the sharepoint list column names are instantiated on app start?
Hi @q2 ,
It is actually the same name and was originally (at the start of Power Apps) the way that field names with spaces and special characters needed to be referred to. _x0020_ is a space and _x003a_ is a colon : - they are the hex values (20/3a) of those characters and still form the underlying field name.
You still should be able to refer to the field as 'Destination: DailyExpenses'.Value) but a better practice is to not use spaces or special characters in your field names, however another possible issue here - are these secondary fields in a SharePoint Lookup column ? If so, any queries on these are not Delegable and there are far better ways of accessing them.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
MVP (Business Applications) Visit my blog Practical Power Apps