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, ...
Answered

Initialise form datasource from external form

(1) ShareShare
ReportReport
Posted on by 561
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
I have the same question (0)
  • Verified answer
    Waed Ayyad Profile Picture
    9,039 Super User 2025 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

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 611 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans