Is it possible to make sure a user only can open one instance of a specific form, for instance CustTrans from CustTable? Modal form is not an option. Some sort of Singleton pattern?
How to make sure that a form is only opened once?
1.6k Views Asked by mrsalonen At
1
There are 1 best solutions below
Related Questions in X++
- Nested Json using Data Contract Class in AX 2012 R3
- getting errors while installing ISV licence using AXUpdateInstaller.exe devinstall for D365FO
- How to call OriginalDocuments form by code D365fo
- Pass parameter to validateWrite method in table
- Is there a way to extend a table to be a valid time state table
- How to add OffsetLedgerDimension to Fixed Asset Journal by x++?
- D365 F&O Add field to Expense Journal Lines that is available in Invoice Proposal
- D365 Countdown Timer
- Convert 'Container' type data into serialization without X++ Conpeek
- Join expected in select statement on X++
- Change checkbox value without datasource and other than the current one AX2012
- Next call on Chain of Command in X++ D365 FO
- Export all records from grid in ax 2012 r2
- export more than 1 million records from dynamics-365-operations (AX 365)
- Retrieve data from a display method in D365 FO, x++
Related Questions in DYNAMICS-AX-2009
- Pass parameter to validateWrite method in table
- TTSBegin Error in AX 2009 when retrieving SQL data and placing it into an AX table
- AX 365: is it possible to create table relations automatically? Like it was in Ax 2009?
- How to integrate Microsoft AX 2009(on-premise) to Microsoft Dataverse and dump to Azure datalake?
- Twain DataSourceManager
- Running a .Net reference code in the Server in Dynamics AX 2009
- AX 2009 - Increasing the length of the Payment Journal Line 'Transaction Text' field
- What is the moment when the sales order is fully formed with its lines and the entire posting process is finished?
- how to connect dynamics AX 2009 and visual studio 2008
- AX 2009 Business Connector LogonSystemChangedException in multi AOS environment
- AX 2009 integration in an azure app service
- Dynamics AX 2009 - performance tuning - parameter sniffing and fill factor
- Axapta: "The record has never been selected" error after Group By clause
- Use Dynamics AX 2009 Business Connector .NET Framework 3.5 inside .NET Core solution
- Here maps api: Behavior not reacting in Microsoft Web Browser ActiveX
Related Questions in AXAPTA
- Nested Json using Data Contract Class in AX 2012 R3
- Pass parameter to validateWrite method in table
- Is there a way to extend a table to be a valid time state table
- How to add OffsetLedgerDimension to Fixed Asset Journal by x++?
- Convert 'Container' type data into serialization without X++ Conpeek
- How to manage dual-sync when single table data is saved to multiples tables from staging table in F&O?
- Join expected in select statement on X++
- SQL filter from range expression like used in Dynamics Ax 2012
- Change checkbox value without datasource and other than the current one AX2012
- Export all records from grid in ax 2012 r2
- export more than 1 million records from dynamics-365-operations (AX 365)
- CODA format d365 fin and ops automate bank statement import
- Declaration class as array in AX 2012
- Labels in Dynamics AX V4
- Resource not opening Excel file in ax 2012
Related Questions in MORPH-X
- Auto Extract Interface in AX2012 X++ Code Editor
- Dynamics AX How I can open a table in a brand new window and not inside developer window
- Changing the Background- Color of the X++ Editor of MSDAX
- Compiler throwing error as variable is not declared X++
- CustTableListPage filtering is too slow
- AX 2012 legacy report (ReportRun) called from an AIF web service
- Accessing active Business Unit from Morphx Ax 2012
- Suspend a transactions using code with Example
- Axapta 2009 Report PagesTotal
- Is there a way to add more text to a range value?
- how to set autosum property in x++ for a morphx report
- What do I do when MorphX won't let me check in?
- Helptext property of Button
- Add a Relation foreign key in AX2012
- Create new unique field in table CustTable
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can use the global cache for this, more info on MSDN: http://msdn.microsoft.com/en-us/library/aa891830.aspx. However a lot of the time the use of the global cache is a sign of bad design.
You can use the global cache to implement a singleton pattern as demonstrated here: http://www.axaptapedia.com/Singleton_pattern
Also consider alternative solutions to your problem, for example the one used on inventory journals. When you open the lines for a journal, it is marked as "in use" so no one else can open that particular journal.
Side note: I believe what you are trying to achieve is a bit of an anti-pattern. Dynamics AX uses dynalinks to link forms together. All of this functionality will be lost if you implement this.