OrangeScape Developer Community

A community for Application Developers on OrangeScape's Platform-as-a-Service

All Blog Posts (134)

Exposing Orangescape via Web service

We’ve seen how to access external resources via web services from Orangescape. You can read about it here and here.  Sometimes you might want to do the reverse, access Orangescape from external applications.  You can do the same with web services.  



By Default everything in Orangescape is exposed as web service.  Orangescape exposes as both SOAP based and REST web service.  Here we will see how to go about with SOAP based.



To get the WSDL for a particular model, the…

Continue

Added by Anbarasan on May 17, 2011 at 4:05pm — 5 Comments

Theming your applications - Customizing Menus

So, you have created your application, applied Themes, the look and feel is cool.  But, that menu, why is there in the Horizontal, weren’t you thinking of keeping it in the Left hand side of the screen, one below the other?!  or, how about having something like the Windows Explorer, where the folders are listed as a tree.  or, Wait, how about an application without menus?!! 



Menus!

In Orangescape, the menu data is constructed in the usual way of Un-ordered…

Continue

Added by Anbarasan on April 14, 2011 at 10:56am — 1 Comment

Model ReportPreference is not present

If you had created an application before April 1st 2011, When Creating reports using the Report feature in Studio, after deployment, in Runtime, you might face an ERROR stating "Model ReportPreference is not present". Applications created after April 1st 2011 will not face this problem

 

This is because, one of the new System Models ReportPreference is not present.  To solve this problem,.

  • Create a New Model and name it…
Continue

Added by Anbarasan on April 12, 2011 at 12:39pm — 1 Comment

System Models

By Default when you create an application, a set of models will be created and placed under the System folder.  Each model has its own functions and use in the application.  The models which will be there in the system folder are :

 …

Continue

Added by Anbarasan on April 4, 2011 at 4:23pm — 1 Comment

Using Function inside Function

Sometimes when you write rules, it so happens that the condition, and what to do next are all calculated terms.  Let's Consider this example.

=IF( FIND(A2,B2) > 0 , DSEARCH(User.UserID=F3) , DSEARCH(User.useraccounts<F2) )

This is a basic IF rule.  

Let's Say FIND(A2,B2) = 9, means the condition returns TRUE, so if true DSEARCH(User.UserID=F3) will be executed.

 

Now what will happen if F2 Changes.  This IF rule will be re-evaluated, eventhough the…

Continue

Added by Anbarasan on March 29, 2011 at 1:53pm — 1 Comment

Theming your applications - Migrating from Mako to Cheetah

With the next build, the template engine in OrangeScape is being changed from MAKO to Cheetah.  You can read more about that here.  



This change will affect those who have made changes to the default theme, to suit to their needs.  We’ll be listing down the changes to be made to make your theme work with the new build release.  This is only for the default make code used in the…

Continue

Added by Anbarasan on March 22, 2011 at 6:30pm — 1 Comment

Theming your applications - Server Side API

Template Engines are used to process web templates and content information to produce web pages, documents...

OrangeScape has been using MAKO templates. In your themes you would have used MAKO to get UserName, login / logout urls etc...…

Continue

Added by Anbarasan on March 22, 2011 at 5:00pm — 1 Comment

Delete records along with Worktop count change

Well, well, well, sometimes, in your application you would have to delete your records because you created one request extra, or instead of raising a request in this you raised a request under another category.

If the application is developed in Orangescape,  if you delete a record, the count in the worktop will not go down, it will continue to show the count which was there before the record was deleted.  So how do you delete the records, and also have proper count in…

Continue

Added by Anbarasan on March 10, 2011 at 4:54pm — 1 Comment

Search-Criteria in RCall & ChildCall

Whenever you want to do certain things in another model other than the one you are currently in, you would be using RCall and ChildCall to achieve it.  RCall and ChildCall have a property called Search-Criteria to say on which records to perform the calling action.  


Previously you could write your search-criteria directly in the property field.  From now on you will have to use the CRITERIA() function to provide the search-criteria for these two action…
Continue

Added by Anbarasan on March 2, 2011 at 10:39am — 1 Comment

Configuring Open ID Authentication for your applications

Open ID is an open standard that describes how users can be authenticated in a decentralized manner, obviating the need for services to provide their own ad hoc systems and allowing users to consolidate their digital identities.
- Wikipedia


You all…
Continue

Added by Anbarasan on March 2, 2011 at 10:30am — 1 Comment

Calling an Ant script in OrangeScape

Steps to folllow to call an ant task

1. Stop the server if it is running.
2. Place the attached os-import.war file in the following path: \\jboss-5.1.0.GA\server\default\deploy
3. Place the attached… Continue

Added by Kranti Mamidala on March 1, 2011 at 7:00pm — 4 Comments

Error NeedIndexError: The index for this query is not ready to serve.

Some times after you deploy and access your application and go to a queue you might get a error like this.

 

 

 …

Continue

Added by Anbarasan on January 7, 2011 at 2:15pm — 1 Comment

Hierarchy Output in Webservices



You can integrate with other systems from OrangeScape with webservices.  


Sometimes the output of the webservices may not be direct, instead they might have hierarchy in the structure.  Consider this, we will use the same service…
Continue

Added by Anbarasan on January 7, 2011 at 11:44am — 1 Comment

Syntactic Sugar - DGET()





DGET() is used to fetch the data from any of the named cells in the connected model.
The Syntax for DGET() is as follows.…
Continue

Added by Anbarasan on January 3, 2011 at 5:30pm — 1 Comment

Dynamic language scripting - using Javascript, Python, Ruby scripts with OrangeScape Studio

script.orangescape.com is a new service that lets you build scripts using your favourite dynamic language - Javascript, Python, Ruby and invoke them from OrangeScape applications or from webservice callable applications. Watch this video, and learn to build one!



Go to script.orangescape.com to try it out & let me know your feedback. (This project is…

Continue

Added by Mani Doraisamy on January 3, 2011 at 2:39am — 1 Comment

Queue Filters

Queue's are used to list all records which are there in a particular activity.  Sometimes you may want to filter records based on some conditions (static filters), or may be you want to give the users an option to filter the records in the queue (dynamic filters).  Let's see how to do filters.


In the process design view, after you have defined how the queue should look for a activity, choose the activity and then click on the filter data button.…
Continue

Added by Anbarasan on December 29, 2010 at 2:56pm — 6 Comments

Theming your applications

Previously you had to give your theme changes to us, and had to wait till it was uploaded.  Now you don't have to wait anymore.  Now theming is part of the application workspace.

 

On the Left side menu in application workspace Click on Themes to get to the Theme upload page.…
Continue

Added by Anbarasan on December 27, 2010 at 1:30am — 7 Comments

Google App Engine Billing

If you are using Google App Engine for deployment of your production setup, then based on your application requirements you may need to enable billing in Google App Engine.  
An application without billing enabled is allocated 500 MB of persistent storage and enough CPU and bandwidth for about 5 million page views a month. The Admin Console's Quotas page lists every quota…
Continue

Added by Anbarasan on December 27, 2010 at 1:00am — 1 Comment

Branching in Process.

Business Processes can be of varying types.  


Sometimes the process can be simple straight flow, like, things go from one activity to another.  Or sometimes, it can be based on a condition or a rule, like, if quote amount is greater than 5000 send it to manager approval and then to finance dept, else send it directly to finance dept. Sometimes it can be like Get things approved by any of the managers in the department or something like Get it approved by both manager and…
Continue

Added by Anbarasan on December 27, 2010 at 12:52am — 1 Comment

Consuming Webservices with OrangeScape

It's not always that you will build everything that you need into a single application, or that you application can function stand alone.  Your application may be required to get some sort of data or information from another system in your network / application of another department.  OrangeScape uses web services as a way to integrate with other systems.  Currently only SOAP based web services are supported.…

Continue

Added by Anbarasan on December 21, 2010 at 7:30pm — 7 Comments

Monthly Archives

2013

2012

2011

2010

2009

2008

2007

© 2017   Created by OrangeScape Technologies.   Powered by

Badges  |  Report an Issue  |  Terms of Service