Querying for Project Permissions on Sharepoint 2019 using CSOM - sharepoint

This is my first post here, and I hope someone can help me. Please feel free to ask for more information about my question if needed.
I am currently working on a project to migrate a Sharepoint 2010 solution to Sharepoint 2019, and right know I am handling the development part of the project. I am quite new to Sharepoint development, so I have some questions that might seem basic.
I am trying to replicate one feature from this old project and create a new one in this new Sharepoint 2019 project. The method consists of querying the Project's Permissions through PSI, using the Security WCF service. (with the "ReadProjectCategory" method)
However, I have read online that the PSI is discontinued in 2019, so I am trying to implement this method using CSOM, but I can't find the correct method to look for this information (the image shows exactly where the data is).
Can someone please help? I can't find anywhere how to get this data over CSOM or OData.
The page url is: //Sharepointurl/PWA/_layouts/15/PWA/views/ProjectPermissions.aspx?_projectUID=[ProjectGUID]
Thank you!

Related

Pulling CRM 2011 data into Sharepoint 2013 using a webpart?

I've been hunting all day trying to find some good examples/tutorials on how to pull data into Sharepoint 2013 from CRM 2011. The best thing I have found so far is a SP2010 example, but with VS2012 and SP2013 it seems like so much has changed, and trying to make that tutorial work isn't going well thus far.
I have no experience with SP; with CRM I have used the CrmSvcUtil.exe in the past to generate a class and use that within a .NET app in order to view/update data in CRM. I tried implementing this into my Visual Web Part, but I need to be able to add connection strings to the config file which it doesn't seem are recognized by the web part. I see that I can add a service reference to the CRM Organization service but I'm not sure if/how I can use that to query data. Any help is appreciated, or if anyone could point me in the direction of some good documentation. Thanks!
You have got couple of options.
(1) Use SharePoint 2013 client API.
Consume the client API from your CRM plugin / custom workflow to update the crm data to SharePoint 2013.
(2) Consume SharePoint 2013 webservices from CRM plugin / custom workflow.
I don't think this works in sandbox based solution.

sharepoint 2010 Query data from database

On the main page home.aspx, I would like to query some data from Oracle database.
I've carefully looked for a such option, but I cannot find anything releated to it.
Can someone please guide me?
Thank you.
Install the Oracle connector and register it as safe in the web.config of the SharePoint Web. Use it like any other sql connector but with OracleConnection as you should.
I myself would have chosen a bit different approach and developed a webpart instead. If you develop and deploy a webpart project in SharePoint 2010 any used modules should be properly registered automatically during the deployment. Start with webparts here, http://msdn.microsoft.com/en-us/sharepoint/ee513148.aspx
And if you don't know what the above means you probably shouldn't mess with SharePoint that way! (Sorry but it's true)

Passing parameters in Web Parts

I am working with Sharepoint 2003. I want to pass data from one web part to other like select a drop down in one web part and the other gets updated. I am pretty new to SharePoint please suggest me any tutorials, links sample code to do that.
Thanks for help.
kind regards
vivek
This requirement is specified by creating connectable web parts. See this link:
http://msdn.microsoft.com/en-us/library/ms469765.aspx
Although it is for SharePoint 2010 and 2007, but concepts are same.
Madhur's link is good although you'll have to make sure you don't try to use the Asp.Net WebPart infrastructure to create your WebPart. That support was added in the 2007 cycle of the product.
You will want to extend Microsoft.SharePoint.WebPartPages.WebPart http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webpartpages.webpart(office.12).aspx

Where to start learning SharePoint 2010?

I recently started at a new job where I'll be working with Sharepoint 2010 to set up (or actually upgrade) an intranet. Unfortunately, I have no experience with SP2010, and the last time I touched SP2007 (or a virtual server for that matter) was four years ago.
I'll be attending a course soon, but until then I have to make myself useful. I've already managed to install a working Sp2010 server and have played around with some web applications and site collections, and trying to find out how Sharepoint Designer works, but I don't really have an idea what I'm doing or what goals I should set for myself to actually learn useful stuff.
I've also watched some tutorials, but most are really problem-specific (problems I don't have yet) or dive into the code (which I won't, probably).
So.. where to start?
There are a lot of great training videos on Channel9.
Sahil Malik's book is organized as what are the basic things all SharePoint 2010 developers need to know. http://www.amazon.co.uk/Microsoft-SharePoint-2010-Solutions-Professionals/dp/1430228652/ref=sr_1_1?ie=UTF8&s=books&qid=1283973447&sr=8-1
It is a good place to start.
I would suggest video tutorials because:
They are FREE!
They give you more context than just reading what to do.
A quick search will get you specific topics.
Check out Bing videos on SharePoint 2010. There's lots of great content out there to get you going fast.
when i started with SP2010, i began by searching:
New features in Lists and Document
Libraries New search capabilities
DocumentSets (they are very interesting!)
Office Web Apps (Excel and Word web access)
A little bit of FAST Search Engine
Integration with silverlight
Changes in the object model
Workflows
New tools in VS2010
(MSDN, codeplex, codeproject, stackoverflow, and several blogs from Sharepoint MVPs are good places to look for)
I don't know if this would help but that's where I started.. if you need specific help you can find several groups in linkedin.. there are a lots of MVPs helping..
Good luck!
I would recommend you to check out the SharePoint guidance on codeplex. It comes with at sample portal application that is explained and with best practices and guidance for creating a SharePoint site. I am sure that this will provider vital information and knowledge for your project.
Kr., Bernd.
Follow the below link to learn sharepoint. It contains sharepoint tutorial videos and all.
http://www.fastsharepoint.com/
Basically i started my sharepoint learning with the following examples:
Create a feature to change site title
Create a feature to change site theme
Create a feature with feature stapling
Create a feature that activates another feature
Create a site through code
Create a list through code
Populate a list with data through code
Create a lookup column in list through code
These are the basic examples that you can understand what is Sharepoint as a beginner.
Please see the below link for more beginner programs:
http://blog.sharepointhosting.com/Downloads/SharePoint-Tutorials.aspx
Litso install a dev box on you machine and get started.
Try doing some migration from one server to the other.

sharepoint fba

i have a wss 3.0 site up and running using forms based authentication. Is there a way to upload multiple files (basically copy and paste a folder containing files)?
also, when i try to access the site using designer 2007, i can't access the site and it asks me to install sharepoint services or frontpage extensions. how can i modify the site using designer?
I know that in designer that the functionality exists to copy/paste a folder.
Thank you!
Regarding your first question, see this on Stack Overflow. Essentially, it's by design and Microsoft don't give you that functionality. You could try turning on Client Integration but I don't know if it will work. If you need an alternative, searching around I found UploadZen which seems to support multiple uploads with FBA.
Are you also using forms auth with SharePoint Designer? The bottom of this blog post from Mike Hatch has information that might help you.
Try out installing the SP2 for the SharePoint 2007 and the office Application. In the Office application they have solved may of the issue that were part of FBA enabled sites. Please refer to this for more information.

Resources