SPFx Tutorial Part 9: Getting Started With PnPjs In SharePoint Framework with Demo(CRUD Operations)

  Рет қаралды 12,705

DS TechMirror

DS TechMirror

Күн бұрын

Пікірлер: 31
@avinashkumar-lt4qm
@avinashkumar-lt4qm 4 жыл бұрын
Your all videos are awesome. you have cleared my douts. thank u so much :) keep it up
@dstechmirror1396
@dstechmirror1396 4 жыл бұрын
Glad to hear that
@meghajain1887
@meghajain1887 3 жыл бұрын
These videos are really very helpful and time saving for getting started with SPFX. Can you please make more videos on list form customization using various scenarios using pnp js.
@Simpleyogas
@Simpleyogas 4 жыл бұрын
Best videos on KZbin on Spfx. Can you please make a video on CRUD operations on Folders in SharePoint using pnp.js? It would be a great help. Thank you so much.
@dstechmirror1396
@dstechmirror1396 4 жыл бұрын
Thank you! We will create content on folders using pnpjs
@TechChaitu
@TechChaitu 2 жыл бұрын
In the previous video you said not use SetState in the render method to avoid dead lock, but here you have used setstate to set status
@moahnass
@moahnass 2 жыл бұрын
I was going to comment about the setState() call within the render method, too. Mixed messages with no explanations aren't very helpful.
@ateetagarwal2892
@ateetagarwal2892 Жыл бұрын
SetState methos is used in onclick event of a button. Its just that onclick event method is written in render method. So, by default setstate will not be executed until and unless one click the button which prevent the process to go in infinite loop process.
@ANIRIN13
@ANIRIN13 4 жыл бұрын
You make it very easy to learn spfx. Some more videos I want to see is how to use our custom css which can be stored in SiteAssets instead of using scss so that it will be easy to update the css if ever wanted. And also how to import images from Images library. Theses all are very basic things but in want you to make a short video on all such small things that will cover this kind of point.
@dstechmirror1396
@dstechmirror1396 4 жыл бұрын
Thank you Anish. We will keep adding videos in this tutorial.
@ultrasoftware9077
@ultrasoftware9077 3 жыл бұрын
Great
@AshutoshKumar-vc1mq
@AshutoshKumar-vc1mq 2 ай бұрын
Please add new video of PnPjs In SharePoint Framework with Demo(CRUD Operations) as per new updates.
@senthil14p
@senthil14p 4 жыл бұрын
I got error for import statement in State file...it solved after removing import....remaining all worked well...:) good video:)
@dstechmirror1396
@dstechmirror1396 4 жыл бұрын
Great 👍
@MuhammadSuleman-qh6mv
@MuhammadSuleman-qh6mv 4 ай бұрын
I am getting a error while importing sp pnp : Module '"@pnp/sp/presets/all"' has no exported member 'sp'.ts(2305) kindly provide the solution ...?
@sumanchatterjee9507
@sumanchatterjee9507 3 жыл бұрын
Hi, I was trying to follow you. The GetList works fine. However, the post requests are not working and getting error "Error is: SyntaxError: Unexpected token < in JSON at position 0". FYI: I am passing the spfx context as : pagecontext and also checked by setting the sp header as "accept":"application/json; odata=nometaadata" but the error still exists. I am unable to move forward with PNP Post requests. Can you please help me to identify the solution? Thanks in advance..
@dstechmirror1396
@dstechmirror1396 3 жыл бұрын
Thanks for writing to us. We will try to help you out. Could you please share the code solution at our email id. While sharing delete the node modules folder.
@RAJATSAHANI123
@RAJATSAHANI123 3 жыл бұрын
Typescript intellecense is not working in tsx file
@MuhammadAdnan2.0
@MuhammadAdnan2.0 2 жыл бұрын
bro you dont have tuts on spfx crud with no javascript framework,,,,,,,, ?
@hellobabu1
@hellobabu1 3 жыл бұрын
Hi Could you please share the code in github or google drive. Thanks for nice videos
@NaveenKumar-lm7qj
@NaveenKumar-lm7qj 4 жыл бұрын
Hi, I tried the same but PnP JS API didn’t get the SharePoint context.... This was the console message from sharepoint workbench --> abcd.sharepoint.com/sites/Test/_layouts/15/_api/web/lists?$select=Title 404 (Not Found)... can you please help me on this?Thanks:)
@ashuthind3801
@ashuthind3801 4 жыл бұрын
getting the same error message on my side too. if i remove the /_layouts/15 on the browser and run, it works perfectly. i guess it fails to understand on how to get the actual link to fire a REST query
@ashuthind3801
@ashuthind3801 4 жыл бұрын
ok @naveen.. I think i found the reason. try the first approach mentioned on the page. github.com/SharePoint/PnP-JS-Core/wiki/Using-sp-pnp-js-in-SharePoint-Framework
@ashuthind3801
@ashuthind3801 4 жыл бұрын
trying adding the logic to your webpart.ts file. Good Luck
@hariprasathpatchappalam9742
@hariprasathpatchappalam9742 3 жыл бұрын
Change the pnp context sp.setup({ spfxContext: this.props.spcontext });
@sumanchatterjee9507
@sumanchatterjee9507 3 жыл бұрын
@@hariprasathpatchappalam9742 are you able to perform any post request using PNP ? I tried by setting up the spfx context but it still fails with error "Error is: SyntaxError: Unexpected token < in JSON at position 0".. If you are able to perform it successfully, can you help me please?
@Yatrainformation
@Yatrainformation 2 жыл бұрын
I am getting a error while importing sp pnp : Module '"@pnp/sp/presets/all"' has no exported member 'sp'.ts(2305) Please see
@dstechmirror1396
@dstechmirror1396 2 жыл бұрын
There is some problem within your node modules folder. Try deleting the folder and run npm install command.
SPFx Tutorial Part 10: Build MS Teams Tab Using SharePoint Framework
14:38
Cute
00:16
Oyuncak Avı
Рет қаралды 11 МЛН
Секрет фокусника! #shorts
00:15
Роман Magic
Рет қаралды 114 МЛН
У ГОРДЕЯ ПОЖАР в ОФИСЕ!
01:01
Дима Гордей
Рет қаралды 8 МЛН
An Unknown Ending💪
00:49
ISSEI / いっせい
Рет қаралды 49 МЛН
SPFx with React
44:00
Prasad Athalye
Рет қаралды 4,3 М.
SharePoint Framework Training - Getting Started with the SharePoint Framework
32:46
Microsoft Community Learning
Рет қаралды 34 М.
Cute
00:16
Oyuncak Avı
Рет қаралды 11 МЛН