Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
ribba
Regular Visitor

Copy data - Mapping section is Collection reference option

Hi,

 

Trying to load data from a rest API using "Copy data". Got it working with pagination and everything, but can't access the real data as the "Collection reference" is missing in the gui...?

 

ribba_0-1702338905533.png

 

Data coming through the API looks like this. Would like to get the data inside `values`.

[
  {
    "fullResultSize": 1383,
    "from": 0,
    "count": 1000,
    "versionDigest": "'If-None-Match' header not specified",
    "values": [
      {
        "id": 100686570,
        "version": 6,
        "url": "example.com",
        "project": {
          "id": 123456,
          "url": "example.com/133833984"
        },
      }
    ]
  }
]

 

Clicking "view source" on the object it is there but empty

{
"collectionReference": "",
"typeConversion": true,
"typeConversionSettings": {
"allowDataTruncation": false,
"treatBooleanAsNumber": false
},
"columnFlattenSettings": {
"treatArrayAsString": false,
"treatStructAsString": false,
"flattenColumnDelimiter": "."
}

 

Any suggestions? Thanks!

 

13 REPLIES 13
Joshgibbons
Regular Visitor

I haven't seen a post on this, in a while. Did this somehow get solved?

nbjdeunk
Frequent Visitor

We're missing this option too. 

 

We use this option a lot in pipelines in Azure Synapse. Currently we can't use Fabric because of the absence of this option.

 

Any updates on this? Or is there an Idea to vote for?

 

UPDATE

I found out that if you choose an 'External' sink first, the option will appear. You can set it at that time and change the sink afterwards to 'Workspace'. The setting 'Collection reference' is still set in the JSON definition. 

Then just map like you normally would. 

emcus
Frequent Visitor

Hi,

This is stopping me as well. Any ideas on how to work around it?

PrakashTamil
New Member

I'm also facing similar issue 'collectionReference' property is not availble for copy data activity in Microsoft Fabric. Any plans to enable this property near future ?

noahadmcdonald
Frequent Visitor

Any update on this? I'm finding a similar problem with the mapping. I think it's in part to the copy data activity not being able to recognize the array data type. I have never used Azure Data Factory but I see that Collection Reference and Advanced Editor exist in ADF but not in Microsoft Fabric. Is there a work around for this?

ribba
Regular Visitor

@v-cboorla-msft Any update on this?

Hi @ribba 

 

Apologies for the issue that you are facing here.

This might require a deeper investigation from our engineering team about your workspace and the logic behind it to properly understand what might be happening. 

Please go ahead and raise a support ticket to reach our support team:

https://support.fabric.microsoft.com/support
Please provide the ticket number here as we can keep an eye on it.


Thanks.

v-cboorla-msft
Community Support
Community Support

Hi @ribba 

 

Thanks for using Microsoft Fabric Community.
At this time, we are reaching out to the internal team to get some help on this.
We will update you once we hear back from them.

Appreciate your patience.

 

Thanks

So when just the source is selected the collection reference appears

AndersF_0-1732194008716.png

But as soon as I select a destination, it disappears, regardless of the destination:

AndersF_2-1732194345544.png

 

Found a workaround. Roaming around with the json for the pipeline i found that by changing the value of typeConversion from true to false enables the collation reference. Assuming this will be fixed in the future this pipeline may break, but it works for now. 

AndersF_0-1732204714582.pngAndersF_1-1732204792369.png

 

 

Thanks for posting this. I verified it works.
I spent quite a while in the Pipeline JSON, trying to figure out a way to do something just like this (and finally gave up and came here).

Hi! It's been a while since this thread was updated, any news on supporting "Collection reference" in Fabric?

Thanks !

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.