Hi,
I have an app where a user enters a case number into a textbox then presses a button and that button should load the case with its history.
Each update to a case is stored as a new item in a sharepoint list. Later when moving to production we plan to use an SQL table.
A case history and the latest update is stored as follows:
Set(
CaseHistory,
Filter(
Sandbox,
Sandbox[@CaseNumberText] = [@CaseNumberText].Text
)
);
If(
!IsEmpty(CaseHistory),
Set(
latestRecord,
Last(CaseHistory)
)
)
I've set Delegation to 1 to identify any issues then saved and published.
I've also added a test case to the sharepoint list via the app, then loaded what was saved and saved an update.
When trying to load I only get the original case item. When checking in PowerApps Studio the CaseHistory Table has only 1 record
But there's no Delegation warning in the app.
My columns in the sharepoint list are all single-line text, multi-line text and number.
Only the default sharepoint columns have datetime and person/group:
| Modified | Date and Time | |
| Created | Date and Time | |
| Created By | Person or Group | |
| Modified By | Person or Group |
Is there anything I'm missing? How to load with delegation to sharepoint/later SQL?