Is it Possible to have Proposed Solution Attribute on Change notice as well, which is present on OOTB Change Request ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Is it Possible to have Proposed Solution Attribute on Change notice as well, which is present on OOTB Change Request ?
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
- Labels:
-
General Customization
- Tags:
- group discussion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I also have the Same issue and Trying to get the Proposed Solution on Change Task Wizard =using Alias Attribute
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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 :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I followed the same steps.
Like this , on Change Notice page I'm getting the value for Attribute "??UnAssigned" . Still not able to resolve .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I have the same :
This all we can do OOTB , as workaoround you can remove that attribute from the Edit layout .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
you have added a string attribute , we need a Rich text one like this one :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Hari,
What steps you followed for String Type Attribute?
Regards,
Vijaya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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 .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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:
- Create a folder <Windchill_home>src/com/acme
- Copy below to file AcmeModeledCN2.java
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
- Chapters
- descriptions off, selected
- captions settings, opens captions settings dialog
- captions off, selected
This is a modal window.
Beginning of dialog window. Escape will cancel and close the window.
End of dialog window.
This is a modal window. This modal can be closed by pressing the Escape key or activating the close button.
