Skip to main content
MarcoTosin
21-Topaz I
March 6, 2015
Solved

SPR 2207900 – complain to PTC for BIG regression on Windchill 10.2

  • March 6, 2015
  • 8 replies
  • 4370 views

As you can see in attached image, PTC did a BIG regression with Windchill 10.2

For more then four years we have created SAP equipment (MPMTooling in Windchill) with Manufacturing Resource Explorer, in conjunction with PartsLink for further classification.

With 10.2 classification attributes are no more displayed and, even though we have open a call to support, the answer we got is “No plans to fix”.

I’m thrilled!

PTC take away a functionality we use to create more than 10,000 equipment, we pay to PTC a fee for maintenance with FIVE zero and the answer was “No plans to fix”.

A question for PTC: WHAT WE ARE PAYING FOR?

For PTC Product Manager: how can we solve this BIG problem?

10.2.jpg

Best answer by MarcoFerrari

Following the way we found to reintroduce the capability to classify resource type objects (works only with WEB iterface not with MPSE):

1) Ovverride the OOTB action to point to custom wizard

<objecttype name="mpml" class="com.ptc.windchill.mpml.resource.MPMResource">

<action name="createMPMResource" resourceBundle="com.ptc.windchill.mpml.client.clientResource" ajax="row">

<command class="com.ptc.windchill.mpml.forms.CreateMPMResourceFormProcessor" method="execute" url="/netmarkets/jsp/ext/mpml/createMPMResource.jsp" onClick="validateCreateLocation(event)" windowType="popup"/>

<includeFilter name="showNewActionPreValidation"/>

<moreurlinfo>height=625,width=650</moreurlinfo>

</action>

</objecttype>

2) Copy ootb wizard createMPMResource.jsp and createMPMResourceWizard.jsp to new location (netmarkest/jsp/ext/mpml) and modify the first parge as following:

<%@ include file="/netmarkets/jsp/components/beginWizard.jspf"%>

<%@ include file="/netmarkets/jsp/ext/mpml/createMPMResourceWizard.jspf"%>

<%@ include file="/netmarkets/jsp/util/end.jspf"%>

and the second one as:

<%@ taglib prefix="jca" uri="http://www.ptc.com/windchill/taglib/components"%>
<%@ taglib uri="http://www.ptc.com/windchill/taglib/fmt" prefix="fmt"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<%@ include file="/netmarkets/jsp/components/includeWizBean.jspf"%>

<%--

PartHelper.js below is required dynamically insert/remove the classification step

--%>

<script language="JavaScript" src="netmarkets/javascript/part/PartHelper.js"></script>

<fmt:setBundle basename="com.ptc.windchill.mpml.client.clientResource"/>

<fmt:message var="createResourceWizardTitle" key="createResourceWizard.title" />

<jca:initializeItem operation="${createBean.create}" baseTypeName="com.ptc.windchill.mpml.resource.MPMResource"/>

<jca:wizard helpSelectorKey="ResourceCreate_help" buttonList="DefaultWizardButtonsNoApply" title="${createResourceWizardTitle}">

<jca:wizardStep action="defineItemAttributesWizStep" type="object"/>

<jca:wizardStep action="setClassificationAttributesWizStep" type="part"/>

<jca:wizardStep action="securityLabelStep" type="securityLabels"/>

</jca:wizard>

This will enable the required javascript callback to perform classification selection and introduce the missing classification attribute step.

8 replies

12-Amethyst
March 6, 2015

As reported I can confirm this problem with wnc 10.2 M020 moreover at this moment is not possible classify and set classification attributes on "new resource" wizard on web interface.

This is a big issue expecally in case that OIR use a classification atttribute to inizialize another attribute (e.g. number)

13-Aquamarine
March 9, 2015

Hello Marco,

Thanks for bringing this to PTC attention. We take your input highly and we are looking into how we could resolve this issue promptly. You will hear from us for more information on this matter.

Thanks

JC

13-Aquamarine
March 9, 2015

Hello Marco,

Thanks for bringing this to PTC attention. We take your input highly and we are looking into how we could resolve this issue promptly. You will hear from us for more information on this matter.

Thanks

JC

MarcoTosin
21-Topaz I
March 9, 2015

Hello Jean-Claude,

I'm happy to see that PTC has crearly heard my voice.

I look forward to hear some good news from you.

Marco

Marco
12-Amethyst
May 12, 2015

Following the way we found to reintroduce the capability to classify resource type objects (works only with WEB iterface not with MPSE):

1) Ovverride the OOTB action to point to custom wizard

<objecttype name="mpml" class="com.ptc.windchill.mpml.resource.MPMResource">

<action name="createMPMResource" resourceBundle="com.ptc.windchill.mpml.client.clientResource" ajax="row">

<command class="com.ptc.windchill.mpml.forms.CreateMPMResourceFormProcessor" method="execute" url="/netmarkets/jsp/ext/mpml/createMPMResource.jsp" onClick="validateCreateLocation(event)" windowType="popup"/>

<includeFilter name="showNewActionPreValidation"/>

<moreurlinfo>height=625,width=650</moreurlinfo>

</action>

</objecttype>

2) Copy ootb wizard createMPMResource.jsp and createMPMResourceWizard.jsp to new location (netmarkest/jsp/ext/mpml) and modify the first parge as following:

<%@ include file="/netmarkets/jsp/components/beginWizard.jspf"%>

<%@ include file="/netmarkets/jsp/ext/mpml/createMPMResourceWizard.jspf"%>

<%@ include file="/netmarkets/jsp/util/end.jspf"%>

and the second one as:

<%@ taglib prefix="jca" uri="http://www.ptc.com/windchill/taglib/components"%>
<%@ taglib uri="http://www.ptc.com/windchill/taglib/fmt" prefix="fmt"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<%@ include file="/netmarkets/jsp/components/includeWizBean.jspf"%>

<%--

PartHelper.js below is required dynamically insert/remove the classification step

--%>

<script language="JavaScript" src="netmarkets/javascript/part/PartHelper.js"></script>

<fmt:setBundle basename="com.ptc.windchill.mpml.client.clientResource"/>

<fmt:message var="createResourceWizardTitle" key="createResourceWizard.title" />

<jca:initializeItem operation="${createBean.create}" baseTypeName="com.ptc.windchill.mpml.resource.MPMResource"/>

<jca:wizard helpSelectorKey="ResourceCreate_help" buttonList="DefaultWizardButtonsNoApply" title="${createResourceWizardTitle}">

<jca:wizardStep action="defineItemAttributesWizStep" type="object"/>

<jca:wizardStep action="setClassificationAttributesWizStep" type="part"/>

<jca:wizardStep action="securityLabelStep" type="securityLabels"/>

</jca:wizard>

This will enable the required javascript callback to perform classification selection and introduce the missing classification attribute step.