AL icon indicating copy to clipboard operation
AL copied to clipboard

PromotedActionCategories in PageExtensions

Open JamesCrowter opened this issue 8 years ago • 3 comments

So when I set the PromotedActionCategories property in a page extension, because I want a new toolbar category for the action I'm adding, it doesn't seem to take effect?

Actually don't we need to rethink how this works? Should I be able to set the full list in my extensions and what will that do to other extensions for the same page that add a Action Category as well?

Would it not be better to have a 'ActionCategory()' which I can add captions to etc. following an addafter() so following the same pattern we have for fields and actions themselves?

JamesCrowter avatar Jan 11 '18 01:01 JamesCrowter

+1 on this, I've just worked on the same bit recently and was wondering how will this work with multiple extensions, that want to have their own promoted action categories. It seems like this needs some platform design improvement considerations.

vytjak avatar Jan 11 '18 08:01 vytjak

I just saw BC not bothering to apply the new caption added in PromotedActionCategories, and after testing found that the correct caption was shown when viewing in English (US) language, but it reverted to Category9 when changed to English (UK).

dzzzb avatar Mar 25 '21 14:03 dzzzb

After the new changes to promoted actions, I don't see us ever acting on this issue. Closing as we recommend that people use the newer syntax for promoted actions as outlined: https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-promoted-actions

EmilDamsbo avatar Oct 23 '23 14:10 EmilDamsbo