Jump to content

Component: Storage ( Data): Difference between revisions

From Flowcode Help
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable""
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead""
Line 36: Line 36:
{| class="mtx-class-macrotable wikitable"
{| 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%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetKey'''
|-
|-
Line 55: Line 55:
{| class="mtx-class-macrotable wikitable"
{| 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%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetKeyCount'''
|-
|-
Line 69: Line 69:
{| class="mtx-class-macrotable wikitable"
{| 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%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetValue'''
|-
|-
Line 88: Line 88:
{| class="mtx-class-macrotable wikitable"
{| 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%" style="background-color:#D8C9D8; color:#4B008D;" | '''RemoveAll'''
|-
|-
Line 102: Line 102:
{| class="mtx-class-macrotable wikitable"
{| 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%" style="background-color:#D8C9D8; color:#4B008D;" | '''RemoveValue'''
|-
|-
Line 121: Line 121:
{| class="mtx-class-macrotable wikitable"
{| 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%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetValue'''
|-
|-

Revision as of 14:17, 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.