To customize the business rules of a system is required that the developer, in Scriptcase’s events, enter their own code using PHP language. Scriptcase allows some of the resources allocated to applications such as data fields, labels, language and types global variables to be available so this way the developer can manipulate them in the best that meets their needs, among these the most important features are:

Fields Variable:
In the form, grid and control applications the fields of those applications are available and accessible to the developer. To access the content of the fields make it necessary to inform the field name into curly brackets.

Example: {ClientName} = Steve Jobs;

Language variables :
These variables are commonly used by the data dictionary to create more friendly labels and in the translation Scriptcase system when there is a message or label with different translations for each languages, to access the contents of these variables is necessary to use the variable name in curly brackets.

Example : sc_error_message({lang_error_login)};

NOTE: Please note that all language variables begin with the word “lang”

Global variables:
These variables once initiated are available to any application on Scriptcase, it is more used to pass parameters from one application to another.

Example: [var_login] = {login};

Learn more about this and other features that Scripcase offers. Do you already know Scriptcase? Download the free version of our tool and discover a world of new possibilities.

Check out more content on our blog!
Learn all about Scriptcase.

By ,

May 20, 2014

a

You might also like…

October Newsletter

Follow the latest news for the month of October! Webinars, blog posts, videos, and more. WEB...

API: What is it? Which ones are available on Scriptcase?

Understand everything about what an API is, what they are for, and examples of APIs already integra...

6 Advantages of Developing Custom Software

At some point in your life, you may have faced the following question: which is more advantageous f...

You might also like…

Get new posts, resources, offers and more each week.

We will use the information you provide to update you about our Newsletter and Special Offers. You can unsubscribe any time you want by clinck in a link in the footer of any email you receive from us, or by contacting us at sales@scriptcase.net. Learn more about our Privacy Police.