You need to sign in to do that
Don't have an account?
Krishna Sahu 1
Is it somting wron this
<template if:true = {trialFollowUpCareCoordinator}>
<c-lwc-lookup-component
object-api-name="User"
icon-name="standard:user"
lookup-label = "User"
onerror={showError}
filter="Profile.Name= 'Sales Representative' OR Profile.Name= 'Remote Care Team'"
onrecordselection = {updateSelectedUser}
>
</c-lwc-lookup-component>
</template>
<c-lwc-lookup-component
object-api-name="User"
icon-name="standard:user"
lookup-label = "User"
onerror={showError}
filter="Profile.Name= 'Sales Representative' OR Profile.Name= 'Remote Care Team'"
onrecordselection = {updateSelectedUser}
>
</c-lwc-lookup-component>
</template>
What is the error?
Thanks!!
error in this line : filter="Profile.Name= 'Sales Representative' OR Profile.Name= 'Remote Care Team'"
so you don't need this filter here , you can directly use this filter in your lwcLookupComponent
use below code:-
lwcLookupComponent:-
if you need any assistanse, Please let me know!!
Kindly mark my solution as the best answer if it helps you.
Thanks
Mukesh