Skip to content

Commit

Permalink
Update index.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
NunziaM committed Apr 30, 2019
1 parent d84fc73 commit 7184f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functionalities-guide/advanced-data-access/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ Typically, scripts are configured to load placeholders with a slice of SQL code.

Setting placeholder using script.

Moving to the "Script" tab, instead the user has to communicate with the server on how to interpret that placeholder .The following picture shows a JS block code where the user first initializes a variable as empty: if certain conditions, on one or more parameters, are satisfied, the variable is assigned an SQL code string. Then, the JS method ".replace" will substitute the placehoder with the content the variable.
Moving to the "Script" tab instead, the user has to declare how the server has to manage the placeholder. The following picture shows a JS block code where the user first initializes a variable as empty: if certain conditions, on one or more parameters, are satisfied, the variable is assigned an SQL code string. Then, the JS method ".replace" will substitute the placehoder with the content the variable.

.. figure:: media/image040.png

Expand Down

0 comments on commit 7184f58

Please sign in to comment.