Create a replacing view model schema of the contact page
- Go to the Configuration section and select a custom package to add the schema.
-
Click Add → Replacing view model on the section list toolbar.
-
Fill out the schema properties.
- Set Code to "ContactPageV2."
- Set Title to "Display schema - Contact card."
- Select "ContactPageV2" in the Parent object property.
-
Add a localizable string that contains the tooltip text.
- Click the button in the context menu of the Localizable strings node.
-
Fill out the localizable string properties.
- Set Code to "TypeFieldHint."
- Set Value to "Choose the type of the contact from the list. <a href="https://
academy.creatio.com/ docs/ user/ platform_basics/ user_interface/ record_pages_shortcut/ record_pages" target="_blank">Read more</a>."
- Click Add to add a localizable string.
-
Set up the tooltip of the Type field of the contact page. To do this, add the configuration object of the page field to the diff array of modifications.
View the source code of the replacement view model of the contact page below.
- Click Save on the Designer's toolbar.
Outcome of the example
To view the outcome of the example, refresh the Contacts section page.
As a result, Creatio will add the tooltip to the Type field of the contact page.
Resources