Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Configurable Regarding Column Canvas Apps

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

  • Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    RE: Configurable Regarding Column Canvas Apps

    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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans