Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Application Server

RemoveEmbeddedContent()

  • Last UpdatedDec 04, 2025
  • 1 minute read

Closes the matching content item within a graphic in a AVEVA OMI ViewApp, if placed in the graphic using the EmbedContent() function. Multiple content items can be closed if they match the parameters that are specified in the RemoveEmbeddedContent() call.

To close the content item(s) with RemoveEmbeddedContent() function, pass in the identity or identities of the content to be closed.

Note: While the RemoveEmbeddedContent() function is available in object scripts through both IntelliSense and the IDE function browser, its use in object scripts is not supported.

Category

Graphic Client

Syntax

RemoveEmbeddedContent(string identity);

Parameter

Identity

Description

The unique name of the embedded content. It is unique across the entire OMI application at runtime.

Each Identity name cannot contain more than 329 characters and must contain at least one letter. Valid characters are alphanumeric and special characters ($, #, _).

For more information, see "Working with the Show/Hide Graphics Script Functions" in the Industrial Graphic Editor User Guide.

Example

RemoveEmbeddedContent("i1");

Where "i1" is the string Identity.

See also

EmbedContent()

HideContent()

In This Topic
TitleResults for “How to create a CRG?”Also Available in