Creating Query and HTML Openbravo workspace widgets
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Creating Query and HTML Openbravo workspace widgets

on

  • 45,334 views

2nd volume of instructions on how to create Openbravo Workspace Widgets that are part of Openbravo 3.

2nd volume of instructions on how to create Openbravo Workspace Widgets that are part of Openbravo 3.

Statistics

Views

Total Views
45,334
Views on SlideShare
19,788
Embed Views
25,546

Actions

Likes
0
Downloads
64
Comments
0

888 Embeds 25,546

http://localhost 4727
http://antares.corvuscygnus.com 1011
http://23.21.249.244 905
http://visatactest.precognis.com 760
http://ferrer-dalmau.saasandgo.com 625
http://visatac3.precognis.com 513
http://54.204.37.231 487
http://ob.bartoliniinc.com 429
http://192.168.1.101 421
http://10.1.250.125 381
http://107.20.220.103 372
http://puninarmse.openbravo 354
http://54.227.244.18 351
http://torus.renturduniya.com 350
http://ob.myhealthpharmacy.in 349
http://static.slidesharecdn.com 332
http://openbravo2.semovim-martigues.com 310
http://192.168.1.7 293
http://192.168.100.2 291
http://openbravo.tesicnor.com 269
http://localhost:8080 257
http://182.18.185.227 242
http://ec2-54-221-251-47.compute-1.amazonaws.com 226
http://10.0.2.3 220
http://107.21.202.181 219
http://www.yvaga.com.py 206
http://erp.qhtpl.com 179
http://aws-prism.pispl.in 176
http://54.194.163.98 174
http://192.168.0.215 174
http://sangku-obtest.cloudapp.net 164
http://ob 162
http://54.243.237.101 161
http://demo.openbravo.com 157
http://192.168.1.133 143
http://demo-eu1.openbravo.com 140
http://ob.bathroomwarehouse.com.au 138
http://20.20.20.36 128
http://optob3.hopto.org 127
http://cartus.xmarts.net 122
http://depique.no-ip.org 122
http://localhost:9292 122
http://66.119.172.244 121
http://192.168.145.145 121
http://192.168.0.20 118
http://ec2-50-19-162-74.compute-1.amazonaws.com 117
http://10.0.0.121 116
http://192.168.100.3 111
http://189.204.41.18 108
http://demo2.openbravo.com 104
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Creating Query and HTML Openbravo workspace widgets Presentation Transcript

  • 1. Spotlight on Openbravo 3.0
    Creating Openbravo HTML and Query Workspace WidgetsStep by Step
    Rob Goris
    User Experience Architect
    Openbravo
    January 2011
  • 2. What is this guide about?This guide will show you how to create HTML and Query Openbravo Workspace Widget sBefore you startMake sure you have done the followingRun Openbravo 3.0 – RC3 (or higher, RC4 is due for mid February 2011). See release notes [1] on how to download and install the RC3 distribution.Be logged on as System Administrator.[1] http://wiki.openbravo.com/wiki/ERP/3.0/Release_Notes/3.0RC3
  • 3. This is what we are going to do(1) Create a Facebook HTML widget on user level. This is nothing more than just adding a widget and pasting HTML code. (2) Learn how Query widgets are defined(3) Learn how to create your own Query widget
  • 4. Creating a Facebook HTML widget on user levelIn this example we´re using a test server with RC4 that alreadyincludes a HTML widget.If you´re using RC3, you can install the HTML widget by downloading the module http://forge.openbravo.com/centralRepository?navigate=ModuleTab&projectId=947For your convenience, here is the Facebook html code:<iframe id="remote_iframe_135" name="remote_iframe_135" style="border:0;padding:0;margin:0;width:100%;height:300px;overflow:auto" frameborder="0" scrolling="auto" onload="_ifr_ol(this)" src="http://facebookiggadget.appspot.com/?lang=en&amp;country=us&amp;.lang=en&amp;.country=us&amp;synd=ig&amp;mid=135&amp;ifpctok=-3919049805214375051&amp;exp_rpc_js=1&amp;exp_track_js=1&amp;exp_ids=17259&amp;parent=http://www.google.com&amp;libs=7ndonz73vUA/lib/liberror_tracker.js,iHKb-4mKuMY/lib/librpc.js,ebbdPN3h-1s/lib/libcore.js,a5j4V1JuNVE/lib/libsetprefs.js#up_session=%7B%22uid%22:%22759560595%22,%22session_key%22:%22325dfa8304d8fe1fddea85c5-759560595%22,%22secret%22:%221d47d1e357ea65c54297155981699a94%22,%22expires%22:0,%22access_token%22:%2283101558596%7C325dfa8304d8fe1fddea85c5-759560595%7C_6buUs2EdrOchxFyASN1PFRhrZU%22,%22sig%22:%22fba91ce92c443052ce71b0a0c4b1b866%22%7D&amp;view=home&amp;is_signedin=1"></iframe>
  • 5. (2) Paste html code and Save
    (1) Add the HTML widget to your workspace
  • 6. (3) Facebook widget ready! (You might need to log on to Facebook first if you were not already)
  • 7. Learning how Query widgets are definedIn this example we´re using a test server with RC4 that already includes a number of Query widgets.If you´re using RC3, you can install the Query widgets by downloading the module http://forge.openbravo.com/centralRepository?navigate=ModuleTab&projectId=920
  • 8. (1) Grab an existing Query/List Widget, such as Invoices to Pay
    (2) On the Parameter tab you define parameters such as filters (that the user can edit)
    (3) Go to Query
  • 9. (4) Here you find the HQL Query
    (5) Click the Column tab to view the column definition
  • 10. (5) Here you define which columns to display and how
  • 11. Creating your own Query Widget(1) Create a module. You only need to create one module that can “store” multiple widgets. Make sure the module is in Development mode (tick the checkbox)(2) Create widget- Using the widget superclass Query/List- Define the parameters- Define the HQL query- Define the columns(3) Change to a non-admin role(4) Add the widget to your workspace(5) Click Edit button (pen icon on widget title bar) to change parameter settings
  • 12. Appendix IIRegistering, create and publish widgets as modules
  • 13. Publishing a Widget as a Module (Advanced Users)So you want to share these awesome widgets with the world? For free or...if they are really really good, even for money?You then need register, create and publish them as a module to the Central Repository1) Register your moduleIn the Module tab, press the Register Module button at the bottom of the form. You can use your Forge credentials in the registration popup that follows.2) Create and package a modulehttp://wiki.openbravo.com/wiki/ERP/2.50/Developers_Guide/How_To_Create_and_Package_a_Module3) Publishing moduleshttp://wiki.openbravo.com/wiki/ERP/2.50/Developers_Guide/Concepts/Publishing_Modules