Skip to content
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

💡 [Feature]: Create model/service based on SharePoint list data #232

Open
mkm17 opened this issue May 5, 2024 · 3 comments
Open

💡 [Feature]: Create model/service based on SharePoint list data #232

mkm17 opened this issue May 5, 2024 · 3 comments
Labels
⭐ enhancement New feature or request 💬 needs discussion 🤔 research needs researching before I start hacking
Milestone

Comments

@mkm17
Copy link

mkm17 commented May 5, 2024

🎯 Aim of the feature

Some time ago, I came across a helpful package that makes generating elements in SPFx projects easier. For instance, you can create a model based on data retrieved from a SharePoint list. Perhaps this functionality could be added to the SharePoint Framework extension using the mentioned package or custom code.

I am not sure if the whole mapping used in the package is needed, maybe something simpler would be enough.

Some references:
https://www.youtube.com/watch?v=urhHe_NlYvI&t=446s&ab_channel=Microsoft365%26PowerPlatformCommunity
https://spfx-app.dev/spfx-sharepoint-development-quickly-generate-list-based-models-using-a-single-command
https://github.com/SPFxAppDev/spfxcli

I am also adding the author @SPFxAppDev for the discussion.

📷 Images (if possible) with expected result

No response

🤔 Additional remarks or comments

No response

@mkm17 mkm17 added the ⭐ enhancement New feature or request label May 5, 2024
@Adam-it Adam-it added 💬 needs discussion 🤔 research needs researching before I start hacking labels May 5, 2024
@Adam-it
Copy link
Contributor

Adam-it commented May 5, 2024

Thanks @mkm17 for suggesting a new idea 👍. You Rock 🤩.
Besides generating a model based on a response what other functionalities you consider helpful?

@SPFxAppDev
Copy link

Hi everyone and thank you, @mkm17, for including me in the discussion and referring to my solution. To be honest, the mapping package is the most useful feature in my opinion. Because the model is generated with "pretty" names and you can convert the "raw" JSON from the REST API to the model in seconds or vice versa. BTW: The mapper package is NO longer in the beta phase.

@Adam-it Let me know if I can help or give more input or anything else!

@mkm17
Copy link
Author

mkm17 commented May 6, 2024

@Adam-it I saw that in the package there is also a possibility to create also a basic service to communicate with a SharePoint list. That also would speed-up the development process.
@SPFxAppDev Maybe you see any functionalities to add/merge from the package?

@Adam-it Adam-it added this to the v3.X milestone Jun 10, 2024
@Adam-it Adam-it modified the milestones: v3.X, v4.X Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⭐ enhancement New feature or request 💬 needs discussion 🤔 research needs researching before I start hacking
Projects
None yet
Development

No branches or pull requests

3 participants