Hello Everyone,
I am trying to reduce the workload on a single developer by making use of the Component Library feature provided in Canvas Apps. As per the below link we can use the Table to create the Menu Components.
But I do not find the option to select the Data Type as "Gallery" so that I can create a gallery component(as in the below image). Can anyone help me to understand if it is possible to create the gallery as a component? Or how can we create a gallery in a component library?
Thanks
Solved! Go to Solution.
To the best of my knowledge one of the limitations of components is that you can't embed a data source inside a component. Instead components work off local tables of data. You can pass a table of data into and out of a component, but you can't use a connection inside a component.
1) Create a custom property of type Table
2) In the component hard code a sample Table in the custom property that matches the fields of the Table you will pass in.
3) Use that Table to configure your component.
4) When you embed the component in your app set the custom input property to the Table of data you wish to pass in.
You don't create the Gallery as a component. You create the component library, add a component to it, and then add a Gallery to the component using the Insert Menu. You are looking at the custom property menu of the component. You add a Table there to be used as the Items collection of the Gallery.
Hello @Pstork1
Thanks for your response.
When I try to add the items in the gallery in the Component, I get below error. Can you please suggest how to add the items?
Thanks
To the best of my knowledge one of the limitations of components is that you can't embed a data source inside a component. Instead components work off local tables of data. You can pass a table of data into and out of a component, but you can't use a connection inside a component.
1) Create a custom property of type Table
2) In the component hard code a sample Table in the custom property that matches the fields of the Table you will pass in.
3) Use that Table to configure your component.
4) When you embed the component in your app set the custom input property to the Table of data you wish to pass in.