web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Configurable Regarding Column Canvas Apps

(1) ShareShare
ReportReport
Posted on by

Hello Everyone, 
Hope you're doing okay.

I am currently working on a Canvas App, In the Canvas App we are creating OOB Task records.
There is a field in OOB Tasks named Regarding. The regarding column is a lookup that contains all the records of all the Tables.
For the Data-source of Drop-Down of Regarding in Tasks Form, I am using a Collection.

Some tables that we require are being collected in this Collection


i.e. ClearCollect(colRegardingColumnValues, Accounts, Contacts)

I've got a requirement to make this merged collection configurable. We want to collect all the tables which are stored in a configuration record in the form of "account,contact".

I understand that in canvas apps Collection we cannot give logical names as parameters for the collection to collect.

I've tried many methods but still no luck.

For Example:

Storing the datatypes of all tables in a collection and using them in a loop to collect all the table available in the coma seperated configuration.

ClearCollect(colTableNames, {Name: "account", Value: account }); //where account is of data type Table.

ForAll(Split("account,contact",","), Collect(colRegardinColumnValues, LookUp(colTablesNames, ThisItem.Name = Name ) .Value ) )

But this also did'nt work.

I want to know if someone has done it before. Or is it even achievable. I'm kinda stuck here. Any help would be appretiated.

Thanks

I have the same question (0)
  • Leah Ju Profile Picture
    Microsoft Employee on at

    Hi ShaheerAhmad,

    Are all your settings related to the canvas app? 

    If this is the case, I suggest you go to the forum and post for more professional help.

    https://powerusers.microsoft.com/t5/Power-Apps-Community/ct-p/PowerApps1 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 51 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 38 Super User 2025 Season 2

#3
#ManoVerse Profile Picture

#ManoVerse 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans