Forum Discussion

structure40's avatar
structure40
Regular Visitor
8 years ago
Solved

Migration from Collections to Embedded Confusion

I have followed the guide for migration. What I am struggling with is updating the username and password for my reports that have been migrated. I have read through the not so helpful code snippets b...
  • Anonymous's avatar
    Anonymous
    8 years ago

    Hi structure40,

     

    thanks for taking the time to view the gist. These were some typo mistakes while I was moving the code from production to the gist and doing the appropriate transformations. I fixed the gist so you can try again. 

    Fixes performed:

    - (PostUpdateDatasourcesConnectionAsync)The reportDatasetKey changed to reportDatasetId

    - (SetReportParameters)destinationWorkspaceId changed to tenantWorkspaceId

    - (PostUpdateDatasourcesConnectionAsync) SendAsync has been changed to accept HttpContent

     

    Hope it helps.

     

    Thanos

    PS: Please accept this reply as solution if this solved your problem. We should help other people to know that there is an answer for this issue.