Export Code Type:
Export Code Scope of Action:
Export Code First Added:
Export Code in Current Baseline:
Export Code Altered Since Baseline:
Data Include [other codes of this type]
Item [codes with similar scope]
v1.0.0
Baseline
As at baseline
^randomChildOf( item, template )^
Includes an export of a random child of the specified item or note through its default/specified template.
Internally, the randomChild item object may be used, for unevaluated text (i.e. no inline ^code evaluation). For example:
^value($ID(randomChild))^
In this example the retrieved $ID would then be used as a the target itim in an ^include()^. The ^randomChildOf^ abstracts this into a singe code