pnp / sp-dev-fx-controls-react

Reusable React controls for SPFx solutions
https://pnp.github.io/sp-dev-fx-controls-react/
MIT License
380 stars 380 forks source link

Dynamic Forms /layouts/15 404 error #1812

Open hesterj67 opened 2 months ago

hesterj67 commented 2 months ago

Thank you for reporting an issue, suggesting an enhancement, or asking a question. We appreciate your feedback - to help the team understand your needs please complete the below template to ensure we have the details to help. Thanks!

Please check out the documentation to see if your question is already addressed there. This will help us ensure our documentation is up to date.

Category

[ ] Enhancement

[X ] Bug

[ ] Question

Version

Please specify what version of the library you are using: [ 3.17.0 ]

Expected / Desired Behavior / Question

For Dynamic Forms to be able to take a context in a more robust way. To be able to handle to custom context URLs

Observed Behavior

Dynamic Forms returns a 404 error if the SharePoint list you are using does not contain layouts/15 in the URL. Workbench contains layouts/15 but if you are in workbench and try to use the context for a SharePoint list that doesn't contain layout/15 in the path, it doesn't work.

Steps to Reproduce

Open a project in workbench that uses layouts/15 in the URL. Create a dynamic form and attempt to update a SharePoint list that does not contain layouts/15 in the path to the list.

github-actions[bot] commented 2 months ago

Thank you for submitting your first issue to this project.