Published Element Name

This check verifies whether the names of the published elements correspond to the ones specified.

This page discusses:

Context

You can use this check to compare the name of the published elements with a list of regular expressions or with a combination of strings.

Notes:
  • Add quotation marks (" ") around each regular expression or string.
  • Specify a single regular expression or string in a line.
  • Use AND or OR to create combinations.

You can also verify if specific names are already used for published elements.

Recommendation: The names of the element and of the published element should match.

The check succeeds if the name of the published element corresponds to the PatternToMatch attribute. If not, the check fails.

Tip: You can use the following attributes to create specific naming rules:
Attribute Description
NOTALLOWED Verifies that the name of the published element does not correspond to the PatternToMatch attribute.
NOTCASESENSITIVE Verifies that the name of the published element corresponds to the PatternToMatch attribute without considering the case sensitivity.
NAME MUST_EXIST YES PublicationName Verifies that the specified publication name exists. Replace PublicationName with the name of the publication.
NAME MUST_EXIST YES USE_REGEX Expression Verifies that the publication name exists and matches a regular expression. Replace Expression with a regular expression.
COLUMN col Verifies the PatternToMatch text starting at the position of a specific character. Replace col with the position of the character.
KEYWORD String Verifies the PatternToMatch text after the first occurrence of the specified string. If the string is not found, the whole text is verified. Replace String with the position of the character.
Note: You can specify different groups of naming rules. Use AND to separate each of them. In this case, the check succeeds if all the specified groups are verified.

Check Information

Check Details Description
Applicable to: VPMReference
Automatic Solution:
Check Parameters: PatternToMatch: String type.

Specifies the regular expression that must correspond to the name of the published element.

Note: By default, the value is .*.

Check Failure Resolution

If the check fails, update the name of the published element. To do so, from the Product Modification section of the action bar, click Rename a Publication . For more information, see 3D Modeling | Systems Architecture | Product Structure Design | Product Structure Design | Working with Publications | Renaming a Publication.