*To create a folder*
1. Start Report Manager (SSRS Native Mode). 2. In Report Manager, select the Home folder and click New Folder. ... 3. Type a folder name. ... 4. Optionally type a description. 5. Select Hide in list view if you do not want to display the folder in the default view of the Contents page. ... 6. Click OK.
Or waste a bunch of hours pushing object from VFP that VFP doesn't create.
Or use a bigger hammer because this screw doesn't go in as far as I like.
On Wed, May 4, 2016 at 8:08 AM, Paul Newton Paul.Newton@pegasus.co.uk wrote:
Because I want to do it programmatically ...
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Stephen Russell Sent: 04 May 2016 12:35 To: profoxtech@leafe.com Subject: Re: SQL Server Reporting Services Web Service
Why not use Reporting Services UI ?
There you can create the folder and then identify WHO can do WHAT with it.
On Wed, May 4, 2016 at 4:19 AM, Paul Newton Paul.Newton@pegasus.co.uk wrote:
Hi all
I am trying (initially) to create a new folder in SQL Server Reporting Services. This is what I have tried so far:
LOCAL loReportingService2010Soap AS "XML Web Service" LOCAL loWSHandler loWSHandler = NEWOBJECT("WSHandler",IIF(VERSION(2)=0,"",HOME()+"FFC")+"_ws3client.v cx") loReportingService2010Soap = loWSHandler.SetupClient("C:\Deploy\ReportService2010.wsdl", "ReportingService2010", "ReportingService2010Soap") loReportingService2010Soap.CreateFolder("Test","/",null)
I am getting the following error message
Error: 1429 - OLE IDispatch exception code 0 from Client:Client:Type conversion failure for element Properties HRESULT = 0x80020005: Type mismatch. - Client:Unspecified client error. HRESULT = 0x80020005: Type mismatch.
The syntax for calling CreateFolder is
Public Sub CreateFolder( _ ByVal Folder As String, _ ByVal Parent As String, _ ByVal Properties() As [Namespace].Property _ )
In VB or, in C#
public void CreateFolder( string Folder, string Parent, [Namespace].Property[] Properties )
But I cannot work out what to send as the Properties parameter from VFP. Any suggestions would be much appreciated
Paul Newton
[excessive quoting removed by server]