Skip to main content

Configuration Tools

Overview​

Configurations store typed, cacheable key/value settings that logic reads at runtime. Logic Assist supports searching, listing, reading, creating, and updating Configuration records. Requires Logic Composer.

CacheEntryStrategy values:

ValueMeaning
VolatileThe data can change at any time
EphemeralThe data is stored for a short duration, as specified by its time-to-live (TTL)
ConstantThe value never changes and can be cached indefinitely

The type parameter is a .NET TypeCode describing the data type of the configuration value (e.g. String, Int32, Boolean, Decimal, DateTime), and timeToLive is expressed in minutes.


search_configuration​

Searches Logic Fabric configurations by name.

ParameterTypeRequiredDescription
configurationNamestring✓The name of the configuration to search for.

Returns: Matching Configurations including name, title, description, and project.


list_configurations​

Lists all Logic Fabric configurations.

ParameterTypeRequiredDescription
projectIdGUIDThe ID of the project to filter configurations by. Optional.
pageNumberintThe page number for pagination. If not provided, defaults to the first page. Optional.
pagingCookiestringThe paging cookie for pagination. This should be provided if pageNumber is provided and there are more records to retrieve. Optional.

Returns: A paginated list of Configurations including name, title, description, and project.

See Pagination for details on iterating through large result sets.


get_configuration_details​

Gets the details for a Logic Fabric configuration by configuration id.

ParameterTypeRequiredDescription
configurationIdGUID✓The ID of the configuration.

Returns: Full Configuration details including name, value, type, cache strategy, time-to-live, title, description, and project.


get_configuration_preview_url​

Get a preview URL for a Logic Fabric configuration.

ParameterTypeRequiredDescription
configurationNamestring✓The name of the configuration.
projectIdGUID✓The ID of the project for the configuration.
valuestring✓The value for the configuration.
cacheEntryStrategyCacheEntryStrategy✓The cache entry strategy for the configuration.
timeToLiveint✓The time to live for the configuration cache entry in minutes.
titlestringThe title for the configuration. Optional.
descriptionstringThe description for the configuration. Optional.

Returns: A preview URL for the configuration record.


create_configuration​

Creates a new Logic Fabric configuration and returns the configuration id.

ParameterTypeRequiredDescription
configurationNamestring✓The name of the configuration to create.
projectIdGUID✓The ID of the project to create the configuration in.
typeTypeCode✓The type of the configuration value.
valuestring✓The value for the configuration.
cacheEntryStrategyCacheEntryStrategy✓The cache entry strategy for the configuration.
timeToLiveint✓The time to live for the configuration cache entry in minutes.
titlestringThe title for the configuration. Optional.
descriptionstringThe description for the configuration. Optional.

Returns: The GUID of the newly created Configuration and its URL.

Restriction: Cannot be called on projects associated with a managed solution. See Managed Solution Protection.


update_configuration_value​

Updates a Logic Fabric configuration value.

ParameterTypeRequiredDescription
configurationIdGUID✓The ID of the configuration to update.
valuestring✓The new value for the configuration.

Returns: Confirmation that the configuration value was updated.

Restriction: Cannot be called on projects associated with a managed solution. See Managed Solution Protection.

Best practice: Always call get_configuration_details first to read the current value and settings before updating.