.NET Framework Class Library
UserInterface.ShowDocumentSelectorDialog Method
|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > .NET API > MwPDMApi Namespace > UserInterface Class > UserInterface Methods > .NET Framework Class Library |
The command shows the Document Selector Dialog used for multiple checkout/checkin/approve, for briefcase import/export, etc.
Namespace: MwPDMApi
Assembly: MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic |
|---|
Public Function ShowDocumentSelectorDialog ( _ title As String, _ |
C# |
|---|
public List<int> ShowDocumentSelectorDialog( string title, |
Visual C++ |
|---|
public: List<int>^ ShowDocumentSelectorDialog( |
JavaScript |
|---|
function showDocumentSelectorDialog(title, message, info, includeLinkedDrawings, checkForeignDocuments, uidList, noTraverseChildren, neverReturnLinkedDocuments, uidsToBePreSelected, uidsToBePreDisabled, showParentTree, typeList, extraColumnsToShow); |
Parameters
title
Type: System.String
title of the dialog
message
Type: System.String
explaining message
info
Type: System.String
additional info
includeLinkedDrawings
Type: System.Boolean
false: exclude any linked drawing
true:include any linked drawing
checkForeignDocuments
Type: System.Boolean
false: enable the row if the document is foreign
true: disable the row if the document is foreign
uidList
Type: System.Collections.Generic.List(Int32)
A list of the document unique ids to be listed in the Selector dialog
noTraverseChildren (Optional)
Type: System.Boolean
false: traverses children tree
true: avoids the recursion through all the document's children - useful for "drawings only" lists
neverReturnLinkedDocuments (Optional)
Type: System.Boolean
false: returns also document linked to selected ones (e.g. configs)
true: doesn't return linked documents
uidsToBePreSelected (Optional)
Type: System.Collections.Generic.List(Int32)
A list of values to be shown as already selected in the displayed dialog.
uidsToBePreDisabled (Optional)
Type: System.Collections.Generic.List(Int32)
A list of values to be shown as already disabled in the displayed dialog.
showParentTree (Optional)
Type: System.Boolean
false: do not show the parent tree of the current passed uid(s)
true: show the parent tree of the current passed uid(s)
typeList (Optional)
Type: System.Collections.Generic.List(String)
A lists of the types T of the Documents that must be displayed, with a format like: 'A','P','D','G','0' and any combination of the above.
extraColumnsToShow (Optional)
Type: System.Collections.Generic.List(String)
A list of database fields
Return Value
A list of selected or linked uids
See Also