Register SPFx Form Customizers with SharePoint's REST API

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ม.ค. 2025

ความคิดเห็น • 15

  • @Andrew_Connell
    @Andrew_Connell  7 หลายเดือนก่อน

    Want the code from the project in this video? Get it from my site vtns.io/ytvspfxfieldcustomizerapi - check out my video how to do the same thing with field customizers th-cam.com/video/jUW7xkPFjbA/w-d-xo.html

  • @robsretrostuff
    @robsretrostuff 2 ปีที่แล้ว +1

    Great tutorial. Is it possible to have the custom form appear in a slide out panel like the out of the box form rather than a new page?

    • @Andrew_Connell
      @Andrew_Connell  2 ปีที่แล้ว

      Unfortunately not today... it's high on the requested improvements though. We'll have to see if Microsoft gives us a way to do this in the future. 😕

  • @cropillo
    @cropillo 2 ปีที่แล้ว

    The Edit button does not appear (11:54)
    How can I implement it?

    • @Andrew_Connell
      @Andrew_Connell  2 ปีที่แล้ว +1

      You have to select a single item for it to appear. That's OOTB SharePoint list functionality.

  • @gustavkaldner5248
    @gustavkaldner5248 2 ปีที่แล้ว +1

    Great stuff Andrew! Will this make it possible to work with cascading dropdowns in a SharePoint List form?

    • @Andrew_Connell
      @Andrew_Connell  2 ปีที่แล้ว

      Thanks!
      Sure... that's sort of what this one shows, right? The radio list or launch vehicle options is driven from the selection of the NASA program in field above it. I'm just using radio buttons, but you could use multiple dropdown selectors that just keep updating based on the previous field's selection.

  • @Mike-mc5ll
    @Mike-mc5ll 10 หลายเดือนก่อน

    How do you open a custom form in the side panel like the default one (and thus not navigating away from the already rendered list data)?

    • @Andrew_Connell
      @Andrew_Connell  10 หลายเดือนก่อน

      You can't do that using the approach I show in this video because customizing the form changes the URL of the actual NEW/EDIT/DISPLAY page that you have control over. That, as I show in the video, replaces the entire page.
      There are other options, but you'd have to completely reimplement the existing list view control and toolbar to open a side panel. Yeah... no easy task :(

  • @cropillo
    @cropillo 2 ปีที่แล้ว

    Hi Andrew, I can't access the lists of a subsite, it only shows the lists of the parent site.

    • @Andrew_Connell
      @Andrew_Connell  2 ปีที่แล้ว

      The code I show in the video is just an example... to get access to lists in the subsite, you'd just change the REST endpoint to get the lists within the subsite.

  • @antwit
    @antwit 2 ปีที่แล้ว +2

    Hi Andrew, you asked for feedback on REST API approach. Seems fine to me for a single site, but our use cases include multiple sites created from PNP templates, so we would like support for this in PNP - if anyone there is listening 😉...

    • @Andrew_Connell
      @Andrew_Connell  2 ปีที่แล้ว

      Totally agree... have you left this as a comment/feature suggestion on the PnP provisioning project's repo?

  • @gauravgoyal5
    @gauravgoyal5 2 ปีที่แล้ว

    Hi Andrew, Please share the video related to SPFx Form Customizer.

    • @Andrew_Connell
      @Andrew_Connell  2 ปีที่แล้ว +2

      Here you go... I added a link to the description of this video, as well as to the end screen.