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="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead""
 
(2 intermediate revisions by the same user not shown)
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%" 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 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%" 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 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%" class="mtx-class-macrohead" | '''GetValue'''
|-
|-
| colspan="2" | Retrieves data from this storage collection 
| colspan="2" | Retrieves data from this storage collection 
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%" class="mtx-class-macrohead" | '''RemoveAll'''
|-
|-
| colspan="2" | Removes all data from this storage collection 
| colspan="2" | Removes all data from this storage collection 
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%" class="mtx-class-macrohead" | '''RemoveValue'''
|-
|-
| colspan="2" | Removes data from this storage collection 
| colspan="2" | Removes data from this storage collection 
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%" 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 146: Line 146:
{| class="mtx-class-macrotable wikitable"
{| 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.