Aspose.Tasks-Cloud
24.10.0
dotnet add package Aspose.Tasks-Cloud --version 24.10.0
NuGet\Install-Package Aspose.Tasks-Cloud -Version 24.10.0
<PackageReference Include="Aspose.Tasks-Cloud" Version="24.10.0" />
paket add Aspose.Tasks-Cloud --version 24.10.0
#r "nuget: Aspose.Tasks-Cloud, 24.10.0"
// Install Aspose.Tasks-Cloud as a Cake Addin #addin nuget:?package=Aspose.Tasks-Cloud&version=24.10.0 // Install Aspose.Tasks-Cloud as a Cake Tool #tool nuget:?package=Aspose.Tasks-Cloud&version=24.10.0
Manipulate Project Files via .NET Cloud REST API
Aspose.Tasks Cloud SDK for .NET REST API enables developers to access and manage Microsoft Project and Primavera P6 files in cloud-based .NET applications. It provides capabilities to edit tasks, resources, and project files programmatically, supports conversions to various formats like PDF, HTML, and Excel, and allows project document manipulation without needing local installations of MS Project. With features like adding new tasks, modifying resources, handling calendar exceptions, and supporting VBA macros, Aspose.Tasks Cloud SDK is a versatile API for managing project data efficiently. It also integrates seamlessly with cloud storage to upload, download, and manage files across platforms.
Working with Assignments
Edit Resource Assignment
Modify an existing resource assignment within a project.
Working with Tasks
Get a Specific Task
Retrieve details of a specific task from a project.
Add New Task
Insert a new task into a project.
Working with Resources
Add New Resource
Add a new resource to a project document.
Modify Resource
Update details of an existing resource in a project.
Working with Calendars
Retrieve Calendar
Get details of a calendar used in a project.
Add New Calendar
Add a new calendar to the project for scheduling.
Working with Calendar Exceptions
Get Calendar Exceptions
Retrieve calendar exceptions, such as holidays, from a project.
Working with Task Links
Get Task Links
Retrieve all task links from a project.
Add Task Link
Create a new task link between tasks in a project.
Working with Outline Codes and Extended Attributes
Get Outline Codes
Retrieve outline codes from a project.
Add Outline Code
Add a new outline code to a project.
Get Extended Attributes
Retrieve extended attributes from a project.
Add Extended Attribute
Add new extended attributes to a project.
Working with Project Documents
Convert Project to Other Formats
Convert MS Project files to various formats like PDF, HTML, and Excel.
Create New Project
Create a new project document programmatically.
Working with Project Online
Create Project Online
Set up a new project in Project Online.
Working with Recalculate Project
Recalculate Project Data
Recalculate resource costs, task durations, and other project metrics.
Working with VBA
Get VBA Project
Retrieve VBA macro project details from an MS Project file.
Working with Time Phased Data
Get Time Phased Data
Retrieve time-phased data from a project for detailed analysis.
Working with Document Properties
Get Document Properties
Retrieve properties like author, title, and description from project files.
Update Document Properties
Update the metadata of a project document.
Working with Files and Storage
Upload File to Storage
Upload project documents to cloud storage.
Download File from Storage
Retrieve project files from cloud storage.
Manage Folders
Organize project files within cloud storage folders.
Supported File Format
Format | Description | Load | Save |
---|---|---|---|
MPP | Native MS Project Format, Microsoft Project Online format, MS Project 2003, 2007, 2010, 2013, and 2016 MPP formats are supported | ✔️ | ✔️ |
XML | XML Project Format | ✔️ | ✔️ |
MPT | MS Project Template | ✔️ | ✔️ |
MPX | Primavera MPX | ✔️ | ✔️ |
XLSX | Microsoft Excel | ✔️ | |
HTML | Simplified HTM and HTML Formats | ✔️ | |
TXT | Simple Text Format | ✔️ | |
TIF | Format24bppRgb | ✔️ | |
SVG | SVG Format | ✔️ | |
PNG | Saving Project data as PNG Image Format | ✔️ | |
Saving Project data as PDF Format | ✔️ | ||
JPEG | Saving Project data as JPEG | ✔️ | |
XER | Primavera XER Format | ✔️ | |
XML | PrimaveraP6XML Format | ✔️ |
Quick Start
1. Create an Account
Sign up for Aspose Cloud to get started. Learn more.
2. Create an API Client App
Generate your App SID and App Key, essential for making API calls.
3. Install the SDK
No need for a separate installation. Simply create an account and get your app details from Aspose Cloud.
For .NET, open Visual Studio and run the following command in the Package Manager Console to add the SDK to your project:
Install-Package Aspose.Tasks-Cloud
To upgrade to the latest version, run:
Update-Package Aspose.Tasks-Cloud
4. Make an API Request
Use your App SID and Key in the SDK to execute your first API request.
Convert MS Project to SpreadsheetML
Convert your MS Project (.MPP) file into SpreadsheetML format using Aspose.Tasks Cloud SDK for .NET.
using Aspose.Tasks.Cloud.Sdk;
using Aspose.Tasks.Cloud.Sdk.Model.Requests;
string fileName = "Home move plan.mpp";
string format = "spreadsheetml"; // Specify the output format as SpreadsheetML
TasksApi tasksApi = new TasksApi("MyClientId", "MyClientSecret");
// Convert the project document to SpreadsheetML
tasksApi.GetTaskDocumentWithFormat(fileName, format, null, null);
Add a New Task to a Project
This code demonstrates how to add a new task to an MS Project file using Aspose.Tasks Cloud SDK for .NET.
using Aspose.Tasks.Cloud.Sdk;
using Aspose.Tasks.Cloud.Sdk.Model;
TasksApi tasksApi = new TasksApi("MyClientId", "MyClientSecret");
TaskCreationRequest newTask = new TaskCreationRequest
{
Name = "New Task",
Start = DateTime.Now.ToString("yyyy-MM-dd"),
Finish = DateTime.Now.AddDays(5).ToString("yyyy-MM-dd")
};
// Add a new task to the project
tasksApi.PostTask("Home move plan.mpp", newTask);
Convert MS Project to PDF
Convert an MS Project file into PDF format using Aspose.Tasks Cloud SDK for .NET.
using Aspose.Tasks.Cloud.Sdk;
using Aspose.Tasks.Cloud.Sdk.Model.Requests;
string fileName = "Home move plan.mpp";
string format = "pdf"; // Specify the output format as PDF
TasksApi tasksApi = new TasksApi("MyClientId", "MyClientSecret");
// Convert the project document to PDF format
tasksApi.GetTaskDocumentWithFormat(fileName, format, null, null);
Get a Specific Task of a Project
Retrieve a specific task from an MS Project file using Aspose.Tasks Cloud SDK for .NET.
using Aspose.Tasks.Cloud.Sdk;
using Aspose.Tasks.Cloud.Sdk.Model.Requests;
string fileName = "Home move plan.mpp";
int taskUid = 0; // Specify the task UID
TasksApi tasksApi = new TasksApi("MyClientId", "MyClientSecret");
// Retrieve the specific task
var task = tasksApi.GetTask(fileName, taskUid);
Aspose.Tasks Cloud SDKs
GitHub
Package Manager
Tags
Project Management API
| .NET Cloud API
| Aspose.Tasks Cloud
| REST API
| Project Document Manipulation
| Task Management
| Resource Management
| Calendar Management
| Task Links
| Outline Codes
| Extended Attributes
| Document Conversion
| VBA Macros
| Recalculate Project
| Time Phased Data
| Document Properties
| Cloud Storage Integration
| File Upload
| File Download
| Folder Management
| Primavera P6
| Microsoft Project Online
| PDF Conversion
| Excel Conversion
| HTML Conversion
| SpreadsheetML
| Gantt Charts
| MS Project Integration
| Task Scheduling
| Resource Assignment
| Calendar Exceptions
| SDK Installation
| GitHub Repository
| API Integration
| Multi-language Support
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net20 is compatible. net35 was computed. net40 was computed. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Newtonsoft.Json (>= 13.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
24.10.0 | 89 | 10/24/2024 |
24.4.0 | 141 | 4/22/2024 |
22.12.0 | 393 | 12/14/2022 |
22.7.0 | 445 | 8/3/2022 |
21.10.0 | 442 | 10/23/2021 |
21.8.0 | 351 | 8/22/2021 |
21.2.0 | 533 | 2/26/2021 |
20.11.0 | 1,589 | 11/4/2020 |
20.8.0 | 529 | 8/11/2020 |
20.6.0 | 548 | 6/26/2020 |
19.12.0 | 633 | 12/13/2019 |
19.10.0 | 584 | 10/31/2019 |
19.4.0 | 661 | 7/17/2019 |
18.9.0 | 855 | 10/22/2018 |
18.8.2 | 860 | 9/11/2018 |
18.8.0 | 885 | 9/11/2018 |
18.2.0 | 1,041 | 3/11/2018 |
1.0.6 | 1,001 | 9/27/2017 |
1.0.5 | 943 | 9/27/2017 |
1.0.4 | 992 | 8/14/2017 |
1.0.3 | 1,068 | 1/6/2017 |
1.0.2 | 1,301 | 11/2/2016 |
1.0.1 | 1,050 | 10/21/2016 |
1.0.0 | 1,595 | 2/23/2016 |
The complete list of changes can be found at https://docs.aspose.cloud/tasks/aspose-tasks-cloud-24-10-release-notes/