OrangeScape Developer Community

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

Anbarasan's Blog (45)

User Management => Edit User => Cancel Draft / Cancel throws error

In few of the recently created applications, in User Management, when you want to cancel your changes when editing the user details, On clicking "Cancel Draft" or "Cancel" button, the application throws error.




This is caused due to a problem in the action definition in User Model.  To solve this problem.

  1. Launch your application in the studio
  2. Open the User Model.
  3. Go to Actions Tab.
  4. Open…

Added by Anbarasan on May 28, 2013 at 5:00pm — 2 Comments

enabling Logo change

After an application is deployed for the first time an environment, and when the first user logs in to the application, he will be presented with an option to upload the logo. You can either a logo at this point, or leave it.

For newly created applications, you can change the logo by going to the settings under Manage This Application.  But for the older applications (created before March 1st 2012), If you leave it, you will never be able to modify the logo directly from the…


Added by Anbarasan on March 2, 2012 at 12:28pm — No Comments

Filters & index errors in Google App Engine

    We can use the “Filter Data” functionality in the Process Design to enable end users to filter the data in their queues. There are different operators available to define your filters. When using with Google App Engine [GAE], there are certain limitations which limit us from defining these filters.

    Let us see how Google App Engine [GAE] executes queries. From the GAE…


Added by Anbarasan on February 27, 2012 at 6:31pm — 1 Comment

Theming your applications - Template Layout

Every page that is being rendered in the application consists of the following…


Added by Anbarasan on December 21, 2011 at 10:30pm — 1 Comment

Error on accessing RoleSubscription, RoleUsers status from worktop...

In the newly created application, when logging in as admin user, there will be a few items in the worktop.

 If you click on the number across Role Users, you will get an error similar to this.…


Added by Anbarasan on December 5, 2011 at 3:01pm — No Comments

Adding / Changing Application Owner

In OrangeScape certain functions related to applications can only be done by application owner.  Till this point, the person who created the application was the owner of the application.  Now you can have more than one owner.  Which means you can change the ownership of the application to another person.   Adding another owner is very similar to adding developers to your application.



Added by Anbarasan on November 8, 2011 at 2:26pm — 1 Comment

[DimensioN 2.4] Studio Fix for slow server startup

This fix solves the problem explained in this blog.  

  1. Take a backup of the hce.jar file which you find in the studio folder {..\DimensionStudio\eclipse\plugins\com.orangescape.dimension}
  2. Place the hce.jar file inside the "In" folder
  3. Run patch.bat
  4. Replace the original hce.jar file with the new hce.jar file that will be inside the…

Added by Anbarasan on June 15, 2011 at 3:49pm — No Comments

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…


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?!! 


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


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…

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 :



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…


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…


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...…


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…


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…

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…

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

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.





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…

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.…

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

© 2018   Created by OrangeScape Technologies.   Powered by

Badges  |  Report an Issue  |  Terms of Service