Giter VIP home page Giter VIP logo

aspose-tasks-cloud / aspose-tasks-cloud-node Goto Github PK

View Code? Open in Web Editor NEW
2.0 4.0 1.0 1.47 MB

Node.js SDK to communicate with Aspose.Tasks REST API. Create, Edit or Convert Microsoft Project & Oracle Primavera files in the Cloud.

Home Page: https://products.aspose.cloud/tasks/nodejs

License: MIT License

TypeScript 100.00%
tasks-cloud aspose-cloud cloud-sdks microsoft-project oracle-primavera mpp mpx xer xml

aspose-tasks-cloud-node's Introduction

npm (scoped) npm bundle size node-current GitHub license GitHub last commit

Manipulate MS Project Files in Node.js via Cloud REST API

Aspose.Tasks for Cloud offers the ability to manipulate and convert Microsoft Project MPT, MPP, MPX & Oracle Primavera XER, XML, and PrimaveraP6XML files in Node.js. Aspose.Tasks Cloud SDK for Node.js wraps the REST API to make it easier for the developers to integrate MS Project Task Management features in their own cloud-based Node.js applications on Linux, MacOS, Windows or Android.

Feel free to explore the Developer's Guide & API Reference to know all about Aspose.Tasks Cloud API.

MS Project Processing Features

  • Add project assignments or delete project assignments along with their references.
  • Get the project's outline codes by index & get links to all project tasks.
  • Import projects from Primavera DB formats or from databases with the specified connection string.
  • Get UIDs of all projects contained in the file & fetch the required assignment with the project based on UID.
  • Manage project tasks, resource data, calendars & Work Breakdown Structure (WBS).
  • Perform risk analysis using Monte Carlo simulation and create a report.
  • Create and set project document properties & fetch all or specific existing properties.
  • Get a project's extended attributes, time-scaled data, or recurring info of a specific task.
  • Reschedule project tasks, dates, and other settings.
  • Calculate slacks & recalculate project completion or incompletion work.
  • Fetch a project document in the desired format.
  • Delete project task with its related references & rebuild the task tree.
  • Convert project documents to other formats.
  • Manipulate task data.
  • Manage project's resources.
  • Handle task links & task assignments.
  • Work with project's extended attributes.
  • Read Microsoft Project’s document properties such as start and finish date, tasks scheduling types and so on.
  • Read Microsoft Project’s Calendars and Calendar Exceptions information.

Read & Write Project Data

Microsoft Project MPP, XML, MPT Primavera MPX

Save Project Data As

XER, XLSX, HTML, XML, TXT, TIF, SVG, PNG, JPEG

Enhancements in Version 24.4

  • Added new ability to get views information
  • Possibility to modify table text styles for Gantt Chart views.

Enhancements in Version 22.12

  • Added new ability to read Primavera-specific task's properties.
  • Provided the ability to read more document properties.

Enhancements in Version 20.11

  • Support for the batch creation of tasks (i.e. the ability to create multiple tasks in a single API call).

Enhancements in Version 20.8

  • Ability to specify the non-default path for Project Server's PWA URL.
  • Ability to modify timephasedData collection in assignments.

Enhancements in Version 20.6

  • Possibility to render comments when saving as image, HTML or PDF.
  • Option to use username and password to connect Project Online (Server) instead of auth token, incase you don't have it.
  • Ability to add assignments to your project file along with specifying its cost.
  • Quickly adding new tasks to project, when calculation mode is set to automatic.
  • Ability to add project in Microsoft Project Server.
  • Added support of reading shared resource assignments.

Get Started with Aspose.Tasks Cloud SDK for Node.js

Register an account at Aspose Cloud Dashboard to get you application information. Next, execute npm i @asposecloud/aspose-tasks-cloud from the command line to install Aspose.Tasks Cloud SDK for Node.js via NPM.

Convert MS Project MPP to PDF in Node.Js

	// Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required).
	const tasksApi = new TasksApi("MY_CLIENT_ID", "MY_CLIENT_SECRET");

	const request: GetReportPdfRequest = { name: "template.mpp", folder: "documents", storage: "", type: ReportType.Milestones}

	tasksApi.getReportPdf(request)
		.then((result) => {
			// Deal with a result
			console.log(result.response.statusCode);
			console.log(result.body.buffer);
		})
		.catch(function(err) {
			// Deal with an error
			console.log(err.reponse.statusCode);
			console.log(err.body);
		});

Aspose.Tasks Cloud SDKs in Popular Languages

.NET PHP Python Node.js Go
GitHub GitHub GitHub GitHub GitHub
NuGet Composer PIP NPM Go.Dev

Product Page | Documentation | API Reference | Code Samples | Blog | Free Support | Free Trial

aspose-tasks-cloud-node's People

Contributors

babar-raza avatar dependabot[bot] avatar ivanandreychikov avatar rizwanniazigroupdocs avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

lassesteffen

aspose-tasks-cloud-node's Issues

Most of the dependencies are actually devDependencies

Problem

@types/jest and @types/mocha clash with their type definitions. This is usually not a problem since people can decide which one to install. Since I rely on this package I now have @types/mocha in my packages which I didn't need to have there before.

  "devDependencies": {
    "request-debug": "^0.2.0",
    "typescript": "^3.6.3"
  },
  "dependencies": {
    "@types/chai": "^4.2.3",
    "@types/mocha": "^7.0.2",
    "@types/request": "^2.48.3",
    "chai": "^4.2.0",
    "mocha": "^7.1.1",
    "request": "^2.88.0",
    "superagent": "^3.8.3",
    "ts-node": "^8.4.1"
  }

Solution

Since most of the dependencies are actually development dependencies, the dependencies should rather look like this

  "devDependencies": {
    "@types/chai": "^4.2.3",
    "@types/mocha": "^7.0.2",
    "@types/request": "^2.48.3",
    "chai": "^4.2.0",
    "mocha": "^7.1.1",
    "request-debug": "^0.2.0",
    "ts-node": "^8.4.1",
    "typescript": "^3.6.3"
  },
  "dependencies": {
    "request": "^2.88.0",
    "superagent": "^3.8.3"
  }

request and superagent are the only production packages and should stay where they are

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.