SysProjectApplication Class [AX 2012]
The SysProjectApplication class provides wrapper methods for common Microsoft Project automation methods.
| Method | Description | |
|---|---|---|
| activateWindow | Finds Microsoft Project's window and brings it to the front. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| comObject | Gets an instance of Microsoft Project's COM object. (Overrides the comObject Method.) |
| createNewProject | Creates a new, blank project in Microsoft Project and saves it. |
| createProjectInSharePoint | Creates a new, blank project in Microsoft Project, then creates a new SharePoint site and saves the newly created project there. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| findAddin | Finds and retrieves the Microsoft Dynamics AX for Microsoft Project addin. |
| getApplicationFilePath | Determines the path of the Microsoft Project file that is currently opened. |
| getApplicationVersion | Retrieves the version number of Microsoft Project. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| new | Initializes a new instance of the SysProject class. (Overrides the new Method.) |
| notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
| notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
| objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
| openFile | Opens a Microsoft Project file. |
| openFileFromSharePoint | Opens a Microsoft Project file that is stored in SharePoint. |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| quit | Closes Microsoft Project. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| syncProjectFileWithSharePointTasklist | Creates a new, blank project in Microsoft Project and triggers a sync between it and SharePoint. |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| visible | Shows or hides the Microsoft Project window. |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::construct | Creates an instance of a subclass of the SysProjectApplication class. |
Community Additions
ADD
Show: