Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Development
  1. OpenProject
  2. Forums
  3. Development
  4. Developing a plugin wich use/override openproject files/actions

Developing a plugin wich use/override openproject files/actions

Added by Fernando Almeida over 9 years ago

Hi, i’m new in this tool/forum.
I’m using openproject locally to study purposes. But i have to develop a plugin for do measuring, analysis of tasks(work packages) and stuffs like this.

I will need to create new fields in tasks and save this data in database. I believe i have to override some actions too.
Already try to search something in forum, but no helps to me. I learned to modify Gemfile and sucessfully added a auth_plugin, just for testing.
If someone could help me or tell me how to start this, i’ll be thankful.


Replies (3)

RE: Developing a plugin wich use/override openproject files/actions - Added by Robin Wagner over 9 years ago

Hi Fernando,

welcome to the OpenProject community!

I will need to create new fields in tasks and save this data in database.

You can add additional attributes to work packages types (e.g. tasks) by using custom fields. These provide an easy way to add attributes without having to make any changes to the code.
You can find additional information on custom fields in the user guide.

If you plan to create an OpenProject plugin, you can take a look at these instructions.
We also have some information on code contributions.

Best,
Robin

RE: Developing a plugin wich use/override openproject files/actions - Added by Fernando Almeida over 9 years ago

Hi Robin, i appreciate the answer. I’ll ready more about custom fields and developing plugins to OpenProject.
Thanks again. IF someone have something do explin, i’ll be thankful.

RE: Developing a plugin wich use/override openproject files/actions - Added by Fernando Almeida about 9 years ago

I created a plugin, and add it to openproject plugins list. I readr too how to create and use custom fields, so useful until now.

My question now is: How to override some actions, like… when i want to save an task, for example, i want to do something, like calculate some fields, or create a new column and save a value there….

Someone can help me? Any other project that can do something like this? Thank you all!

  • (1 - 3/3)
Loading...