web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Set default value on f...
Power Pages
Unanswered

Set default value on form accoding to date column

(0) ShareShare
ReportReport
Posted on by 8

Hi, everyone. I have a form in my page. One of the fields is a date field. I would like that the user first selects a date. If there is a row with that date, the form updates that row. If not, the form creates a new row. Is there an easy way to do this? I've been looking everywhere and found nothing.

 

Thanks.

Categories:
I have the same question (0)
  • Fubar Profile Picture
    8,338 Super User 2025 Season 2 on at

    There is not enough info to answer this properly (e.g. are all the existing 'date' items listed on the page already), but suspect that you may need to make user of the Portals Web API (second link contains Wrapper for making calls)

    https://learn.microsoft.com/en-us/power-pages/configure/web-api-overview

    https://learn.microsoft.com/en-us/power-pages/configure/write-update-delete-operations#web-api-ajax-samples

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard