Skip to content

Change a shared data source to expression-based connection string #439

@delreluca

Description

@delreluca

I deployed a report via Write-RsCatalogItem. In the past it referred to a shared data source, however the new RDL uses an embedded data source with an expression-based connection string.

After deployment it still referred to the shared data source. I was able to change it via the portal:

  1. ManageData sources → Change to A custom data source
  2. Set the connection type, enter a bogus connection string and choose credentials
  3. After saving and reloading there will be a Revert to default under the connection string, click that to use the expression
  4. Save

However, I am not sure how to do this with this module.

I noticed it works correctly for new reports that have no existing data sources to change, however.

So, is the only workaround to rename the data source?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions