Skip to main content

Notifications

Power Platform Community / Forums / Building Power Apps / Using Collect() in Nam...
Building Power Apps
Suggested answer

Using Collect() in Named Formulae?

Posted on by 8
Hi,
I have a named formula that is a collection but I would like to add a particular record to this named formula. For example, I am attempting to do this in formula
 
Collect(
    CollectL3,
    {
        Title: "New Item",
        FormUser: {DisplayName: "TestUser"},
        DisplayName: "TestUser",
    }
);
 
Any help appreciated.
 
Thanks
  • Suggested answer
    TuongDoan Profile Picture
    TuongDoan 460 on at
    Using Collect() in Named Formulae?
    you can't use Collect in Named Formula. Use this one instead:
     
    CollectL3 = {
    Title: "New Item",
    FormUser: {DisplayName: "TestUser"},
    DisplayName: "TestUser"
    };
     
     

    ---------------------------

    If the solution works, please kindly âœ… check the box "Does this answer your question?" on the bottom left! This will help others in finding the solution more expediently 😄 Also, a Like would be a great compliment!

  • Sami Ullah Profile Picture
    Sami Ullah 8 on at
    Using Collect() in Named Formulae?

    Hi,

    Could you please provide more details? I didn't quite understand your question.

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.

Helpful resources

Quick Links

September 2024 Newsletter…

September 2024 Community Newsletter…

Community Update Sept 16…

Power Platform Community Update…

Welcome to the new Power Platform Community!…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 141,122

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,414

Leaderboard