ba Scripting Documentation : StoreLink App
Comprehensive guide to ba scripting for StoreLink Mobile app.
Introduction
This documentation provides a detailed guide on how to script and automate tasks within our software application. You'll find information on installation, usage examples, API references, and more.
Overview of Syntax
Each line uses the following format:
set VariableName = "Value";
VariableName represents the name of the variable being set, and Value is the assigned value enclosed in quotes. A semicolon (;
) ends each statement.
Variable Reference
To start scripting with our software app, follow these installation steps:
Variable | Description | Example Value |
---|---|---|
Product |
Represents the product identifier. This can be any unique numeric code that represents a specific item. | "1728988482" |
Price |
Specifies the product's price in currency units, formatted as a string with two decimal places. | "101.00" |
Place |
Represents the location or store identifier where the product is available. | "987654321" |
Promo |
Defines a promotional asset or link associated with the product, typically a URL to an image or promotional file. | "67012c8832213/promo.png?1730373688671" |
Ensure you have registered into StoreLink Server installed to run the above command in the Network (step 3).
Example Usage
Here is an example that illustrates how to use the syntax:
set Product = "1728988482";
set Price = "101.00";
set Place = "987654321";
set Promo = "67012c8832213/promo.png?1730373688671";
This assigns specific values to each variable, making them available for further operations in your application.
Notes
- Each
set
command must end with a semicolon (;
). - Values are case-sensitive and must be enclosed in double quotes (
" "
). - Ensure that all values, especially URLs, are properly formatted to avoid errors.