Skip to content
REFERENCE

U.ALLOW_PUBLISH

Summary

Manually sets internal flag that allows the publication of topics protected by the strong form of U.PUB_AND_PASTE. Method is immediately replaced with a message after a single call

Syntax

=U.ALLOW_PUBLISH(topic, [metadata], [block])

Parameters

Parameter Required Description
topic Yes The full topic whose publish protection should be removed. If set to special value of TRUE, then method returns ALLOW_FAST_RESPONSE metadata that allows publishes to succeed even if immediately after a receive
[metadata] No Additional metadata to be applied to report being published; can be selected from multiple ranges. If specified this metadata is combined with the ALLOW_FAST_RESPONSE metadata into a single list of metadata entries; only relevant if first parameter is TRUE
[block] No If set to TRUE then method will not be calculated unless triggered by user interaction or calculated as a step in a script; If set to a number then will be throttled to not calculate more frequently than the specified number of seconds; make number negative to prevent auto recalc of blocked methods

Behavior

The documented public interface is supported by the current U Add-in source signature and the maintained Usage Examples workbook. Optional parameters are shown in square brackets in the syntax above; omit the brackets when entering a formula.

Return Value

Returns the function result or action status described by the formula and parameters above. The maintained sources do not define a narrower, stable return contract for this function.

Examples

=U.ALLOW_PUBLISH(C141)
=U.ALLOW_PUBLISH(TRUE)

Notes

  • Formula examples are preserved from maintained workbook usage and normalized to the current U. prefix.
  • Complete formulas demonstrate working patterns; they do not imply that undocumented option values are supported.
  • Where maintained sources do not specify every accepted value, default, or error message, this page does not infer one.
  • For functions that perform actions, use a visible trigger or supported block/throttle parameter to avoid unintended repetition during recalculation.