Skip to main content
1-Visitor
September 9, 2014
Solved

DataUtility for attribute display

  • September 9, 2014
  • 1 reply
  • 2199 views

Hi.

I have datautility to specify view for soft attribute.

I configured it by site.xconf

<Service name="com.ptc.core.components.descriptor.DataUtility" targetFile="codebase/service.properties">

<Option serviceClass="MyDataUtilityClass"

requestor="java.lang.Object"

selector="attributeInnerName"

cardinality="duplicate"/>

</Service>

This datautility works fine on "Type Attributes" panel in "Details" tab.

But it does not work on "Attributes" tab in "Structure" tab.

Why?

How can this problem be solved?

Thanks.

Best answer by LoriSood

If you edit the layout in Type and Attribute Management you should be able to right-click on the attribute in the layout. Within the properties window you can specify the data utility to use for that attribute in that layout.

1 reply

LoriSood23-Emerald IAnswer
23-Emerald I
September 9, 2014

If you edit the layout in Type and Attribute Management you should be able to right-click on the attribute in the layout. Within the properties window you can specify the data utility to use for that attribute in that layout.

12-Amethyst
September 10, 2014

Use the selector name as specified in site.xconf as data utility id in the properties window.

Thanks,

Kaushik