18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Tags and the Project Database<br />

Using the Tags Toolbar<br />

The Tags toolbar provides a text box and several tools (shortcuts) that enable you to create, locate, and access<br />

different tags, functions, and tag properties.<br />

Global Replace Tool<br />

Tags tools<br />

When clicking on the Global Replace tool from the Tag Properties Toolbar, the following window displays:<br />

Global Replace dialog<br />

From the Global Replace dialog, you can replace any tag(s) from all documents (screens and worksheets) of the<br />

whole project. You can edit both the From and the To column.<br />

When replacing composed tags (array size > 0 and/or Type = Class), you can configure a specific array<br />

position (for example, TagA[1] ) or class member (for example, TagB.MemberX ) or both (for example,<br />

TagC[3].MemberY ). If you configure only the Main Tag Name (for example, TagC ) in the From column, all tags<br />

from this main tag will be modified for the tag configured in the To column.<br />

If an invalid replacement is configured (for example, replace the Main Tag tag from a class type tag for a simple<br />

tag (not a class tag), the OK button will be disabled. When the OK button is pressed, the tags configured on the<br />

Global Replace dialog will be replaced in the order that they were configured on the dialog interface.<br />

Note: You must close all documents (screens and worksheets) before executing this command.<br />

When changing the tag name on the Project Tags database worksheet, IWS will ask you if you intend to<br />

replace this tag through the whole project.<br />

The Replace option will be created in the Edit menu. By using this option, the Global Replace dialog is prompted,<br />

however, the changes are applied only the current screen or worksheet in focus.<br />

Replacing project tags in a document or screen object<br />

To replace all occurences of a tag in the current document, do one of the following:<br />

• On the Home tab of the ribbon, in the Tags group, click Replace; or<br />

• On the Graphics tab of the ribbon, in the Editing group, click Replace.<br />

To replace all occurences of a tag in a screen object, double-click the object to open its Object Properties dialog<br />

and then click Replace.<br />

All of these methods will open the Replace dialog, which is descibed below.<br />

<strong>InduSoft</strong> Web Studio Page 133

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!