I am trying to create a replicated element via the WebAPI with no success. I get the displayed error. What am I missing ?
Wale Oguntoyinbo [SLC] [DevOps Enabler] Selected answer as best 25th November 2021
There's a small bug in the API where it throws this null ref exception when the Ports tag isn't included in the request. It should work if you add the Ports tag.
Wale Oguntoyinbo [SLC] [DevOps Enabler] Selected answer as best 25th November 2021
Did you put “IsReplicationActive” on true in your request?
Thanks Wim. That was the missing piece.
After adding the Ports tag the call is successful but rather than create a replicated element it is creating a normal element. In cube when I then check the Replicate box the replication info is prefilled with the data in the request. My expectation is for a replicated element to be created immediately with this call.