My Requirement is to search outlook based employee name column i.e. Tendulkar,Sachin
I want to search like Tendulkar space Sachin i.e Tendulkar Sachin.
Please provide Canvas app code to achieve above functionality.
Thanks & Regards,
Mahesh
Hi @Mahesh005 ,
You could use Substitute to replace the ',' with ' '.
Substitute(TextInput1,","," ")
Best Regards,
Bof
Hi @v-bofeng-msft
When i do that with add column. it is throwing error in the on check and on uncheck patch formulae like added column is missing in the following collection.
Thanks,
Could you please show me your formula ?
I wrote formulae in gallery items as follows
filter(search(addcolumns(collectionname,"Columnname",Substitue(EmployeeName,",",""))txtempname.text,"Columname")
Then it is throwing error in the below patch syntax like the added column does not exist or invalid arguemnts
Patch(collectionname,thisitemm{ isactive: true})
Itried as below, but still throwing error
patch(dropcolumns(collectionname,"Columnname",thisitem,{IsSelect:Active},)
Thanks & Regards
Search( AddColumns(collectionname,"Columnname",Substitue(EmployeeName,",","")), txtempname.text, "Columname" )
it is working but When i do addcolumns it is trhowing error patch on check and uncheck.
Please try:
Filter( collectionname, Substitue(txtempname.text," ",",") in Columname || txtempname.text in Columname )
Patch
Patch(collectionname,ThisItem,{IsSelect:Active})
No error but not working.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Chiara Carbone as our Community Spotlight for November…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 671 Most Valuable Professional
Michael E. Gernaey 424 Super User 2025 Season 2
developerAJ 243