You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently it is not possible to change an embedded datasource to a shared datasource reference in an existing report with the Set-RsItemDataSource function.
The code I expect to work, doesn't:
This gives the exception Please use Set-RsDataSource to update shared data sources!
The exception is thrown in the file Set-RsItemDataSource.ps1 and is a simple check.
I don't know why this check is added, since the exception message doesn't make sense. I want to change the report datasource instead of modifying a shared datasource (which can be done with the suggested function 'Set-RsDataSource')
The bypass I use now is $proxy.SetItemDataSources($dstReportPath, $newDs);
Question: can this check (with throwing the exception) be removed so we can use the function for the above scenario?
The text was updated successfully, but these errors were encountered:
Currently it is not possible to change an embedded datasource to a shared datasource reference in an existing report with the Set-RsItemDataSource function.
The code I expect to work, doesn't:
This gives the exception
Please use Set-RsDataSource to update shared data sources!
The exception is thrown in the file Set-RsItemDataSource.ps1 and is a simple check.
I don't know why this check is added, since the exception message doesn't make sense. I want to change the report datasource instead of modifying a shared datasource (which can be done with the suggested function 'Set-RsDataSource')
The bypass I use now is
$proxy.SetItemDataSources($dstReportPath, $newDs);
Question: can this check (with throwing the exception) be removed so we can use the function for the above scenario?
The text was updated successfully, but these errors were encountered: