You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using 'Office365Users'.SearchUser in OnSearch, code fails with Incompatible type. The “searchTerm” column in the data source you're updating expects a “Text” type and you're using a “Record” type.
When trying to retrieve SelectedPeople from the PeoplePicker, error shows "JSON parsing error: "object" expected but "undefined" obtained".
Additional context
This was working fine until last friday (02/21/25).
For context, I did these tests in both the people picker and in a people picker I have in a custom component.
Custom component has one OnSearch property called OnSearch of type "event" that returns a table and a SearchText property of type data that returns a text value.
People picker in the component calls OnSearch() property of the component on its own OnSearch property
Describe the bug
Additional context
This was working fine until last friday (02/21/25).
For context, I did these tests in both the people picker and in a people picker I have in a custom component.
Custom component has one OnSearch property called OnSearch of type "event" that returns a table and a SearchText property of type data that returns a text value.
People picker in the component calls OnSearch() property of the component on its own OnSearch property
To Reproduce
Steps to reproduce the behavior:
Error 1:
col_UserSearch;
'Utilisateursd’Office365'.SearchUser(
{
searchTerm: Self.SearchText;
top: 500
}
)
)
Issue 1 doesn't happen in my custom component.
Error 1 in People Picker outside of a custom component
Error 2:
Error 2 in People Picker outside of a custom component
Error 2 in People Picker inside of a custom component
For error 2 error is different in my custom component: "JSON parsing error: "object" expected but "table" obtained"
Expected behavior
People picker should be able to search with value inputted in its search bar a return a list of result in a table form
The text was updated successfully, but these errors were encountered: