Jump to content

Component: Storage ( Data): Difference between revisions

From Flowcode Help
Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | MatrixTSL |- | width="20%" style="color:gray;" | Version | 0.1 |- | width="20%" style="color:gray;..."
 
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead""
 
(4 intermediate revisions by 2 users not shown)
Line 28: Line 28:


''<span style="color:red;">No additional examples</span>''
''<span style="color:red;">No additional examples</span>''


==Macro reference==
==Macro reference==


===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&nbsp;
| colspan="2" | Returns the name of the nth data item stored in this storage collection&nbsp;
Line 51: 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&nbsp;
| colspan="2" | Returns the number of data items stored in this storage collection&nbsp;
Line 65: 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&nbsp;
| colspan="2" | Retrieves data from this storage collection&nbsp;
Line 84: 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&nbsp;
| colspan="2" | Removes all data from this storage collection&nbsp;
Line 98: 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&nbsp;
| colspan="2" | Removes data from this storage collection&nbsp;
Line 117: 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&nbsp;
| colspan="2" | Adds data to this storage collection or updates its value if it already exists&nbsp;
Line 142: 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.