AnsweredAssumed Answered

Completely Lost - Creating a Distributable  Plugin That Uses Our API

Question asked by newsomjk newsomjk on Mar 18, 2015
Latest reply on Mar 19, 2015 by Jeff Bickart
I'm having a hell of a time figuring out how to make (what I think is) a simple module for SugarCRM 6.5.2 considering there seems to be no real documentation.

My goal is to make a plugin for distribution that is easy to install (so preferably NO edits to any other module's code) that:
- has no fields in the database
- has 2 drop downs where the options are generated from calls to OUR api
- generates & displays a piece of data based on those 2 drop downs
- displays as a subpanel when viewing an account (or company, not decided yet)
- possibly pulls a bit of information from the account (such as address) being viewed to pre-determine the dropdown. 

I've used the module builder to setup a basic module, and gave it the 3 fields (one for each drop down and one for the generated value). But I have not been able to figure out how / where to set those dropdowns to our API data. I also have not been able to figure out how to display the module not as an edit & save type of panel but just a panel to display extra information.

Can someone give some kind of explanation that saves me from another week of misery trying to figure out Sugar? Is this even doable?! I'm losing my mind. 

Outcomes