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

Announcements

News and Announcements icon
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,487 Super User 2026 Season 1 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
rezarizvii Profile Picture

rezarizvii 55

#2
DP_Prabh Profile Picture

DP_Prabh 38

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 30 Most Valuable Professional

Last 30 days Overall leaderboard