Forum Discussion
Migration from Collections to Embedded Confusion
- Anonymous8 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.
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.
Thanks for the update. I ended up in the same place as you did with your proposed changes. I also had to enable a firewall rule on the database I was trying to access to get this to work. Thanks again for the help.