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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Form not opening as Grid from notification

(1) ShareShare
ReportReport
Posted on by 43
Hello and thank you for reading.
 
I have set a Workflow on D365 Finance & Operations.
 
When a user gets a notification on the action center and clicks on "View" to see the work items: 
 
 
my form opens but the Grid is not visible :
 
 
 
The user can only see it if they click on the title "Approval monitoring", then the grid appears :
 
How can I get the form to open with the grid visible ?
Is it a problem with the notification or the form ? The design of the form is "Details Transactions".
The Display menu item calling this has "Form view option" set to "Grid", when I call that manu item directly I get the grid directly.
 
I tried to set "Form view option" in code in the init() method of the form, but it doesn't work, it doesn't change it to Grid :
 
 
formVOption is still "Auto". 
 
Thanks for helping me.
 
 
 
 
 
I have the same question (0)
  • Jonas "Jones" Melgaard Profile Picture
    5,016 Most Valuable Professional on at
    Are you sure you are calling the "setViewOption" method?
    It's used by BankAutomationStatementForm, so I expect it to work.
     
     
    If you really want to fix this, you need to use another form pattern, since you don't have fields in the details group.
  • Verified answer
    MM-07060748-0 Profile Picture
    43 on at
    Thanks for your reply,
     
    I got it working in the end.
     
    I added this code to the run() method instead of the init, after the super() :
     
     public void run()
     {
       super();
     
       if (element.viewOptionHelper().getViewOption() != FormViewOption::Grid)
         {
             element.viewOptionHelper().setViewOption(FormViewOption::Grid);
         }

     }

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 802

#2
André Arnaud de Calavon Profile Picture

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

#3
Subra Profile Picture

Subra 534

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans