Skip to main content

Notifications

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 207

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.

  • Awaxx Profile Picture
    Awaxx 207 on at
    RE: How to get all workspace tiles included all their control (of each tile) ?

    goshoom

    Now i have to find how to use it for my task. ;-)

  • Awaxx Profile Picture
    Awaxx 207 on at
    RE: How to get all workspace tiles included all their control (of each tile) ?

    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.

  • Martin Dráb Profile Picture
    Martin Dráb 230,842 Most Valuable Professional on at
    RE: How to get all workspace tiles included all their control (of each tile) ?

    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
    Awaxx 207 on at
    RE: How to get all workspace tiles included all their control (of each tile) ?

    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

  • Awaxx Profile Picture
    Awaxx 207 on at
    RE: How to get all workspace tiles included all their control (of each tile) ?

     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.

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,842 Most Valuable Professional on at
    RE: How to get all workspace tiles included all their control (of each tile) ?

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

  • Awaxx Profile Picture
    Awaxx 207 on at
    RE: How to get all workspace tiles included all their control (of each tile) ?

    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

  • Martin Dráb Profile Picture
    Martin Dráb 230,842 Most Valuable Professional on at
    RE: How to get all workspace tiles included all their control (of each tile) ?

    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
    Awaxx 207 on at
    RE: How to get all workspace tiles included all their control (of each tile) ?

    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.

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,842 Most Valuable Professional on at
    RE: How to get all workspace tiles included all their control (of each tile) ?

    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.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,969 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,842 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans