OrangeScape Developer Community

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

Santhosh Mahizhan's Blog (12)

Using Mail Command in Action Perspective

Steps on how to configure and use Email using mail command in Action perspective

  1. Go to Actions in Studio
  2. Click on Insert Action and Click on Insert Command to Insert Mail Command
  3. Select Mail Command and on your right select properties tab to enter mail properties
  4. Default Mail Properties like To , From , CC , BCC, Subject, Body will be available
  5. Mail Properties can be Static / Dynamic based on…

Added by Santhosh Mahizhan on July 24, 2013 at 4:36pm — 1 Comment

Updating Indexes in GAE for your application

Sometimes when using your application with Google App Engine as runtime, you might come across NeedIndexErrors.  You can solve this by manually uploading the requested indexes, by the following procedure.  You can read more about the need for indexes here


1.Google App Engine SDK (…


Added by Santhosh Mahizhan on February 24, 2012 at 11:00am — 1 Comment

Undocumented fix for Attachment feature in dimension


Problem : Attachment.jsp not getting refreshed once the attachment is added.( If the user wants to know the no of attachment's for the record in editor view )

Solution : The attachement.jsp has a function called closeWindow() which calls the save button.

Write a function called closeWindow() inside <script></script> :-

Open the file attachment.jsp and paste the below lines above </script> tag… Continue

Added by Santhosh Mahizhan on October 28, 2009 at 2:30pm — No Comments

How to run two Dimension Servers in the same machine

Please do the following to run 2 Dimension servers on the same machine

1. Install two dimension servers.

2. In one of the servers do the following:

a. Navigate to < Server Installation Directory>\DimensionServer\server\default\deploy\jbossweb- tomcat50.sar\server.xml

b. Change the port 6666 to an other free port (e.g. 6667)

c. Navigate to < Server Installation Directory>\DimensionServer\server\default\conf

d. Open the… Continue

Added by Santhosh Mahizhan on October 7, 2009 at 6:19pm — No Comments

Phone Number Validation in forms - Using MSSQL Server function PATINDEX

In forms when asking for phone numbers fields,validation is needed in general like they should not enter alphabets.If you are using MSSQL server you can use the function PATINDEX


Returns the starting position of the first occurrence of a pattern in a specified expression, or zeros if the pattern is not found, on all valid text and character data types.

For more information :… Continue

Added by Santhosh Mahizhan on October 1, 2009 at 2:00pm — 2 Comments

Reset the Root Password of MySQL Server in *nix

Login as root to the Unix-like (Unix, Linux or BSD) machine with the MySQL server.

Stop the MySQL server by using either of the following command

#/etc/init.d/mysql stop

Now you need to Start MySQL server without password

# mysqld_safe --skip-grant-tables

Connect to mysql server using mysql client with the following command

# mysql -u root

Now you should be having mysql… Continue

Added by Santhosh Mahizhan on August 6, 2009 at 4:25pm — No Comments

Setting the JVM Heap Sizes in

Find the below lines and change as shown in below example

# Setup JBoss sepecific properties


For example:

# Setup JBoss sepecific properties

JAVA_OPTS="$JAVA_OPTS$PROGNAME -Xms256m -Xmx1280m -XX:MaxPermSize=256m"

The above example configuration is for a 2GB RAM 32bit machine.

For more info :…


Added by Santhosh Mahizhan on August 6, 2009 at 3:27pm — No Comments

Error while shutting down server in *nix


When stopping the server using throws the exception

Exception in thread "main" javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099

[Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099


just give the ip address after -s in file as shown below.

For eg :

nohup… Continue

Added by Santhosh Mahizhan on August 6, 2009 at 2:08pm — No Comments

MySql case sensitivity problem in *nix systems.

In *nix systems,

select USER_NAME from USER;

is different from

select user_name from user;

It is so because tables and databases are represented as files (filenames are used as identifiers).

If you have trouble remembering the allowable lettercase for database and table names, it is best to adopt a consistent convention, such as always creating and referring to databases and tables using lowercase names. This convention is recommended for maximum portability and… Continue

Added by Santhosh Mahizhan on August 5, 2009 at 6:24pm — No Comments

To Enable SSL in DimensioN.

To Enable SSL in DimensioN.

For development

Step 1: keytool -genkey -alias [alias name] -keypass [password] -keyalg RSA -keystore [keystore name]

to get ssl certificate from issuing authorities.

Perform the steps to generate the key , CSR and install SSL certificate. (ref:1)

STEP 1 : keytool -genkey -keyalg RSA - alias [alias name] -keystore [keystore name] (use the password same as alias.)

STEP 2 :… Continue

Added by Santhosh Mahizhan on April 24, 2009 at 11:00am — No Comments

Error in formula fields (com.orangescape.hce.customformula...)


We will get the error like "=com.orangescape.hce.customformula.getObjectIndex()" in almost all the formula fields like objectindex(),currentuser()...

Cause :

The above error occur when we copy or move the studio from one location to another.For eg from drive c: to d: or when JAVA_HOME has been set to jre instead to jdk


Set JAVA_HOME pointing to JDK

Added by Santhosh Mahizhan on March 30, 2009 at 6:08pm — No Comments

Installation of DimensioN server for SQL Server 2008

In Database configuration Screen we need to select MSSQL.

Use the following values for url and driver .

For URL : jdbc:sqlserver://localhost:1433;DatabaseName=dimension;currentSchema=dbo;

For Driver :

Rest of the steps are same as you do for normal installation.

Note : You can use the existing driver support MS SQL 2005

Added by Santhosh Mahizhan on March 30, 2009 at 6:07pm — 1 Comment

© 2018   Created by OrangeScape Technologies.   Powered by

Badges  |  Report an Issue  |  Terms of Service