Implementing tips or pop-up windows on a detail

Question

How can I implement tips on the [Connected to] detail?

Answer

The tips for the [Connected to] detail are formed based on the onGetPageTips() method that must be called in the BasePageV2 schema:

To add a custom tip in the [Activities] section, you need to:

  1. replace АctivityPageV2
  2. add localizable string
  3. override the onGetPageTips() method

In the base configuration you can see an example of code in the ContactPageV2 (UIv2) schema:

{
    "operation": "insert",
    "parentName": "Header",
    "propertyName": "items",
    "name": "Owner",
    "values": {
        "layout": {"column": 11, "row": 2, "colSpan": 13},
        "tip": {
            "content": {"bindTo": "Resources.Strings.OwnerTip"}
        }
    }
},

 

Like 0

Like

Share

0 comments
Show all comments