Regarding SPFX development issue

%3CLINGO-SUB%20id%3D%22lingo-sub-1254474%22%20slang%3D%22en-US%22%3ERegarding%20SPFX%20development%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1254474%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20there%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20attempt%20to%20test%20SPFX%20function%20following%20the%20MSFT%20article%20step%20by%20step%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fspfx%2Fextensions%2Fget-started%2Fbuilding-simple-cmdset-with-dialog-api%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fspfx%2Fextensions%2Fget-started%2Fbuilding-simple-cmdset-with-dialog-api%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20alter%20some%20configuration%20for%20my%20environment%20like%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3COL%3E%3CLI%3EserveConfigurations%20in%20serve.json%20%3A%20change%20pageUrl%20and%20point%20to%20my%20URL%20of%20document%20library%3C%2FLI%3E%3CLI%3EClientSideInstance.xml%20and%20Elements.xml%20in%20sharepoint%5Cassets%20%3A%20Change%20ListTemplateId%20%3D%22100%22%20to%20%22101%22%20due%20to%20I%20need%20to%20add%20this%20feature%20to%20my%20document%20library%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAfter%20publishing%20and%20testing%2C%20I%20cannot%20find%20out%20what's%20difference.%20all%20button%20is%20the%20same...%20It%20should%20be%20there%20is%20button%20will%20be%20shown%20up%20following%20MSFT%20article.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Edoes%20anyone%20have%20any%20idea%20on%20it%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22serveConfiguration.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F179585i3B29A23DB585C35F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22serveConfiguration.png%22%20alt%3D%22serveConfiguration.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22ClientSideInstance.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F179588iA30177715DA75A2F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22ClientSideInstance.png%22%20alt%3D%22ClientSideInstance.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22elements.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F179587i06E323295B2FF1AC%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22elements.png%22%20alt%3D%22elements.png%22%20%2F%3E%3C%2FSPAN%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1255066%22%20slang%3D%22en-US%22%3ERe%3A%20Regarding%20SPFX%20development%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1255066%22%20slang%3D%22en-US%22%3EHi%2C%3CBR%20%2F%3EI%20think%20there%20is%20something%20went%20wrong%20while%20choosing%20the%20version.%20SP%202019%20supports%20generator%20version%201.4.1%20and%20it%20doesn't%20include%20extensions.%20So%20please%20verify%20your%20dev%20environment%20and%20the%20versions%20of%20the%20module%20in%20the%20package.json%20file.%3CBR%20%2F%3E%3CBR%20%2F%3EHope%20it%20helps%2C%20please%20like%20it%20or%20mark%20it%20as%20a%20solution%20if%20it%20resolves%20ur%20clarification%20or%20issue%3CBR%20%2F%3E-Sudharsan%20K...%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1258302%22%20slang%3D%22en-US%22%3ERe%3A%20Regarding%20SPFX%20development%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1258302%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F144422%22%20target%3D%22_blank%22%3E%40Sudharsan%20K%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20...%20I%20have%20solved%20the%20issue.%20It's%20not%20version%20issue.%20when%20we%20test%20this%2C%20the%20%22loaded%20debug%20scripts%22%20need%20to%20be%20performed.%20anyway%20I%20solved%20the%20issue.%20thanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1463230%22%20slang%3D%22en-US%22%3ERe%3A%20Regarding%20SPFX%20development%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1463230%22%20slang%3D%22en-US%22%3E%3CP%3ECan%20you%20please%20guide%20me%20how%20you%20resolved%20issue%20in%20my%20hello%20word%20extension%20%5Ctemp%5CmanifestsFiles.js%20.map%20is%20not%20loading%20while%20debugging.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22happy1989_0-1592224789419.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F198823i1464CF4BB8B20A65%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22happy1989_0-1592224789419.png%22%20alt%3D%22happy1989_0-1592224789419.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1483793%22%20slang%3D%22en-US%22%3ERe%3A%20Regarding%20SPFX%20development%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1483793%22%20slang%3D%22en-US%22%3EHi%2C%20try%20to%20mark%20the%20correct%20response%20as%20the%20solution%20that%20will%20help%20others.%3C%2FLINGO-BODY%3E
Frequent Contributor

Hi there,

 

my sharepoint is 2019 on premise NOT sharepoint online. after run the command "yo @microsoft/sharepoint", I choose 2019 on premise and cloud.

 

I attempt to test SPFX function following the MSFT article step by step: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/building-simple-cmdset-w...

 

I alter some configuration for my environment like:

 

  1. serveConfigurations in serve.json : change pageUrl and point to my URL of document library
  2. ClientSideInstance.xml and Elements.xml in sharepoint\assets : Change ListTemplateId ="100" to "101" due to I need to add this feature to my document library

 

After publishing and testing, I cannot find out what's difference. all button is the same... It should be there is button will be shown up following MSFT article.

 

does anyone have any idea on it?

 

Thanks

 

 

serveConfiguration.png

 

ClientSideInstance.png

 

elements.png 

4 Replies
Hi,
I think there is something went wrong while choosing the version. SP 2019 supports generator version 1.4.1 and it doesn't include extensions. So please verify your dev environment and the versions of the module in the package.json file.

Hope it helps, please like it or mark it as a solution if it resolves ur clarification or issue
-Sudharsan K...

@Sudharsan K 

Thanks ... I have solved the issue. It's not version issue. when we test this, the "loaded debug scripts" need to be performed. anyway I solved the issue. thanks

Can you please guide me how you resolved issue in my hello word extension \temp\manifestsFiles.js .map is not loading while debugging.

happy1989_0-1592224789419.png

 

Hi, try to mark the correct response as the solution that will help others.