How to Lock MS Project Using Java
In order to lock MS Project File, we’ll use
API which is a feature-rich, powerful and easy to use document Lock MS Project API for Java platform. Open
package manager, search for Aspose.Tasks and install. You may also use the following command from the Package Manager Console.
Command
PM> Install-Package Aspose.Tasks
Steps to Lock MS Project of MPP via Java
- Upload MPP file using Project Class
- Enter password details
- The server processes the file and set the password properties of the MPP file
- Resave the project with the password
System Requirements
Aspose.Tasks for Java supports on all major platforms and Operating Systems. Please make sure that you have the following prerequisites.
- Microsoft Windows or a compatible OS with Java Runtime Environment for JSP/JSF Application and Desktop Applications.
- Get latest version of Aspose.Tasks for Java directly from Maven .
Lock MPP files via Java
//Add snippet code for application
// Now no code detected
About Aspose.Tasks for Java API
Aspose.Tasks is a Microsoft Project API to view and convert project documents. One can load, create, modify and render Microsoft Project files to Primavera, Excel, PDF, HTML, images and XML formats. Aspose.Tasks is a standalone API and does not require Microsoft Project or any other software to be installed.Lock MPP files via Online App
Lock MPP files with the password by using our Live Demos with following benefits.
MPP What is MPP File Format
A file with MPP extension is Microsoft Project data file that stores information related to project management in an integrated manner. It is proprietary file format developed by Microsoft as file format for Microsoft Project (MSP) which is a project management application software. Besides MPP, MSP supports other file formats as well like project XML schema. Several APIs and applications provide the facility to convert MPP file format to others. Microsoft now has online Project Server where project management files can be uploaded for collaboration by multiple users.