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

Show of Hands, whose on 9.1 for Production?

Show of Hands, whose on 9.1 for Production?

Yes,

Just completed a minor customization:

We want to have PBO number and rev available as possible fields to display on the assignments pages (Home, Product, and Library)

EX:

In site.xconf add:


<service context="default" name="com.ptc.core.htmlcomp.tableview.ConfigurableTable"&lt;br"/> targetFile="codebase/com/ptc/windchill/enterprise/enterprise.service.properties">
<option<br/> serviceClass="ext.baesystems.enterprise.work.BAEHomeOverviewAssignmentTableViews"
selector="netmarkets.overview.assignments.list"
requestor="java.lang.Object"
cardinality="duplicate"/>
</service>

<service context="default" name="com.ptc.core.htmlcomp.tableview.ConfigurableTable"&lt;br"/> targetFile="codebase/com/ptc/windchill/enterprise/enterprise.service.properties">
<option<br/> serviceClass="ext.baesystems.enterprise.work.BAEProductAssignmentTableViews"
selector="netmarkets.product.assignments.list"
requestor="java.lang.Object"
cardinality="duplicate"/>
</service>

<service context="default" name="com.ptc.core.htmlcomp.tableview.ConfigurableTable"&lt;br"/> targetFile="codebase/com/ptc/windchill/enterprise/enterprise.service.properties">
<option<br/> serviceClass="ext.baesystems.enterprise.work.BAELibraryAssignmentTableViews"
selector="netmarkets.library.assignments.list"
requestor="java.lang.Object"
cardinality="duplicate"/>
</service>

Update the following jsps:

netmarkets/jsp/work
listOverviewAssignments.jsp
listProductAssignments2.jsp
listLibraryAssignments2.jsp

like so:

[cid:image002.jpg@01CAB6FA.CB6F03D0]


Create the following classes:

ext/baesystems/enterprise/work
BAEHomeOverviewAssigmentTableViews
BAEProductAssignmentTableViews
BAELibraryAssignmentTableViews

They look like:

public class BAEHomeOverviewAssignmentTableViews extends HomeOverviewAssignmentTableViews {

public BAEHomeOverviewAssignmentTableViews() {
super();
}

public List getSpecialTableColumnsAttrDefinition(Locale locale) {
List superList = super.getSpecialTableColumnsAttrDefinition(locale);

superList.add(new Attribute.TextAttribute("number", "Number", locale));
superList.add(new Attribute.TextAttribute("version", "Version", locale));

return superList;
}
}


public class BAEProductAssignmentTableViews extends ProductAssignmentTableViews {
public BAEProductAssignmentTableViews() {
super();
}

public List getSpecialTableColumnsAttrDefinition(Locale locale) {
List superList = super.getSpecialTableColumnsAttrDefinition(locale);

superList.add(new Attribute.TextAttribute("number", "Number", locale));
superList.add(new Attribute.TextAttribute("version", "Version", locale));

return superList;
}
}


public class BAELibraryAssignmentTableViews extends LibraryAssignmentTableViews {
public BAELibraryAssignmentTableViews() {
super();
}

public List getSpecialTableColumnsAttrDefinition(Locale locale) {
List superList = super.getSpecialTableColumnsAttrDefinition(locale);

superList.add(new Attribute.TextAttribute("number", "Number", locale));
superList.add(new Attribute.TextAttribute("version", "Version", locale));

return superList;
}
}


Hope that helps


John English


Here is some info from a PTC TSE as well. We followed their solution with only a minor deviation.

You can customize the listOverviewAssignments.jsp page to add the 2 custom columns like below. The OOTB NumberDataUtility and VersionDisplayDataUtility should be able to render these columns for you.

<jca:describecolumn id="number" sortable="${sortable}" isinfopagelink="false" datautilityid="NumberDataUtility" targetobject="primaryBusinessObject.object"/>
<jca:describecolumn id="version" sortable="${sortable}" need="iterationDisplayIdentifier" datautilityid="VersionDisplayDataUtility" targetobject="primaryBusinessObject.object"/>

You will also need to add the 2 columns to your Views. The OOTB Views for this Assignments table are defined in HomeOverviewAssignmentTableViews.class . you can create a custom class similar to this, modify the getSpecialTableColumnsAttrDefinition method to add the new columns.

public List getSpecialTableColumnsAttrDefinition(Locale locale)
{
.....
arraylist.add(new com.ptc.core.htmlcomp.createtableview.Attribute.TextAttribute("number", "Number", locale));
arraylist.add(new com.ptc.core.htmlcomp.createtableview.Attribute.TextAttribute("version", "Version", locale));
......

}

The Views should now show up when you click on "Customize View". You might have to delete the existing views, clear Tomcat cache and restart Windchill to pick up the changes.

DELETE FROM TableViewDescriptor;
DELETE FROM ActiveViewLink;
commit;


and


To have the Assignments page use your custom class, you will need to define your own custom properties file to define the service class.
The enterprise.service.properties file has the entry defined for the OOTB Assignments table (for Home/Library/Product/Overview). You will need to create your custom property file and xconf file with a similar entry: (sample files attached)

Custom .properties file:
wt.services/svc/default/com.ptc.core.htmlcomp.tableview.ConfigurableTable/netmarkets.overview.assignments.list/java.lang.Object/0=<custom class=" with=" full=" package=" name=">/duplicate

And your custom .xconf file. The highlighted entry is the Selector for the Assignments Overview table, you define your custom class for the Selector so it picks up the custom class instead of the OOTB class.



<configuration targetfile="codebase/&lt;path" to=" <custom=">.properties">
<service context="default" name="com.ptc.core.htmlcomp.tableview.ConfigurableTable">
<option requester="java.lang.Object" selector="netmarkets.overview.assignments.list" serviceclass="&lt;custom" classname=">">
</service>
</configuration>

These are the OOTB Properties defined in enterprise.service.propreties and enterprise.service.xconf files for ALL the Assignments tables:
1)wt.services/svc/default/com.ptc.core.htmlcomp.tableview.ConfigurableTable/netmarkets.assignments.list/java.lang.Object/0=com.ptc.windchill.enterprise.work.assignmentslist.views.HomeAssignmentTableViews/duplicate

2)wt.services/svc/default/com.ptc.core.htmlcomp.tableview.ConfigurableTable/netmarkets.library.assignments.list/java.lang.Object/0=com.ptc.windchill.enterprise.work.assignmentslist.views.LibraryAssignmentTableViews/duplicate

3)wt.services/svc/default/com.ptc.core.htmlcomp.tableview.ConfigurableTable/netmarkets.product.assignments.list/java.lang.Object/0=com.ptc.windchill.enterprise.work.assignmentslist.views.ProductAssignmentTableViews/duplicate

1)<option serviceclass="com.ptc.windchill.enterprise.work.assignmentslist.views.ProductAssignmentTableViews"&lt;br"/> requestor="java.lang.Object" selector="netmarkets.product.assignments.list" cardinality="duplicate"/>

2) <option serviceclass="com.ptc.windchill.enterprise.work.assignmentslist.views.LibraryAssignmentTableViews"&lt;br"/> requestor="java.lang.Object" selector="netmarkets.library.assignments.list" cardinality="duplicate"/>

3)<option serviceclass="com.ptc.windchill.enterprise.work.assignmentslist.views.HomeAssignmentTableViews"&lt;br"/> requestor="java.lang.Object" selector="netmarkets.assignments.list" cardinality="duplicate"/>

4)<option serviceclass="com.ptc.windchill.enterprise.work.assignmentslist.views.HomeOverviewAssignmentTableViews"&lt;br"/>requestor="java.lang.Object" selector="netmarkets.overview.assignments.list" cardinality="duplicate"/>

Once you create your own property files, you must add it to the below property in wt.properties file using xconfmanager. To add my training.properties, I would do something like this:

wt.services.applicationcontext.WTServiceProviderFromProperties.customPropertyFiles=..........,ext/training/training.properties

-----End Original Message-----

RE: Show of Hands, whose on 9.1 for Production?



In Reply to Johannes Schramm:
We also upgraded on November 21 from 8.0 M040 to 9.1 M020. Fast is not functioning. It has taken since then to index the system and we are almost done. When the indexing was first started we could do searches, but now we can not search without getting errors and tech support is not much help.

Show of Hands, whose on 9.1 for Production?

Tina, we're going to 9.1 next weekend. We've had FAST InStream in use since last Feb with 9.0. We started our first indexing rehearsal on a rehosted system last Friday. Would love to compare notes with you on your experience with FAST asap.

RE: Show of Hands, whose on 9.1 for Production?

Thanks, this was VERY helpful!We now have our custom attributes (from extended change objects) showing in our assignments list. Hurrah!


In Reply to John English:
Yes,

Just completed a minor customization:

We want to have PBO number and rev available as possible fields to display on the assignments pages (Home, Product, and Library)

EX:

In site.xconf add:


<service context="default" name="com.ptc.core.htmlcomp.tableview.ConfigurableTable"&lt;br"/>targetFile="codebase/com/ptc/windchill/enterprise/enterprise.service.properties">
<option<br/>serviceClass="ext.baesystems.enterprise.work.BAEHomeOverviewAssignmentTableViews"
selector="netmarkets.overview.assignments.list"
requestor="java.lang.Object"
cardinality="duplicate"/>
</service>

<service context="default" name="com.ptc.core.htmlcomp.tableview.ConfigurableTable"&lt;br"/>targetFile="codebase/com/ptc/windchill/enterprise/enterprise.service.properties">
<option<br/>serviceClass="ext.baesystems.enterprise.work.BAEProductAssignmentTableViews"
selector="netmarkets.product.assignments.list"
requestor="java.lang.Object"
cardinality="duplicate"/>
</service>

<service context="default" name="com.ptc.core.htmlcomp.tableview.ConfigurableTable"&lt;br"/>targetFile="codebase/com/ptc/windchill/enterprise/enterprise.service.properties">
<option<br/>serviceClass="ext.baesystems.enterprise.work.BAELibraryAssignmentTableViews"
selector="netmarkets.library.assignments.list"
requestor="java.lang.Object"
cardinality="duplicate"/>
</service>

Update the following jsps:

netmarkets/jsp/work
listOverviewAssignments.jsp
listProductAssignments2.jsp
listLibraryAssignments2.jsp

like so:

[cid:image002.jpg@01CAB6FA.CB6F03D0]


Create the following classes:

ext/baesystems/enterprise/work
BAEHomeOverviewAssigmentTableViews
BAEProductAssignmentTableViews
BAELibraryAssignmentTableViews

They look like:

public class BAEHomeOverviewAssignmentTableViews extends HomeOverviewAssignmentTableViews {

public BAEHomeOverviewAssignmentTableViews() {
super();
}

public List getSpecialTableColumnsAttrDefinition(Locale locale) {
List superList = super.getSpecialTableColumnsAttrDefinition(locale);

superList.add(new Attribute.TextAttribute("number", "Number", locale));
superList.add(new Attribute.TextAttribute("version", "Version", locale));

return superList;
}
}


public class BAEProductAssignmentTableViews extends ProductAssignmentTableViews {
public BAEProductAssignmentTableViews() {
super();
}

public List getSpecialTableColumnsAttrDefinition(Locale locale) {
List superList = super.getSpecialTableColumnsAttrDefinition(locale);

superList.add(new Attribute.TextAttribute("number", "Number", locale));
superList.add(new Attribute.TextAttribute("version", "Version", locale));

return superList;
}
}


public class BAELibraryAssignmentTableViews extends LibraryAssignmentTableViews {
public BAELibraryAssignmentTableViews() {
super();
}

public List getSpecialTableColumnsAttrDefinition(Locale locale) {
List superList = super.getSpecialTableColumnsAttrDefinition(locale);

superList.add(new Attribute.TextAttribute("number", "Number", locale));
superList.add(new Attribute.TextAttribute("version", "Version", locale));

return superList;
}
}


Hope that helps


John English


Here is some info from a PTC TSE as well. We followed their solution with only a minor deviation.

You can customize the listOverviewAssignments.jsp page to add the 2 custom columns like below. The OOTB NumberDataUtility and VersionDisplayDataUtility should be able to render these columns for you.

<jca:describecolumn id="number" sortable="${sortable}" isinfopagelink="false" datautilityid="NumberDataUtility" targetobject="primaryBusinessObject.object"/>
<jca:describecolumn id="version" sortable="${sortable}" need="iterationDisplayIdentifier" datautilityid="VersionDisplayDataUtility" targetobject="primaryBusinessObject.object"/>

You will also need to add the 2 columns to your Views. The OOTB Views for this Assignments table are defined in HomeOverviewAssignmentTableViews.class . you can create a custom class similar to this, modify the getSpecialTableColumnsAttrDefinition method to add the new columns.

public List getSpecialTableColumnsAttrDefinition(Locale locale)
{
.....
arraylist.add(new com.ptc.core.htmlcomp.createtableview.Attribute.TextAttribute("number", "Number", locale));
arraylist.add(new com.ptc.core.htmlcomp.createtableview.Attribute.TextAttribute("version", "Version", locale));
......

}

The Views should now show up when you click on "Customize View". You might have to delete the existing views, clear Tomcat cache and restart Windchill to pick up the changes.

DELETE FROM TableViewDescriptor;
DELETE FROM ActiveViewLink;
commit;


and


To have the Assignments page use your custom class, you will need to define your own custom properties file to define the service class.
The enterprise.service.properties file has the entry defined for the OOTB Assignments table (for Home/Library/Product/Overview). You will need to create your custom property file and xconf file with a similar entry: (sample files attached)

Custom .properties file:
wt.services/svc/default/com.ptc.core.htmlcomp.tableview.ConfigurableTable/netmarkets.overview.assignments.list/java.lang.Object/0=<custom class=" with=" full=" package=" name=">/duplicate

And your custom .xconf file. The highlighted entry is the Selector for the Assignments Overview table, you define your custom class for the Selector so it picks up the custom class instead of the OOTB class.



<configuration targetfile="codebase/&lt;path" to=" <custom=">.properties">
<service context="default" name="com.ptc.core.htmlcomp.tableview.ConfigurableTable">
<option requester="java.lang.Object" selector="netmarkets.overview.assignments.list" serviceclass="&lt;custom" classname=">">
</service>
</configuration>

These are the OOTB Properties defined in enterprise.service.propreties and enterprise.service.xconf files for ALL the Assignments tables:
1)wt.services/svc/default/com.ptc.core.htmlcomp.tableview.ConfigurableTable/netmarkets.assignments.list/java.lang.Object/0=com.ptc.windchill.enterprise.work.assignmentslist.views.HomeAssignmentTableViews/duplicate

2)wt.services/svc/default/com.ptc.core.htmlcomp.tableview.ConfigurableTable/netmarkets.library.assignments.list/java.lang.Object/0=com.ptc.windchill.enterprise.work.assignmentslist.views.LibraryAssignmentTableViews/duplicate

3)wt.services/svc/default/com.ptc.core.htmlcomp.tableview.ConfigurableTable/netmarkets.product.assignments.list/java.lang.Object/0=com.ptc.windchill.enterprise.work.assignmentslist.views.ProductAssignmentTableViews/duplicate

1)<option serviceclass="com.ptc.windchill.enterprise.work.assignmentslist.views.ProductAssignmentTableViews"&lt;br"/>requestor="java.lang.Object" selector="netmarkets.product.assignments.list" cardinality="duplicate"/>

2) <option serviceclass="com.ptc.windchill.enterprise.work.assignmentslist.views.LibraryAssignmentTableViews"&lt;br"/>requestor="java.lang.Object" selector="netmarkets.library.assignments.list" cardinality="duplicate"/>

3)<option serviceclass="com.ptc.windchill.enterprise.work.assignmentslist.views.HomeAssignmentTableViews"&lt;br"/>requestor="java.lang.Object" selector="netmarkets.assignments.list" cardinality="duplicate"/>

4)<option serviceclass="com.ptc.windchill.enterprise.work.assignmentslist.views.HomeOverviewAssignmentTableViews"&lt;br"/>requestor="java.lang.Object" selector="netmarkets.overview.assignments.list" cardinality="duplicate"/>

Once you create your own property files, you must add it to the below property in wt.properties file using xconfmanager. To add my training.properties, I would do something like this:

wt.services.applicationcontext.WTServiceProviderFromProperties.customPropertyFiles=..........,ext/training/training.properties

RE: Show of Hands, whose on 9.1 for Production?

Hi Tina,

just to let you know: I described our FAST problems in Mike's new thread: here

Best regards



In Reply to Tina Maccalous:



In Reply to Johannes Schramm:
We also upgraded on November 21 from 8.0 M040 to 9.1 M020. Fast is not functioning. It has taken since then to index the system and we are almost done. When the indexing was first started we could do searches, but now we can not search without getting errors and tech support is not much help.

Highlighted

Show of Hands, whose on 9.1 for Production?

Tina did you migrate Pro/E data? If so Family Tables? We have been
working for months trying to go from 8.0 M030 to 9.1 M030 and we have
had many issues regarding family tables. We are getting there but it
has been a slow process.


Announcements
LiveWorx Call For Papers Happening Now!