Cancel
Showing results for 
Search instead for 
Did you mean: 

WhiteList & black List preference

Experimenter
Experimenter

Hi Team,

 

Could you please help me to understand, whitelist and black list preference scenario. Will whitelist preference increases performance??

8 REPLIES

Re: WhiteList & black List preference

Builder
Builder

Hi,

 

Could you plz elaborate this issue?

Re: WhiteList & black List preference

Experimenter
Experimenter

Hi swamy,

 

For increasing performance, we got request like "use white preferences only !!!".

Actual scenario is, we are doing teamcenter to Oracle integrations..where item transfer takes 21min's for suppose. Now with whitelist preference it will take 3 to 4 mins...this the suggestion given ..

Re: WhiteList & black List preference

Solution Partner Honored Contributor Solution Partner Honored Contributor
Solution Partner Honored Contributor
@Lavanya, Is the white/black list of preferences for Oracle, Teamcenter, the operating system or other? I'm familiar with the concept but not how or where you are applying it.

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4

Re: WhiteList & black List preference

Experimenter
Experimenter

Hi Team,

 

We got solution (as shown below). we are trying to increase performance of Teamcenter to Oracle transfer using whitelist preference.

 

<preference name="T4EA_IsupplierItemPropertyListMode4XXXXX" type="Integer" array="false" disabled="false" protectionScope="Site" envEnabled="false">
<preference_description>Defines the processing of the properties specified by the #__getAllProperties__# entry in the preference.
0 - process all properties
1 - use black-list preference ..Property2IgnoreList4..
2 - use white-list preference ..Property2ProcessList4..</preference_description>
<context name="Teamcenter">
<value>2</value>
</context>
</preference>
<preference name="T4EA_IsupplierItemProperty2ProcessList4XXXXX" type="String" array="true" disabled="false" protectionScope="Site" envEnabled="false">
<preference_description>White list of properties</preference_description>
<context name="Teamcenter">
<value>object_name</value>
</context>
</preference>

Re: WhiteList & black List preference

Experimenter
Experimenter

Hi Lavanya,

 

After setting this, have you observed any difference?

Highlighted

Re: WhiteList & black List preference

Experimenter
Experimenter

yes swam, performance improvement we are observing..

Re: WhiteList & black List preference

Experimenter
Experimenter

@Lavanya,

 

Hmm Great!.

Re: WhiteList & black List preference

Hi,

 

White list/ black list preferences restrict the number of properties on the TC object that T4O has to process during a transaction.

For Example;

An item revision has got 100 properties out of which only 10 are to be transferred to oracle so we can add those 10 attributes to the whitelist thereby ensuring that the rest 90 are not read unnecessarily, doing this also saves processing time.

It is convinient to add 10 properties to the whitelist instead of adding 90 to blacklist, hence depending upon the number of properties that are to/not to be transferred, you can create a white list or a blacklist.

 

Hope this helps!

 

Regards,

Sanket Pusalkar