cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
VijayDantani1
Helper I
Helper I

How to Add Update and Remove Combo Box Multiselected Item and Single Selected item from Canvas App to CRM

Hello All Of You,

 

How to Add or Remove Combo Box Multiselected Item and Single Selected item from Canvas App to CRM.

VijayDantani1_0-1641886350844.png

 

Suppose i am select FBR from Combo Box then it is Update with CRM Account Entity Record Test Account@1

 

VijayDantani1_1-1641886405060.png

 

Suppose i am select FBR and UBR from Combo Box then it is Update with CRM Account Entity Record Test Account@1

 

VijayDantani1_2-1641886503977.png

 

Suppose i am Remove From Combo Box then it is Update with CRM Account Entity Record Test Account@1

 

VijayDantani1_4-1641886581011.png

 

 

 

2 REPLIES 2
VijayDantani1
Helper I
Helper I

Please help me

VijayDantani1
Helper I
Helper I

Hello ,

 

I am Trying to onChange to add Relate Data with DatScource and it is worked but now Which way to Unrelate Data whenever i am UnSelected some items from ComboBox.

 

one more question how to get ComboBox Selected and UnSelected Data in any variables.

 

Formula OnSelect Combobox Property :

 

UpdateContext({EditField: true});

 

VijayDantani1_4-1641972841202.png

 

Formula OnChange Combobox Property :

 

ClearCollect(
collectcategories,
ComboBox2.SelectedItems
);
If(
EditField,
ForAll(
collectcategories,
!Relate(
ThisItem.Employee,
ThisRecord
)
);
UpdateContext({EditField: false});

)

 

VijayDantani1_1-1641972687605.png

 

Now its worked on Change to Add Any item.

 

But how to Unrelate SelectedtedItem with Datasource.

 

Please help me.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,210)