ادامه دار هست ولی مسیر بازار مشاوره در دنیای امروز داره از کد نویسی فاصله می گیره. واقعیت ماجرا هم اینه که من در اصل کارم بیزتاک بوده و الان لاجیک اپس و فلو بیشتر زمینه کاری من هست.
Sir i have a doubt... Please can you clarify me.. I created a button in SharePoint rest API as well as in jsom to fetch data.. but the thing is it is working only for single time click and if I click second time it's not working.. can you please say what is the reason for that...
Got ERROR near Execute Query part where it is stating like"Invalid Id/Password" even tough i have updated latest password but still same ERROR..Can you please share some tip! Or should I need to use token based system PnP
3:20. where do i get the dlls to add them as references. Is this application supposed to be built on the sharepoint server because i cannot find them on my development machine.
Good point. My development machine has SharePoint already installed on it. If your SharePoint is not on the same machine you need to install "SharePoint Server 2016/2013 client components SDK". Here are the links: SharePoint 2016: www.microsoft.com/en-us/download/details.aspx?id=51679 SharePoint 2013: www.microsoft.com/en-ca/download/details.aspx?id=35585 I hope it helps :)
Download and install "SharePoint Server Client Components SDK" that is available for SharePoint 2013 and 2016 on the computer that you installed visual studio.
i didn't have to do all these. i directly connected to SharePoint by just copying the DLL's to my local laptop and was able to follow your tutorials. this video has been really helpful.
You are right. You can simply get the files from SharePoint server. On the other side I assume typical developers getting into CSOM development, are building provider hosted apps for office 365. This means they don't have access to the SharePoint server to get the files. Regardless I am glad you my videos can help some consultants.
Hi Ali, I have few questions 1. how your script is connecting site with out user name and password ? 2. As of now we don't have SharePoint server access. Can I connect SharePoint 2010 sites using visualstudio? 3. once I connect I want to get webTemplate, I tryed with SPO but same script is not working for SP2010. How to load and get Webtemplate using csom script? if not possible can we connect SP2010 sites using SOM from local machine (window application)? Can you please a video to get webTemplate
New to sharepoint development here. What about environment version, deployment architecture etc.. is this SP server 2013/2016 or online/Office 365 etc..? Some background info could be helpful.
Can I use CSOM for Web applications instead of Windows application? If I create a windows application, is there a way to host it on a SharePoint Online Website?
Hi, can you advise which version of .NET you are using in these vidoes? My Project targets .NET Framework 4.7.2, but I cannot install the NuGet packages "Could not install package 'Microsoft.SharePoint.Client.dll 15.0.4420.1017'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.7.2', but the package does not contain any assembly references or content files that are compatible with that framework"
The simple answer is yes, but there is no point doing that. When you build a visual web part, your code is deployed to SharePoint. There is no point making a call from inside SharePoint to an API that is outside of SharePoint to get back to SharePoint process. There is only one situation that I can think of using CSOM inside visual web part and that is when you want to make a call from a web part to SharePoint objects in another farm or tenancy. In that case, CSOM is your best bet.
Was trying the same out for Sharepoint Online O365 sites, but after installing the respective DLLs and running the solution, i do not end up getting the same result.
very useful video , I want to move sharepoint documents to azure blob storage and want to save document metadata into sql database , how to do it in using sharepoint object model any help ? thanks in advance.
I suggest you watch this video for credentials and get all your answers for SharePoint on-prem and SharePoint online in one shot :) th-cam.com/video/_Vopy44I9Hs/w-d-xo.html
Since SharePoint 2013 workflow management service is released I have only used SharePoint designer for workflows. For event handlers, I may consider remote event receivers for SharePoint provider hosted Apps, but doing full trust or even sandbox event receivers is not my interest anymore.
I am getting this error The remote server returned an error: (403) Forbidden.how to get rid of this even i provide NetworkCredential credentials = new NetworkCredential("aslam@xordigital.onmicrosoft.com", "Dadu@222!"); ctx.Credentials= credentials;
Thanks very much I am a dotnet Software Developer and my current job is about CSOM . Your videos have really helped my
Thanks. Your videos are really helpful for beginners.
If you can't explain it simply, you don't understand it well enough - Albert Einstein
Thanks very much . Your videos have really helped me, don't you want to continue that?
Thank you for sharing!
ممنون از بابت آموزش های خوب شما
کاش این آموزش ها ادامه دار بود.
ادامه دار هست ولی مسیر بازار مشاوره در دنیای امروز داره از کد نویسی فاصله می گیره. واقعیت ماجرا هم اینه که من در اصل کارم بیزتاک بوده و الان لاجیک اپس و فلو بیشتر زمینه کاری من هست.
I have one question is this sdk works on macos or we need windows for it
Sir i have a doubt... Please can you clarify me.. I created a button in SharePoint rest API as well as in jsom to fetch data.. but the thing is it is working only for single time click and if I click second time it's not working.. can you please say what is the reason for that...
Hello Alireza Aliabadi:
I want to fetch the all site urls which are accessible to my user on sharepoint. How can i do that?
Hi very very useful!! Im Hawking a problem... how do you create new metadata fields from your VS c# project? Thank you a lot
Hi ..Could u please create a video on Csom model for reading nd updating infopath form
Got ERROR near Execute Query part where it is stating like"Invalid Id/Password" even tough i have updated latest password but still same ERROR..Can you please share some tip! Or should I need to use token based system PnP
3:20. where do i get the dlls to add them as references. Is this application supposed to be built on the sharepoint server because i cannot find them on my development machine.
Good point. My development machine has SharePoint already installed on it. If your SharePoint is not on the same machine you need to install "SharePoint Server 2016/2013 client components SDK". Here are the links:
SharePoint 2016: www.microsoft.com/en-us/download/details.aspx?id=51679
SharePoint 2013: www.microsoft.com/en-ca/download/details.aspx?id=35585
I hope it helps :)
Download and install "SharePoint Server Client Components SDK" that is available for SharePoint 2013 and 2016 on the computer that you installed visual studio.
Sorry figured it out. Thank for the video.
i didn't have to do all these. i directly connected to SharePoint by just copying the DLL's to my local laptop and was able to follow your tutorials. this video has been really helpful.
You are right. You can simply get the files from SharePoint server. On the other side I assume typical developers getting into CSOM development, are building provider hosted apps for office 365. This means they don't have access to the SharePoint server to get the files.
Regardless I am glad you my videos can help some consultants.
Hi Ali,
I have few questions
1. how your script is connecting site with out user name and password ?
2. As of now we don't have SharePoint server access. Can I connect SharePoint 2010 sites using visualstudio?
3. once I connect I want to get webTemplate, I tryed with SPO but same script is not working for SP2010. How to load and get Webtemplate using csom script?
if not possible can we connect SP2010 sites using SOM from local machine (window application)? Can you please a video to get webTemplate
The remote server returned an error: (403) Forbidden.
Did you solve it?
New to sharepoint development here. What about environment version, deployment architecture etc.. is this SP server 2013/2016 or online/Office 365 etc..? Some background info could be helpful.
Can I use CSOM for Web applications instead of Windows application? If I create a windows application, is there a way to host it on a SharePoint Online Website?
Hi, can you advise which version of .NET you are using in these vidoes? My Project targets .NET Framework 4.7.2, but I cannot install the NuGet packages
"Could not install package 'Microsoft.SharePoint.Client.dll 15.0.4420.1017'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.7.2', but the package does not contain any assembly references or content files that are compatible with that framework"
Can we do visual web parts using csom.. if yes can you please say the procedure..
The simple answer is yes, but there is no point doing that. When you build a visual web part, your code is deployed to SharePoint. There is no point making a call from inside SharePoint to an API that is outside of SharePoint to get back to SharePoint process.
There is only one situation that I can think of using CSOM inside visual web part and that is when you want to make a call from a web part to SharePoint objects in another farm or tenancy. In that case, CSOM is your best bet.
Hi, very nice videos. Have you got a download video ?
ty for answer
Was trying the same out for Sharepoint Online O365 sites, but after installing the respective DLLs and running the solution, i do not end up getting the same result.
Here is your answer
th-cam.com/video/_Vopy44I9Hs/w-d-xo.html
very useful video , I want to move sharepoint documents to azure blob storage and want to save document metadata into sql database , how to do it in using sharepoint object model any help ? thanks in advance.
checkout azure logic apps
you have not mentioned about site credentials. How can we access the site without credentials?
I suggest you watch this video for credentials and get all your answers for SharePoint on-prem and SharePoint online in one shot :)
th-cam.com/video/_Vopy44I9Hs/w-d-xo.html
Hi Ali, Add one for workflows and event handlers
Since SharePoint 2013 workflow management service is released I have only used SharePoint designer for workflows. For event handlers, I may consider remote event receivers for SharePoint provider hosted Apps, but doing full trust or even sandbox event receivers is not my interest anymore.
it will be nice see the new features of SharePoint 2013 workflow management service
CSOM will definately help with O365 Migrations
Ctx.Load is giving error
Are you on SharePoint online or SharePoint on-premise?
I am getting this error The remote server returned an error: (403) Forbidden.how to get rid of this even i provide NetworkCredential credentials = new NetworkCredential("aslam@xordigital.onmicrosoft.com", "Dadu@222!");
ctx.Credentials= credentials;
Hello man - have you got any solution to this issue? I also get the same error.
Same error no solution....
Hi Ali, could you please share your code.
Building a client that uploads large pdfs (greater than 20mb) is a nightmare.
Have you watched this one?
th-cam.com/video/g39RLflzonI/w-d-xo.html