Skip to content

Add a React sample for Power Pages BYOC #712

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

priyanshu92
Copy link

@priyanshu92 priyanshu92 commented May 21, 2025

Introduce a sample application for managing car sales using React and Vite to run on Power Pages. The sample also includes steps on how to run this application on Power Pages after necessary changes.

- ✏️ Clarified steps for creating a new web role and table.
- 📜 Added instructions for creating table permissions.
- 🔧 Fixed formatting for web API enablement instructions.

-Priyanshu
- 📝 Corrected wording in the instructions for running the app on Power Pages.

-Priyanshu
📝 Clarified instructions for installing Power Platform Tools VS Code extension to enhance future uploads.

-Priyanshu
Copy link
Member

@JimDaly JimDaly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added comments and some changes I'd like you to make.

Major change is to provide a managed solution that contains definitions for any dependent tables or other solution components that the sample depends on. Instructions that the consumers of the sample manually create these results in too many errors.

Providing a managed solution allows for improving reliability and makes it easy for the customer to remove the components by deleting the managed solution.

Ideally, there should be some way for this site to indicate a dependency on a given solution.

```
react-sample/
├── public/
│ └── car.svg
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Earlier we unblocked js files. svg files are blocked by default too. Does this image get uploaded?

This request returns results that include svg.
GET [Organization Uri]/api/data/v9.2/organizations?$select=blockedattachments

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have not seen svg getting blocked in any of the environments I have tested. Assuming the same for customers, otherwise they will have to unblock this as well.

@JimDaly JimDaly self-assigned this May 21, 2025
@priyanshu92 priyanshu92 requested a review from JimDaly May 22, 2025 07:41
- ✨ Added ThemeToggle component to the structure
- 🗂️ Organized components and pages into separate directories
- 📄 Updated file paths in the documentation for clarity

-Priyanshu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants