I have to create a SSRS report with data from Active Directory. I have gone through few blogs which suggested using ADSI and SSIS to perform this. I do not have permissions to create SQL table so cannot use SSIS option. Any other suggestions on extracting Active Directory data?
Without a linked server, perhaps you can use Directory services and a simple app.
Make a visual studio program with a System.DirectoryServices reference and proper permissions.
Pull the data you want from the server and dump it into an xml and save it in a place the report services can reach. Use the xml to build the report.
Run the app regularly on a schedule to update the xml file.
Related
I have Access database file with tables in it, I used this Access database file for my application as local database and now I want to upload this file somewhere and use it in my application online.
Is there any way to upload this Access database file and use it online for web application as a database?
I can not understand what you say. I think you can put this Access database file to the server where web application online locate in.
Is there any way that I can view a report (Sales > Reports) using C# without having access to the reporting server?
I am attempting to write a tool that monitors the health of our CRM servers (entity records in right place etc) and as such I want the tool to be located somewhere where it has access to each CRM instance (ranging from 2013 on prem to 2016 Online).
The reason for this is that we havea report that does all the heavy lifting of checking the health of all entities,settings,records etc and i just want to be able to programatically examine this report (via xml parsing) and tell the user the result.
I tried using the html scraping, direct URL approach: /crmreports/viewer/viewer.aspx?Id=xxxxxxx however, perhaps predictably, the returned HTML was just a page prompting for a login.
I do have all of the credentials to make an Xrm Service connection but I am not sure of how to access reports using this.
Is going through the reporting services asmx the only way?
You can call SSRS WebService in your C#.
To do so you shall add a Web Service reference:
Instruction
Consider that there are 3 webservices in SSRS
There are three endpoints available for managing objects on a report
server, ReportService2005, ReportService2006, and ReportService2010.
The ReportService2005 endpoint is used for managing objects on a
report server that is configured for native mode.
The ReportService2006 endpoint is used for managing objects on a report
server that is configured for SharePoint integrated mode.
The ReportService2010 endpoint merges the functionalities of
ReportService2005 and ReportService2006 and can manage objects on a
report server that that are configured for either native or SharePoint
integrated mode.
Read more here
I am in need of some assistance on a current project. I'm working on a windows service that downloads specific sharepoint files and converts them to a pdf, then emails them to multiple recipients.
The server doesnt have access to the sharepoint library so Microsoft.Sharepoint assembly reference wont work is there another way to access the files and download them? once I get the file (probably word docs) I need to convert them to pdf.
SharePoint supports WebDAV and that can be used to get individual files provided you know where they are already. However a word of caution, this does require that the domain user that use to get the file must have the "File Browse" permission I believe.
I am assuming you cannot deploy anything to the Sharepoint server
SSRS ReportViewer which is part is Sharepoint can be used to batch create PDF's as it has an export option, You will find them also as part of Visual studio 2010
http://forums.asp.net/t/1556522.aspx/1
Is an example of this.
Then use the web requests to fetch the file.
I am trying to gain access of files within specific folders in Sharepoint 2007 from the client side. I am being told that this isn't possible, but when you have a file open from within the folder you can check in and check out the file, so obviously you are able to access the site from the client side. My question is, if I create a excel add in, am I able to open up another file within the Sharepoint site, and get the contents such as, versions and what not?
Has anyone done this before?
Thanks for any help, or links.
Yes it is possible to get files (regular HTTP GET on document's Url) and obtain most properties of the documents and list items using SharePoint web services - http://msdn.microsoft.com/en-us/library/ms479390(v=office.12).aspx .
I want to get some useful data from *.csv file through the retrieve query, then put these data in the reference column of the sharepoint list using the admin account.
Which sharepoint project in VS2010 should I choose? And what should I do in next?
Thanks
如果我是要从 *.csv 文件中取一些数据 ,然后放到sharepoint上, 应该选择哪种工程呢?然后接下来应该怎么做呢?
谢谢
If you only need to run this job once you could create a console application and let it run on the server. Include a reference to the Microsoft.SharePoint.dll to be able to use the Object Model of SharePoint. See http://msdn.microsoft.com/en-us/library/ms473633.aspx for an overview of the different objects you can use. (SharePoint 2010)
If you have no access to the server you could try the same using the webservices that sharepoint exposes. See http://msdn.microsoft.com/en-us/library/ms479390(v=office.12).aspx for a list of the webservices in WSS3.0
But if you need it be done regularly your better of creating a webpart or a custom service to include into SharePoint. See http://msdn.microsoft.com/en-US/sharepoint/ee513148.aspx for an intro on building a WebPart for SP2010.
Google around, there is a lot to find about interaction with sharepoint through its object model.