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]: Add a command to attach form customizer to view, add and edit form #348

Closed
Adam-it opened this issue Nov 18, 2024 · 3 comments · Fixed by #383
Closed

💡 [Feature]: Add a command to attach form customizer to view, add and edit form #348

Adam-it opened this issue Nov 18, 2024 · 3 comments · Fixed by #383
Assignees
Labels
⭐ enhancement New feature or request 👨‍💻work in progress I am working on it
Milestone

Comments

@Adam-it
Copy link
Member

Adam-it commented Nov 18, 2024

🎯 Aim of the feature

We could add a new VS Code command which will under the hood use the CLI for Microsoft 365 m365 spo contenttype set to set the form customizer for a content type on a list.
When running the command it should prompt for the following:

  • siteUrl
  • listTitle
  • Edit form guide (when left empty should not update the edit form)
  • New form guide (when left empty should not update the new form)
  • View form guide (when left empty should not update the view form)

📷 Images (if possible) with expected result

No response

🤔 Additional remarks or comments

a script sample for inspiration

@Adam-it Adam-it added ⭐ enhancement New feature or request 🙏 help wanted Open for contributors 👨‍💻 CLI for Microsoft 365 Requires to first extend CLI for Microsoft 365 and removed 👨‍💻 CLI for Microsoft 365 Requires to first extend CLI for Microsoft 365 labels Nov 18, 2024
@Adam-it Adam-it added this to the v4.X milestone Nov 25, 2024
@nicodecleyre
Copy link
Contributor

Can I work on this one?

If i'm correct, we should also prompt for the Content Type name 🤔

@Adam-it Adam-it added 👨‍💻work in progress I am working on it and removed 🙏 help wanted Open for contributors labels Dec 29, 2024
@Adam-it
Copy link
Member Author

Adam-it commented Dec 29, 2024

Can I work on this one?

If i'm correct, we should also prompt for the Content Type name 🤔

All yours.
Yes that is correct we should also prompt for content type name which we want to update

Adam-it pushed a commit that referenced this issue Jan 1, 2025
…kit, Closes #348 (#383)

## 🎯 Aim

Adds 'Set Form Customizer' command to the SharePoint Framework Toolkit,
to set the view, edit or new form with a form customizer

## 📷 Result

https://github.com/user-attachments/assets/1ac118ed-ad4b-44bb-946f-94c228aa0d81

## ✅ What was done

- [X] Add action to set the view, edit & new form with a form customizer

## 🔗 Related issue

Closes #348
@Adam-it
Copy link
Member Author

Adam-it commented Jan 1, 2025

And another one. This will be part of next pre-release. You Rock 🤩

@Adam-it Adam-it closed this as completed Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⭐ enhancement New feature or request 👨‍💻work in progress I am working on it
Projects
None yet
2 participants