Hi All,
I want to pass the Collection present in my CanvasApp as an input to the PCF Control of the field type. I have to implement some logic using the data present in the collection, at the PCF end. I thought to pass the separate value of each field of the collection but it is becoming a strenuous task as there are more than 100 values to pass in that way. I am looking for some way to pass the entire collection as input from CanvasApp to PCF Control. Is there any way to achieve that?
Feel free to suggest your ideas to achieve the above requirement.
Thanks in advance.
Thanks, @DianaBirkelbach for your reply.
I have tried your suggested solution and It worked for me. By using the PCF Dataset type component, we can give CanvasApps Collection as an input to PCF Control and use those values.
Hi @optimisticdipak ,
what about a second property for your PCF, of type dataset. As far as I unfderstand it, you should be able to pass the collection to your PCF that way.
Here is a tutorial in the docs: https://docs.microsoft.com/en-us/powerapps/developer/component-framework/tutorial-create-canvas-dataset-component?WT.mc_id=BA-MVP-5004107#deploying-and-configuring
But I must admit that I haven't tried it out this property combination.
Hope this helps!