Difference between revisions of "Component: Storage ( Data)"

From Flowcode Help
Jump to navigationJump to search
(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;...")
 
 
Line 28: Line 28:
  
 
''<span style="color:red;">No additional examples</span>''
 
''<span style="color:red;">No additional examples</span>''
 +
 +
  
 
==Macro reference==
 
==Macro reference==

Latest revision as of 15:07, 5 December 2023

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

Fc9-comp-macro.png GetKey
Returns the name of the nth data item stored in this storage collection 
Fc9-s32-icon.png - LONG Index
 
Fc9-string-icon.png - STRING Return


GetKeyCount

Fc9-comp-macro.png GetKeyCount
Returns the number of data items stored in this storage collection 
Fc9-s32-icon.png - LONG Return


GetValue

Fc9-comp-macro.png GetValue
Retrieves data from this storage collection 
Fc9-string-icon.png - STRING Key
The name of this storage item 
Fc9-string-icon.png - STRING Return


RemoveAll

Fc9-comp-macro.png RemoveAll
Removes all data from this storage collection 
Fc9-void-icon.png - VOID Return


RemoveValue

Fc9-comp-macro.png RemoveValue
Removes data from this storage collection 
Fc9-string-icon.png - STRING Key
The name of this storage item 
Fc9-void-icon.png - VOID Return


SetValue

Fc9-comp-macro.png SetValue
Adds data to this storage collection or updates its value if it already exists 
Fc9-string-icon.png - STRING Key
The name of this storage item 
Fc9-string-icon.png - STRING Value
The value for this storage item 
Fc9-void-icon.png - VOID Return


Property reference

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