{Power 2020 Tip #14}Collections in Canvas App

Today as part of the Power 2020 series blog 14, we will try to understand Collections in Canva Apps.

Overview:

The collection is a pack of items and it creates a copy of the data source. By using collections, users can store and manage data in the canvas app. Collection returns a data source as a table.

Functions used in Collections:

  • Collect
  • Clear
  •  ClearCollect

Collect:

The Collect function helps to add records in Collection.

Syntax:

Collect( DataSource, Item, …)

DataSource (Required) – Name of data source that you want to add data. If the data source is not available, a collection will be created.

Item(s)(Required) – Records or tables to add to the collection.clip_image002

Clear:

The Clear function removes all the records from the collection. Only records will remove, columns will not be removed from the collection.

Syntax:

Clear( Collection )

Collection (Required) – Name of collection you want to remove.clip_image004

ClearCollect:

The ClearCollect function is a combination of Clear and Collect functions. This function will remove all records from the collection and then add the records to the collection.

Syntax:

ClearCollect( Collection, Item, … )

Collection(Required) – Name of collection you want to clear and add records.

Item(s)(Required) – Records or tables to add to the collection.

clip_image006clip_image008

By navigating View > Collection, you can see the collection.clip_image010

Manage Collection in Your Canvas App:

§ Add a new gallery

§ Select Contact as data sourc

.clip_image012clip_image014

Hope it helps and Power 365ing as usual!

Any problem in Power Platform or Dynamics 365 – end user, Microsoft partner or an individual?

Problem Area – Technical, Functional, Training, Development or consulting?

I am here to help, get in touch here: Click here

ABOUT THE AUTHOR:

clip_image006

{Power 2020 Blog # 9} Thank you note and celebration for 400 posts

Today, I am posting a special thank you note to all my followers, readers and kudos to you for making this milestone happen for me – this blog has reached 400 posts on its journey.

 

clip_image002

In July 2013, I started writing some articles on Dynamics CRM, developing some tools in my spare time.

Getting involved with various kind of experiences on Dynamics CRM.

clip_image004

This blog has over time been a keen source of inspiration for myself to keep learning, sharing ideas and connecting with some great minds.

Hope this quick table will help you to utilize the environment out of box Security roles well.

Please note that this is summarized version with reference from Microsoft docs.

Hope it helps and Power 365ing as usual!

Any problem in Power Platform or Dynamics 365 – end user, Microsoft partner or an individual?

Problem Area – Technical, Functional, Training, Development or consulting?

I am here to help, get in touch here: Click here

ABOUT THE AUTHOR:

clip_image006

{Power 2020 Tip# 6} Adding a PowerApp to Microsoft Teams

Certain times we want to empower users to utilize PowerApps right from the Microsoft Teams. With Blog 6 of the series Power 2020, let’s go through how we can achieve this:

Navigate to the Apps section and select Add to Teams option by expanding the Menu under …(three dots)

clip_image002

Click on the Download App button on the right pop-up menu that appears:

clip_image004

A zip file will be downloaded for your App, next Navigate to Microsoft Teams:

clip_image006

Note: You need appropriate privileges to do this. In case you don’t have the right privilege, you will not see the option to Add custom app as described below.

Under Microsoft Teams login, Select Apps and then click on Upload a custom App option:

clip_image008

Here upload the zip file which was exported from Apps area in PowerApps. Once done, The app will be available as below:

clip_image010

In the next step click on the App, In the Popup window click on Add:

clip_image012

Now you can use your App right from Microsoft Teams:

clip_image014

clip_image016

Hope it helps and Power 365ing as usual!

Any problem in CRM – end user,Microsoft partner or an individual?

Problem Area – Technical, Functional, Training, Development or consulting?

I am here to help, get in touch here: Click here

ABOUT THE AUTHOR:

clip_image018