engine_files_add
Attach local files to Melbis Shop store elements by providing entity, element ID, and file path. Handles storage, naming, and folder assignment automatically.
Instructions
Attach local files to store elements. entity is the element table (store, info, info_value, brand, topic, key_value, lang, field, advert_text, order_option, order_option_value, web_key, web_key_value), elem_id the row that owns the file, file a local path. kind_key defaults to kBase and is checked against the key_value registry. The engine does the rest: id, name, folder, row. Big lists are sent in several packs by the MaxFileSize of Shop.ini.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes |