Replies: 2 comments
-
|
About promoted action group names and captions - the docs say it's either Looking at the current standard: I'd always look for reference there (but without the ampersand in the captions). |
Beta Was this translation helpful? Give feedback.
-
|
There are only two hard things in Computer Science: cache invalidation and naming things. Luckily in AL we don't have to worry about cache invalidation ;-) I've read the documentation and looked at some examples. I guess the thread running through the story is something like below? actions
{
area(processing)
{
group(Posting) // Plural of the action(s) name (and not explicitly specifying it's a group anchor)
{
Caption = 'Posting';
action(Post) // Singular name of the action
{
Caption = 'Post';
trigger OnAction()
begin
Rec.Post();
end;
}
}
area(Promoted)
{
group(Category_Post) // Category_<GroupName>
{
Caption = 'Post';
actionref(Post_Promoted; Post) { } // <ActionName>_Promoted
}
}
}It feels off to have a suffix on the Promoted area and nothing in the area's like processing. And why is a groupname in the Promoted area singular instead of plural? Or do I need to let this go and can every developer decide for itself what they thinks it's best? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
With the introduction of the Modern Action Bar honestly I'm struggling a bit to have a consistent name convention these objects.
What could be the best pratices on naming these?
Example
Beta Was this translation helpful? Give feedback.
All reactions