FYI: Scriptcase - new blog entry: Using the sc_redir and sc_apl_conf macros

It is good to see Scriptcase writing about Scriptcase tools and techniques in their blog.

New blog entry by Carlos Lacerda:
http://scriptcase.net/blog/using-the…l_conf-macros/

The blog is useful. However, I don’t understand the words in bold in this sentence:

we have to configure the receipt of the redirect parameter on the grid, on the “SQL” option on Scriptcase, and we will do a where and declare the variable with the redir made on the form, which was transformed into a global variable.

which was transformed into a global variable: how and where?

If I’m not mistaken, it has turned into a global variable because of the use of [] in its name (as you can see in the next image after that paragraph):

[ATTACH=CONFIG]n70136[/ATTACH]

img2.png

[] … OIC, thanks.

It’s OK. When you use sc_redir, second parameter is the parameters send to the destination application, and you can access to it with the nomenclature of sc global variables. (between brackets). Normally, globals are stored in session, to be accessible from the different events and Ajax requests. Using this nomenclature is a transparent way to use this values because are managed by SC objects