Can you tell me if its possible to customize what is shown in the tooltip when you hover the mouse over an object (tooltip - ie. the yellow box that appears)
In Business Architect i get a lof of attribute values:
Name, Description, Group path etc....
When i publish the model i only get the name in the yellow box.
I can not find any options for adjusting the content in the tooltip
Hope someone can help me with this
Tom
Hello everybody,
I am not sure, if I get it correctly.You can add values or any text into mouse over object by customization of modelControl.jsp See added values into tooltip in picture below.
ARIS BP98.4
c:\SoftwareAG\ARIS9.8\server\bin\work\work_businesspublisher_s
\base\webapps\businesspublisher\layouts\default\model\modelControl.jsp
line 638
//show object name as 'Quick info', if moving mouse over the object
if(selObj[STR_TYPE] == 1) {
var occDat = model.occs[selObj[STR_REF_IDX]];
var defData = model.defs[occDat[OCC_REF_DEFID]];
p_frame.setQuickInfo( defData[DEF_NAME] +" ["+ defData[DEF_TYPE] +"] -"+ defData[DEF_TYPE_NAME]+ " GUID: " + defData[DEF_GUID] );
}
/system/files/files/modelControl.zip
Best Regards,
Robert
Thanks Robert.
How do you define variable for Description?
var DEF_DESC = ???; How to get for example custom attributes?
../model.jsp
var DEF_IDX = 0;
var DEF_TYPE = 1;
var DEF_TYPE_NAME = 2;
var DEF_ID = 3;
var DEF_GUID = 4;
var DEF_NAME = 5;
var DEF_DESC = ???;
var DEF_ASS_MODELS = 6;
var DEF_DOCS = 7;
var DEF_SAP = 8;
var DEF_SAP_DOC = 0;
var DEF_SAP_OPT = 1;
var DEF_SAP_TRANS = 2;
var defsArr = [
<%= builder.getDefBuf().toString() %>
];
../modelControl.jsp
//show object name as 'Quick info', if moving mouse over the object
if(selObj[STR_TYPE] == 1) {
var occDat = model.occs[selObj[STR_REF_IDX]];
var defData = model.defs[occDat[OCC_REF_DEFID]];
p_frame.setQuickInfo(defData[DEF_NAME]);
p_frame.setQuickInfo(defData[DEF_DESC]);
}
} else {
p_frame.hideHover();
}
},