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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

How to get all workspace tiles included all their control (of each tile) ?

(0) ShareShare
ReportReport
Posted on by 229

Hi guys,

I need to get all workspaces tiles and all their buttons control (will be stock in a table)

I wanna show all included buttons when i will select the tiles that i want in a tree. 

example : 

Tile : Bank Management

----------------> Button 1 : All bank accounts

---------------------------->Button 1.1 (child) : ...... 

---------------------------->Button 1.2 (child) : ...... 

---------------------------->Button 1.3 (child) : ...... 

...

----------------> Button 2 : Open Bank Reconciliation

---------------------------->Button 2.1 (child) : ...... 

....

and so on.

Could someone teach me how or advice me please ?

Regards.

I have the same question (0)
  • Awaxx Profile Picture
    229 on at

    No ideas or suggestions guys ?

  • Verified answer
    Martin Dráb Profile Picture
    238,599 Most Valuable Professional on at

    It's not clear which part(s) of your requirement you need help with.

    If you don't know how to iterate the controls, look at the metadata API.

  • Awaxx Profile Picture
    229 on at

    hello goshoom

    I need help for learning a way to collect all workspaces tiles in a table and collect also all controls inside those tiles.

  • Martin Dráb Profile Picture
    238,599 Most Valuable Professional on at

    That's not a single task. You need to split it to smaller pieces and decide what you can do and what you don't.

    For example, maybe you know how to create a table and we don't need to waste time with it here.

    If I was you, I would start by iterating controls of a single tile. I'm assuming that you actually mean the form that opens if you click a tile, but I'm not sure.

    If you can't process a single tile, all the other steps (such as iterating all tiles or saving the information to a table) can't be done either.

  • Awaxx Profile Picture
    229 on at

    goshoom

    You re totally right i must be more precise.

    And you re right by focusing first on one tile (form).

    I never did the step to iterate controls from an opening form and thats what i need to learn first.

    If you could teach me that point i will appreciate

  • Verified answer
    Martin Dráb Profile Picture
    238,599 Most Valuable Professional on at

    Have you already seen the blog post (and code there) that I linked in my first reply?

  • Awaxx Profile Picture
    229 on at

     goshoom 

    I m on it right now and discovering the post

    I didnt understand all you did there ... but i understood that i got to use this new metadata api to reach my goal.

  • Awaxx Profile Picture
    229 on at

    goshoom

    Hi Martin, i am now on this task and i'm trying the code that you send on your post on metadata api.

    Should i just take it and run it on a runnable class ? or should i need something else ?

    Thank you

  • Martin Dráb Profile Picture
    238,599 Most Valuable Professional on at

    Yes, you can run it in a runnable class.

    You'll likely want to call it somehow else in your final solution, but using a runnable class may be a good approach at the beginning.

  • Awaxx Profile Picture
    229 on at

    All right thanks for the help.

    This API is really incredible.

    I'm working on development where they used TREENODE but i prefer this approach.

    Thank you for this post.

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…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 663 Super User 2026 Season 1

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 289 Super User 2026 Season 1

#3
Martin Dráb Profile Picture

Martin Dráb 232 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans