cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Two data utility for an attribute

DJ_10206604
2-Guest

Two data utility for an attribute

can we have two Data Utility functions for the same attribute(datautility for making attribute multivalued and Picker datautiliy)?

6 REPLIES 6

Hi @DJ_10206604 

I don't think so that you could mix two dataultity separately that way as you think.. 

 

You would need to find a way how to achieve what you need with multivalue attribute in one datautility.

 

That's just my thoughts 

 

I've never tried it. 

 

PetrH

Hi @DJ_10206604,

 

One attribute cannot be registered with two Datautilites.

Try to remove single valued constraint on attribute and register it with Datautility.

So, in that way it will be multi valued and picker.

Hope it works.

Hi @TT_9345405 

Good point to remove the constraint.

 

Additionally you need to process multivalued string in the data-utility. 

 

The values are usually separated by "@" I guess.

 

PetrH

hi @TT_9345405  thank you for your response

we have already tried this approach of removing single valued constraint on type and attribute management and register the attribute with picker datautility

but it is not making the picker attribute as multi valued

 

is there any other way to make this picker attribute as multivalued ?

Hi @DJ_10206604 

Instead of making a attribute multi valued.

we can set a property from the picker data utility itself where we can have multiple values set/shown in single textbox/combo box.

Hi @TT_9345405

Good point

HelesicPetr_0-1666590868687.png

 

PetrH

 

Announcements
Top Tags