Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hi All,
Is it possible to have Proposed Solution Attribute on Change Notice as well. Out of the Box it present on Change Request only .
Any Idea ?
Regards,
Vivek
I also have the Same issue and Trying to get the Proposed Solution on Change Task Wizard =using Alias Attribute
I'm not sure what is the requirement here ,do you mean to add Modeled Richt text attribute to the type change notice ?
There is no way to add Rich Text as IBA from UI you need to define a hard type see PTC Windchill Help Center
try this create a string IBA on CN call it Myproposedsolution
on below example its called MyProposedSplution (there is a typo, ADHD side effect)
in below file Windchill\codebase\com\ptc\core\components\components.dataUtilities.properties.xconf add line
<Option serviceClass="com.ptc.core.components.factory.dataUtilities.RichTextDataUtility" requestor="java.lang.Object" selector="MyProposedSplution" cardinality="singleton"/>
run a xconfmnager -p + restart
in the CN layouts add the DU edit attribute properties
On the CN you should be able to see the attribute on create and info Page :
Note the above is not really supported by TS and it won't work on edit :
I followed the same steps.
Like this , on Change Notice page I'm getting the value for Attribute "??UnAssigned" . Still not able to resolve .
I have the same :
This all we can do OOTB , as workaoround you can remove that attribute from the Edit layout .
Hi,
You may create that attribute in the CN.
I did a quick check.
See the screen shots - create screen and edit screen of my CN.
I think it should be possible on the CT also, I just checked in CN.
What is the process you followed?
Cheers
Hari
you have added a string attribute , we need a Rich text one like this one :
Hi,
Oh ok, I missed the initial expectation of rich text.
I think its a product gap. Iam not sure if this can e brought in by customization.
The custo experts can answer here.
CHeers
Hari
Hi Hari,
What steps you followed for String Type Attribute?
Regards,
Vijaya
I used the OOTB attribute - proposedSoluitons (type: String) & created a new IBA - proposed Solutions-ud of Type String
I am able to get the value of the IBA propagated from CR to CN , when Propogate changes checkbox is selected .
However , the Implementation Plan on CN create wizard doesn't get the value from CN . I am on Windchill 12.0
Not used any DU .
Hello All,
As said in the begining the suppsrted way to achieve this is by using Hard Types as OOTB IBAs do not handle RichText Datatype .
Here is an example to achieve this:
package com.acme;
import wt.change2.WTChangeOrder2;
import wt.util.WTException;
import com.ptc.windchill.annotations.metadata.*;
import com.ptc.core.richtext.HTMLText;
@GenAsPersistable(superClass=WTChangeOrder2.class,
properties={
@GeneratedProperty(name="proposedSolutions",
type=HTMLText.class,
javaDoc="Rich Text Porposed Solution")
},
iconProperties=@IconProperties(standardIcon="netmarkets/images/stopCN.png",
openIcon="netmarkets/images/stopCN.ong")
)
public class AcmeModeledCN2 extends _AcmeModeledCN2 {
static final long serialVersionUID = 1;
public static AcmeModeledCN2 newAcmeModeledCN2()
throws WTException {
AcmeModeledCN2 instance = new AcmeModeledCN2();
instance.initialize();
return instance;
}
}
3. Change Directory to <Windchill_home>src/com/acme in Windchill shell run below commands :
tools class -Dclass.includes=com\acme\*
tools -Dgen.input=com.acme.* sql_script
4. Change directory to folder <Windchill_home>db/sql3/com/acme run below commands (depending on db setting scripts may be in <Windchill_home>db/sql/com/acme r ) :
5. run SQL scripts in sqlplus :
create_AcmeModeledCN2_Table.sql
create_AcmeModeledCN2_Index.sql
in file <Windchill_home>\codebase\wt\change2\change2.properyties add below line
wt.services/svc/default/wt.change2.ConcreteAssociationDelegate/wt.change2.WTChangeActivity2/com.acme.AcmeModeledCN2/1=wt.change2.IncludedIn2Delegate/singleton
Restart server
Follow below Video to adjust Layouts for the new Type