helpTool

Hello All,

I have a question, is that possible to provide helptoolTip in textfield that each item has to be shown different helptool,like I have decision for each parameter different HoverOver_desc (placed screenshot) has to be shown, how that can be shown in textfield?

  a!textField(
                readOnly:index(
                  rule!CR_RISK_PARAMETER_MAPPING(
                  Param_description: fv!item.parameterId_int
                ),
                "isReadOnly_bool",
                {}
                ),
                value: rule!CR_RISK_PARAMETER_MAPPING(
                  Param_description: fv!item.parameterId_int
                ).parameters,
                saveInto: rule!CR_RISK_PARAMETER_MAPPING(
                  Param_description: fv!item.parameterId_int
                ).parameters,
                helpTooltip: rule!CR_RISK_PARAMETER_MAPPING(
                  Param_description: fv!item.parameterId_int
                ).HoverOver_Desc,

              ),

  Discussion posts and replies are publicly visible

  • 0
    Certified Lead Developer
    in reply to JS0001

     Without knowing the whole references like CDT structure etc. it is difficult to point out the root cause. To debug the issue, you can verify what values are being populated in the local variables and based on the analysis you will understand the root cause. 

  • value in ri- 

    and each parameter means-1)Technology Risk -?help tool->Is business dependent on technology solutions which if impacted would negatively affect performance?

    2)Competitive Risk(parameter) and helptooltip-Are there low barriers to entry and multiple existing competitors in the sector?........ 

    7)other and helptooltip-Add any other risk specific to this business

     

  • 0
    Certified Senior Developer
    in reply to JS0001

    How's that even possible with the current implementation. Your fv!item.parameterId_int will have a single value for each iteration and you are using the same local (local!parameter) on different fields to get different data but it only has the current id data.

    For this you need to declare a!localVariable() for each component and pass the parameterId_int directly for that component. 

    like this: 

    a!localVariables(
                      local!parameters: rule!CR_RISK_PARAMETER_MAPPING(Param_description: 2),
                      a!textField(
                        readOnly: property(
                          local!parameters,
                          "isReadOnly_bool",
                          null
                        ),
                        value: property(local!parameters, "parameters", null),
                        helpTooltip: property(local!parameters, "HoverOver_Desc", null),
    
                      )
                    )

    And in the code you shared, I can't see any helptooltip configured for your 1)Technology Risk textfield() and 7)other paragraphField()