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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

SysOperation framework: Build Dialog with Groups and fields

(0) ShareShare
ReportReport
Posted on by 6,478

Hello,

I could not find any sorce / example of how to build a dialog with Groups and fields in those groups.

I want to achive something similar to screenshot below. As I checked the dialog below is separate form and then "Dialog" is initialized with it in the RunBase class.

So, How can I achieve the same 'design' by UiBuilder class? I mean, how can I have "Identification", "Posting", Reason", "Selection criteria" fieldgroups and how to assign fields to those fieldgroups?

58422.png

I have the same question (0)
  • Suggested answer
    Sergei Minozhenko Profile Picture
    23,093 on at

    Hi Johnny Almeida,

    It's not necessary to use UI builder class. You can use attributes SysOperationGroupAttribute and SysOperationGroupMemberAttribute in contract class

    [
        DataContractAttribute,
        SysOperationGroupAttribute('Group1', "Label for group1", '1'),
    	SysOperationGroupAttribute('Group2', "Label for group2", '2')
    ]
    public class MyContract
    {
        int var1;
        int var2;
    
        [
            DataMemberAttribute('var1'),
            SysOperationGroupMemberAttribute('Group1'),
            SysOperationDisplayOrderAttribute('1')
        ]
        public int parmVar1(int _var1 = var1)
        {
            var1 = _var1;
            return var1;
        }
    	
    	    [
            DataMemberAttribute('var2'),
            SysOperationGroupMemberAttribute('Group2'),
            SysOperationDisplayOrderAttribute('1')
        ]
        public int parmVar2(int _var2 = var2)
        {
            var2 = _var2;
            return var2;
        }
    }
    

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 592 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 478 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 305 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans