Jump to content

Component: Storage ( Data): Difference between revisions

From Flowcode Help
No edit summary
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead""
 
(3 intermediate revisions by the same user not shown)
Line 34: Line 34:


===GetKey===
===GetKey===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetKey'''
| width="90%" class="mtx-class-macrohead" | '''GetKey'''
|-
|-
| colspan="2" | Returns the name of the nth data item stored in this storage collection 
| colspan="2" | Returns the name of the nth data item stored in this storage collection 
Line 53: Line 53:


===GetKeyCount===
===GetKeyCount===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetKeyCount'''
| width="90%" class="mtx-class-macrohead" | '''GetKeyCount'''
|-
|-
| colspan="2" | Returns the number of data items stored in this storage collection 
| colspan="2" | Returns the number of data items stored in this storage collection 
Line 67: Line 67:


===GetValue===
===GetValue===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetValue'''
| width="90%" class="mtx-class-macrohead" | '''GetValue'''
|-
|-
| colspan="2" | Retrieves data from this storage collection 
| colspan="2" | Retrieves data from this storage collection 
Line 86: Line 86:


===RemoveAll===
===RemoveAll===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RemoveAll'''
| width="90%" class="mtx-class-macrohead" | '''RemoveAll'''
|-
|-
| colspan="2" | Removes all data from this storage collection 
| colspan="2" | Removes all data from this storage collection 
Line 100: Line 100:


===RemoveValue===
===RemoveValue===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RemoveValue'''
| width="90%" class="mtx-class-macrohead" | '''RemoveValue'''
|-
|-
| colspan="2" | Removes data from this storage collection 
| colspan="2" | Removes data from this storage collection 
Line 119: Line 119:


===SetValue===
===SetValue===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetValue'''
| width="90%" class="mtx-class-macrohead" | '''SetValue'''
|-
|-
| colspan="2" | Adds data to this storage collection or updates its value if it already exists 
| colspan="2" | Adds data to this storage collection or updates its value if it already exists 
Line 144: Line 144:
==Property reference==
==Property reference==


{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
| width="90%" class="mtx-class-macrohead" | '''Properties'''  
|-
|-
|-
|-

Latest revision as of 14:23, 13 July 2026

Author MatrixTSL
Version 0.1
Category Data


Storage component

Component to allow data storage using session variables.

Component Source Code

Please click here to download the component source project: FC_Comp_Source_WEBEXP_Storage.fcsx

Please click here to view the component source code (Beta): FC_Comp_Source_WEBEXP_Storage.fcsx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Macro reference

GetKey

GetKey
Returns the name of the nth data item stored in this storage collection 
- LONG Index
 
- STRING Return


GetKeyCount

GetKeyCount
Returns the number of data items stored in this storage collection 
- LONG Return


GetValue

GetValue
Retrieves data from this storage collection 
- STRING Key
The name of this storage item 
- STRING Return


RemoveAll

RemoveAll
Removes all data from this storage collection 
- VOID Return


RemoveValue

RemoveValue
Removes data from this storage collection 
- STRING Key
The name of this storage item 
- VOID Return


SetValue

SetValue
Adds data to this storage collection or updates its value if it already exists 
- STRING Key
The name of this storage item 
- STRING Value
The value for this storage item 
- VOID Return


Property reference

Properties
Persistence
Flag to store these variables permanently or just until the browser is closed 
Visibility
Local scope ensures values are available in this project only. If set to Global, other projects can access and alter the values.