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 / custom self schedule f...
Power Pages
Suggested Answer

custom self schedule form - Booking logic Error

(1) ShareShare
ReportReport
Posted on by 2
Hi,
 
 

I'm building a Power Pages portal for users to schedule work orders. I've tried calling the Dataverse Web API directly from JavaScript but faced CORS and authentication issues. 
Then I tried calling Power Automate flows from JavaScript to create bookings, but ran into errors with the data schema and lookups. 
Looking for a straightforward, reliable approach to handle booking creation from a portal page using Power Automate flows. 
Any pointers or simple examples would be appreciated!

I’m working on a self-service experience where users can step in, choose from available tasks, and schedule themselves into the system — no manual intervention needed.

The idea is simple: pick a task, select a time, choose a resource, and book it. Behind the scenes, the booking should link with the main record, change its status, and reflect immediately on the timeline.

Tried both a no-code path (Power Automate) and a pro-code route (JavaScript with Web API), but keep hitting blockers like missing tokens, null values, or entity binding errors.


  • __RequestVerificationToken missing
  • Power Automate: Invalid entity id, null inputs, etc.

     

Categories:
I have the same question (0)
  • Suggested answer
    surya narayanan Profile Picture
    102 on at
    Hi,
     
    I have provided the answer in the attached file.

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
Fubar Profile Picture

Fubar 78 Super User 2025 Season 2

#2
Jerry-IN Profile Picture

Jerry-IN 75

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard