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

Initialise form datasource from external form

(1) ShareShare
ReportReport
Posted on by 621
Greetings, I have a question about a development I am doing on a form of Operational Workspace pattern. I would like to know if it is possible to initialize by code the filters of the datasource of a form but not to deploy it yet. Let me explain:
From a Tile in a form of type WorkSpace, when clicking on it, I have made an override of the clicked method. In this one I perform the following steps:
 
using this code, I initialise the form I want to go to, add filters to its datasource and it is displayed on my screen. The problem is that, the item Tile must have in its property a menu item display that takes me to the same form, and this causes that, when I enter to this new form with all the filters mentioned before and I click on the back button, instead of returning to the Workspace, it loads again the same form, but without filters. That is why I am asking if I can initialise the datasource of the form, but not load this one.
I have tried to remove the menu item display from the item Tile property, and it works on my machine, but when I upload this development to a Tier 2, I get this problem:
 
 
I hope you can help me find a solution to this problem. Best regards
  • Verified answer
    Waed Ayyad Profile Picture
    9,218 Super User 2026 Season 2 on at
    Hi,
     
    You can add Query to your Tile and Display menu item and on it you can add the ranges that you want, so when you open the form, it will open based on your query.
     
    Thanks,
    Waed Ayyad
    If this helped, please mark it as "Verified" for others facing the same issue
     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

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

#1
Martin Dráb Profile Picture

Martin Dráb 555 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 484 Super User 2026 Season 2

#3
CU10121822-0 Profile Picture

CU10121822-0 378

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans