Today we are going to show how to create a simple library on Scriptcase and how to call it on Scriptcase applications

1º To create an simple library go to: Configuration –> Libraries

 

 

2º In this first window you should select what level you want to create/upload your library.

 

 

3º You can upload a file with your script or create a new one.

Click in New.

 

4º Type the name for the new simple library, an description and put your code.

 

In this example we will check if some field is empty.

 

 

5º Now you have to enable the library to be used in your app.

Do it in: FORM–>PROGRAMMING–>LIBRARIES

 

 

6º In the event ONVALIDATE of the form we will call the function create in our library.

 

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

Read more about External libraries in our documentation:

In this article, you learn how to use the External Library. This feature allows us to import complete libraries and create files of any extension (.JS, .CSS, .PHP…) to use in your projects, making it easier to reuse some of the source code and to bring external codes libraries to implement features to your applications.

You can find this option within the menu Tools > External Libraries, where you can manage the libraries of your project.[…]

Read more about Internal libraries in our documentation:

This tool allows to create or upload PHP routines that can be reused in various applications of the project or other projects, depending on the level of access that they were saved.

There are three types of access levels that can be used.

  • User – Only for the user that created the script will have access.
  • Project – All the users linked to the project will have access to the script.
  • Public – All the users from ScriptCase will have access to the script.

By ,

May 15, 2014

a

You might also like…

9 Web Development and IT Trends for 2022

Check out in this article nine important web development and IT trends you should keep an eye on in...

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

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.