
Announcements
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 missingInvalid entity id, null inputs, etc.