Gantter Extensions – Getting Started
Boa tarde, gostaria de configurar a impressão com as cores e a logo da minha empresa.
É possivel?
obrigado
What is "base de référence"
Qu'est ce que c'est que "Base de référence" ?
you can do that, the program warns the user of the expiration date of the activities by sending a letter on e-mail?
I want to change the date format as day/month/year .
Is it possible?
When I import from Ms Project,
Project start and finish dates are different from Ms Project as you can see in the attachment
I didnt understand the reason?
Hi
How can I change the timeline from weeks to month?
How can I break down the activities?
Could you post a video tutorial on how to make and install an extension?
Quiero relacionar uno de mis proyectos con otro, es decir, Una de las actividades de un proyecto, es otro proyecto, esto se puede hacer?, como se hace?
How can I edit my work to this present year
Have you set your project properties calendar to the start date you desire? You can do this by pressing F8
Hi, how can I change the date ?
Automatic level resources should not take into account completed tasks
como mudar o formato da data para dd/mm/aaaa ?
Cuando agrego el costo en el renglón no me lo registra, Me dice por favor ingresa un número válido. Necesito ayuda, gracias
Exporting as a PDF is as simple as clicking the print icon on the top toolbar.
Jeremy Carr
Overview
Gantter now provides 3rd party developers the ability to extend the functionality of Gantter by building externally hosted extensions. There are three types of extensions currently supported. The first type, which will be referred to as UI-Less Extension, can be used to change the existing project data. The second type, which will be referred to as Popup Extension, sends the data to a 3rd party app and opens that app in a new browser window. The last type is referred to as a Template Extension.
All types of extensions can be added and managed in the same manner. Users can add extensions by selecting the “Extensions” Menu, then selecting the “Manage Extensions…” menu option. The user then needs to type the URL to the extension’s manifest. To make this process even easier, developers of extensions can create a very simple “Add Gantter Extension” link on their own web page which will allow the end user to add the extension without typing the URL. Extensions can also be made “public”. These extensions will automatically show up for all other Gantter.com users via the Public Extensions menu option.
In all types of extensions, the user’s project data will be sent to the 3rd party application. Since the end user might want to keep their project data private, we will display a security warning to the user to inform them that they are about to send their data to another application. The user can choose to not show the warning in the future.
In the case of the UI-Less Extension, the project data is submitted to the 3rd party extension, changed, then reloaded in the Gantter.com UI. These extensions are great when you want to create an extension which will add, edit, delete, or create new tasks or resources.
Template Extensions are a special type of UI-Less Extension that allows for individuals to create custom starting templates. These Extensions will show up in the New From Template dialog.
In the case of the Popup Extension, the project data is submitted to the 3rd party extension in a new browser window. The 3rd party extension can display any UI to the user. The developer can also send the data back to Gantter after the user interacts with it. These extensions are great for creating custom reports and analysis. It is also ideal for integration with other apps.
Details
In order to build an extension, you must first create an extension manifest file. The manifest file is a simple json formated text file which describes your app in a way that Gantter.com can consume it. Here is a sample manifest file:
You can save this file on your web server with any name. We recommend using .json for the file extension.
Manifest Properties
After building your manifest file, you will need to implement the postURL application page. This page will be called via an HTTP POST request. The following FORM variables will be available in the post:
UI-Less Extensions require that the response to the HTTP Post be the updated Project XML. The new XML will be reloaded in the browser.
Popup Extensions can send data back to Gantter.com by creating a HTML form and setting the action to: https://app.gantter.com/UpdateXML.aspx. In the form, have one form variable named “projectXML” and set the value of this variable to the newly updated XML. Upon submit, the form popup browser window (or tab depending on browser) will close and Gantter.com will update.
Installing your extension
There are two ways a user can install extensions. The first way is manually by opening the Manage Extensions dialog in Gantter and typing the URL to the manifest file. The second way is to use the Public Extensions menu dialog.
Sample Applications
We have created two sample extensions for you to try. Both have been made Open Source via GITHUB so that you can clone or fork the code. We encourage the community to continue building upon this model.
https://github.com/gantter/gantter-extension-samples
Sample 1: UI-Less Extension
This sample demonstrates changing the project data. The data is submitted via HTTP POST to the uiless.php code file. The project XML is read from the server POST variable. Using php’s SimpleXML parser, the data is read and updated. In this simple sample, the title of the project is updated. The php code then returns the updated XML back to Gantter by simply sending the xml as the response.
Sample 2: Popup Extension
This sample demonstrates displaying information about the current project in a new window. The data is submitted via HTTP POST to the ui.php code file. The code reads the post variables and displays the values back to the user.
Sample 3: Using Extensions to publish custom templates
This sample illustrates using a Template extension as a way to publish a new project template. Simply create a Gantter project and save the file locally. In the extension manifest, set postURL to the URL where the gantter file is saved. When the user selects the extension from the menu, the template will load. This requires no programming knowledge.
4 people have this question