cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ttaylor
Level: Powered On

Adding multiple comments to a field

Still struggling with the adding multiple notes to a customer.

 

I have two Sharepoint lists:

1. Contacts

2. Notes (has a LookUp field on the Organziation, which is Value stored in Contacts list)

 

I want a user to be able to see past comments based on the Organization (Organization is in the list Contacts.) The user can then add a new note in the Notes list based on the Organization. I've attached a scenario graphic that will provide more information.

 

Thanks so much! I'm new to PowerApps. 🙂

13 REPLIES 13
Dual Super User
Dual Super User

Re: Adding multiple comments to a field

Hi @ttaylor 

 

Add 2 labels to the screen (for testing purpose) and set its text value to

 

label 1 - OrgDropdown.SelectedText.Value

label 2 - GalleryContacts.Selected.OrganizationID

 

Check the result returned and see it these values match any of the values in your OrganizationID column in Notes list

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

ttaylor
Level: Powered On

Re: Adding multiple comments to a field

The labels are returning result names from the dropdown box. I think I'm really confused. How does this tie to the Notes gallery? 

ttaylor
Level: Powered On

Re: Adding multiple comments to a field

If I go into Sharelist, I can add a new note in the Notes list and choose the Organization (lookup value) and it adds the information just fine. How do I that same thing through a powerapp?

Dual Super User
Dual Super User

Re: Adding multiple comments to a field

Hi @ttaylor 

 

Share screenshot of your App screen

ttaylor
Level: Powered On

Re: Adding multiple comments to a field

This works to display the noted I added directly in the Sharepoint list (not through the app)

 

Filter(Notes,OrgDropDown_3.SelectedText.Value=Organization.Value)

 

And it returns the value I want. Now how can I add a new note to this?

Dual Super User
Dual Super User

Re: Adding multiple comments to a field

Hi @ttaylor 

 

Filter(Notes,OrgDropDown_3.SelectedText.Value=Organization.Value) - will show you all the related notes

 

To add a new Note - you would need to use a Form control or use Patch function

 

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

ttaylor
Level: Powered On

Re: Adding multiple comments to a field

I've attached information on the error I am getting on my form. 

Dual Super User
Dual Super User

Re: Adding multiple comments to a field

@ttaylor 

 

But I do not see the error message in your screenshot

If you hover on the error mark - it will show you the message

 

 

 

ttaylor
Level: Powered On

Re: Adding multiple comments to a field

Oops...sorry about that!

 

The error is:

"The function Choices has some invalid arguments

DatacardValue38.SearchItems"

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 155 members 5,367 guests
Please welcome our newest community members: