s-KaiNet / spfx-fast-serve

Improve your SharePoint Framework development flow by speeding up the "serve" command :rocket:
MIT License
132 stars 11 forks source link

`Form Customizer` not Rendering as expected #112

Closed 6gal6ler6 closed 8 months ago

6gal6ler6 commented 9 months ago

NPM Script:

"serveNewForm": "gulp clean && gulp bundle --custom-serve --max_old_space_size=4096 && fast-serve --config=customSolutionForm_NewForm",

Serve Config File:

"customSolutionForm_NewForm": {
      "pageUrl": "https://sometenant.com/sites/somesite/_layouts/15/SPListForm.aspx",
      "formCustomizer": {
        "componentId": "a75dbc51-6923-4ca0-893b-113a82f1909b",
        "PageType": 8,
        "RootFolder": "/sites/somesite/Lists/someList",
        "properties": {
          "sampleText": "Value"
        }
      }

Error Screenshot: image

s-KaiNet commented 8 months ago

Thank you for reporting!

The issue is fixed in spfx-fast-serve-helpers@1.18.4 and in spfx-fast-serve-helpers@1.17.6 for SPFx 1.18 and 1.17 respectively. Now it also respects the SPFX_SERVE_TENANT_DOMAIN env variable, so it works exactly like SPFx.

Could you please check if the issue is solved for you?

6gal6ler6 commented 8 months ago

Hello @s-KaiNet

Thanks for the quick response.

I have tested the version spfx-fast-serve-helpers@1.18.4, and it works fine.

Again thanks for the help.