Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Suggested answer

New record in choices

(0) ShareShare
ReportReport
Posted on by 76
Hello, how to make a record in a choices of the table column with text input and a button, without a form? I tried:
 
Patch(
    Podminky;
    Defaults(Podminky);
    {
        Choices('volPodminky (Podminky)'): navodkyVypln.Text;          
    }
)
 
Thank you
  • JM-14081323-0 Profile Picture
    76 on at
    New record in choices
    No, no, this choices here in dataverse:
     
     
    as Im trying to make the user allowed to add a new ones through application interface
     
     
    Thanks
  • mmbr1606 Profile Picture
    11,991 Super User 2025 Season 1 on at
    New record in choices
    Do you mean the choices in the Control itself?
     
    If yes you would need to Set the Items Property to ["Choice a","Choice b".....]
  • JM-14081323-0 Profile Picture
    76 on at
    New record in choices
    Hello and many thanks, its better now, cause I got only two errors instead of four.
    One says there are some arguments of Patch function invalid.
    The other one says that column 
    'volPodminky (Podminky)'
    doesnt exist.
    Assume still insufficient definition of that I mean the values in "choices" and not in the column itself.
  • Suggested answer
    mmbr1606 Profile Picture
    11,991 Super User 2025 Season 1 on at
    New record in choices
    hey
     
     
    try this please:
    Patch(
        Podminky, 
        Defaults(Podminky),
        {
            'volPodminky (Podminky)': {
                Value: navodkyVypln.Text
            }
        }
    )
    
    if it helped please mark as verified answer,
     
     
    thanks

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard