Quantcast
Channel: PTC Community : Discussion List - Windchill
Viewing all 5797 articles
Browse latest View live

How to validate Create Page Attributes

$
0
0

Hi,

 

I am working on one UIValidation where I need to validate the two attributes (customer part number, new customer part number ) of New Document wizard page,

 

currently I am trying this is on acion=createDocumentSetTypeAndAttributesWizStep  but not working can any one please tell me how should I use this


Can we add an Attribute of a Sub type of WTDocument which is an optional and single valued string attribute which can have only one amongst the suggested values and no other values should be permissible.

$
0
0

Hi All,

 

Can we add an Attribute of a Sub type of WTDocument which is an optional and single valued string attribute which can have only one amongst the suggested values and no other values should be permissible.

 

Like the suggested values are like say

ABC

DEF

 

So If yes kindly tell me how we can add it ?

 

Thanks and Regards,

Aditya Achanta

mass edit attributes for WTDocument no convinient in 10.2

$
0
0

In Windchill 10.2, Edit multiple objects can mass edit an attribute, but however, for WTdocument, you have to click the radio box "do not upload file" for each item you select. This is unacceptable when editing 1000+ documents. Any ideas?

 

(I'm clear that it is easy to write customized code to mass edit an attribute, but I'm finding a way every user could easily access.)

 

Thanks!

Problem when trying to disable "remove" button

$
0
0

Hi everyone,

 

I have to make a custom filter to deactivate some buttons when the root part (here the green/yellow cog) was on a specific state.

And when I select the other sub part (pink cog) the button will be disabled because of the root part.

As you can see on the picture, I successfully disable "Insert existing", "Insert new" (and the drop down actions), but I'm still stuck to disable "Remove" action.

image2016-4-27 14-8-39.png

What I know :

Create a new custom class filter : (It works !)

public class FilterEditStandartPart extends DefaultSimpleValidationFilter {

...

     if (root_part.getLifeCycleState().equals(States.RELEASED)) { // I do my test with this state, not the final state I need to use

          status = UIValidationStatus.DISABLED;

     }

...

}

 

Create a service on my "properties.xconf" file and propagate it : (service working)

<Service context="default" name="com.ptc.core.ui.validation.SimpleValidationFilter">

  <Option requestor="null" serviceClass="ext.sogerma.pbs.filters.FilterEditStandartPart" selector="filterEditStandartPart"/>

</Service>

 

Sample of my "custom-actions.xml" file :

<objecttype name="psb" resourceBundle="com.ptc.windchill.enterprise.part.psb.psbActionsRB">

     <!-- This one works perfectly -->

     <action name="insertExistingPartStructureGWT">

          <command class="com.ptc.cat.gxt.client.action.AdvancedAddAction"/>

          <includeFilter name="com.ptc.cat.ui.client.internal.action.OneSelectionFilter"/>

          <includeFilter name="com.ptc.cat.ui.client.internal.action.IsNotUnspecifiedIterationFilter"/>

          <includeFilter name="com.ptc.cat.ui.client.internal.action.OriginalCopyFilter"/>

          <includeFilter name="disableForAdminLocked"/>

          <includeFilter name="disableForPartToCadBuildAdminLocked"/>

          <includeFilter name="disableForNewObjectInWorkspace"/>

          <includeFilter name="insertExistingPartImplementationChooser"/>

          <includeFilter name="filterEditStandartPart"></includeFilter>

            <supportedTypes>

                <type value="wt.part.WTPart"/>

                <type value="wt.part.WTPartUsageLink"/>

                <type value="wt.part.PartUsesOccurrence"/>

                <type value="wt.part.RTPartPathOccurrence"/>

            </supportedTypes>

    </action>

 

    <!-- This is my problem, it seem not working or maybe it's override by something else -->

    <action name="removeGWT">

          <command class="com.ptc.windchill.enterprise.part.psb.client.action.PSBRemoveAction"/>

          <includeFilter name="com.ptc.cat.ui.client.internal.action.OneOrMoreSelectionFilter"/>

          <includeFilter name="com.ptc.cat.ui.client.internal.action.IsNotRootStructureModelFilter"/>

          <includeFilter name="com.ptc.cat.ui.client.internal.action.IsNotSummaryRowFilter"/>

          <includeFilter name="com.ptc.cat.ui.client.internal.action.ParentOriginalCopyFilter"/>

          <includeFilter name="com.ptc.windchill.enterprise.part.psb.client.action.ReplacementPartTypeFilter"/>

          <includeFilter name="disableForNewObjectInWorkspace"/>

          <includeFilter name="disableForParentInTreeAdminLocked"/>

          <includeFilter name="disableForPartToCadBuildParentInTreeAdminLocked"/>

          <includeFilter name="disableForNewParentObjectInWorkspace"/>

          <includeFilter name="filterEditStandartPart"></includeFilter>

          <supportedTypes>

              <type value="wt.part.WTPart"/>

              <type value="wt.part.WTPartMaster"/>

              <type value="wt.part.WTPartUsageLink"/>

              <type value="wt.part.PartUsesOccurrence"/>

              <type value="wt.doc.WTDocument"/>

              <type value="wt.doc.WTDocumentMaster"/>

              <type value="wt.part.WTPartDescribeLink"/>

              <type value="wt.part.WTPartReferenceLink"/>

              <type value="wt.part.RTPartPathOccurrence"/>

          </supportedTypes>

    </action>

 

    <!-- This one works great to disable "Remove" button on the "Uses" tab -->

    <action name="removeChildPartGWT">

          <command class="com.ptc.windchill.enterprise.part.psb.client.action.PSBRemoveAction"/>

          <includeFilter name="com.ptc.cat.ui.client.internal.action.OneOrMoreSelectionFilter"/>

          <includeFilter name="com.ptc.cat.ui.client.internal.action.IsNotRootStructureModelFilter"/>

          <includeFilter name="com.ptc.cat.ui.client.internal.action.ParentOriginalCopyFilter"/>

          <includeFilter name="disableForNewObjectInWorkspace"/>

          <includeFilter name="disableForTableContextAdminLocked"/>

          <includeFilter name="disableForPartToCadBuildParentInTreeAdminLocked"/>

          <includeFilter name="disableForNewParentObjectInWorkspace"/>

          <includeFilter name="filterEditStandartPart"></includeFilter>

          <supportedTypes>

              <type value="wt.part.WTPart"/>

              <type value="wt.part.WTPartMaster"/>

              <type value="wt.part.WTPartUsageLink"/>

              <type value="wt.part.PartUsesOccurrence"/>

              <type value="wt.doc.WTDocument"/>

              <type value="wt.doc.WTDocumentMaster"/>

              <type value="wt.part.WTPartDescribeLink"/>

              <type value="wt.part.WTPartReferenceLink"/>

              <type value="wt.part.RTPartPathOccurrence"/>

          </supportedTypes>

    </action>

</objecttype>

 

I try to debug the method used on "DefaultSimpleValidationFilter" : public UIValidationStatus preValidateAction(UIValidationKey aValKey, UIValidationCriteria aValCrit) {...}

When I refresh the page or clic on another part, I don't see the "removeGWT" in "aValKey" param.

I see some other I configure and I see the "removeChildPartGWT" when I click on a "Uses" part.

 

I really need to deactivate this button when the root part was on a specific state, my customer need it to prevent removing part ! (and I can't say him to no click on it )

Do you have an idea of why this not work with "removeGWT" and/or a solution to disable it ?

 

Thank you.

Intralink 10.2 CAD-Worker

$
0
0

If using Windchill/Intralink 10.2 (not pdmlink) can a "CAD Worker" be configured to create exported STEP during the release workflow?

Create Data Package containing only viewables

$
0
0

We are working on a setup of Windchill to support collaboration with customers and suppliers. To share data we would like to use data packages containing only viewables and not the native documents. We are not able to find a way to apply package filters to select only these viewable.

 

Who has experience solving this issue? Please reply.

Windchill and Family Tables

$
0
0

Hi Folks,

today I would like to start a short discussion about Family Table models (standard parts) used in Windchill.

 

What is your experience? Do you use Family Table models for standard parts in Windchill? ... or do you use only separated objects (one model per one material number)?

 

I do not want to speak about 5 instances in Generic models - I mean >> from 200 to 500 instances per one Generic part  - For example Screw with Hexagon head.

How to manage this huge Generic model and how to add new instance, set state for new object and update existing parts in different workspaces.

 

I waiting for your positive or negative answers.

 

Thanks for your comments and ideas.

Best Regards,

Vladimir

PTC System Monitor

$
0
0

Hi,

I am new to PTC System monitor. I installed PTC System monitor and able to configure it successfully and getting all dashboard. I have a query, can I get report/dashboard that shows comparison. let say I want to compare Av. response time of "Windchill Folder browsing" before and after some customization deployed.

 

My problem is, if I am adding same dashlet 2 times with different time frame as filter in a dashboard, it is very hard to compare on graph due to different time frame and graph showing older time frame, starts capturing current data also.

 

My objective is that I should able to store a data as baseline and later i can compare it with current data. if it is in single graph it will be great.

 

is it possible with PSM?


Can any one guide me?

 

Thanks

Nikhil Gothankar


Family table instance management on Check-in

$
0
0

Is there a way to prevent Windchill from accepting a check-in if the list of instances in the Generic being checked in does not include all the instances that were in the latest version?

 

Is there a way to generate a message to the Admin when a check-in or check-in attempt of the Generic list of instances is missing instances there were in the latest version?

Parts created using "Import from Spreadsheet" are not fetched

$
0
0

Hi, We have Windchill-SAP Integration. We created parts using import from spreadsheet in Windchill. We have created a Utility such that it would give a list of all parts which are in "PREPRODUCTION" state, but upon running that utility, the parts created using "Import from Spreadsheet" were not displayed in the list while other were.

We also have another utility we gives us the list of all parts that created after a certain date and are in a certain life cycle state, but similarly upon running that utility, the parts created using "Import from Spreadsheet" were not displayed in the list while other were.

How to resolve this problem?

Does anyone know if Windchill supports Data encryption AT REST and IN TRANSIT within ORACLE or between ORACLE and the Application Server

$
0
0

We have to assess our Winchill Infrastructure annually against Security Technical Implementation Guides (STIGs) issued by IASE.

 

These are required to be assessed annually by some of our customers.

 

One aspect is the need to Encrypting data at rest in the ORACLE database and also data in transit when transmitted between the Application server and Oracle.

 

Does anyone in the community (PTC or other Customers) know if this is supported and can point me in the right direction with respect to system configuration.

 

Thanks in Advance

 

Ed Lyons

Lockheed Martin Space Systems

Part and Cad Document are out of date

$
0
0

Anybody know what causes this message?

 

4-27-2016 9-00-49 AM.png

it appears from the reference document that it references the correct versions. 

 

Thanks in advance!

why do you need a team template for a document/part

$
0
0

Hi All,

 

Can you please tell me like why do we need a team template for a document/part ?

 

Thanks and Regards,

Aditya Achanta

Multi Object in PDMLink

$
0
0

Hi all,

 

I was told that Windchill 10.2 M030 or Windchill 11.0 will bring in this new Type called as "Multi Object" that is similar to the one in FlexPLM for having a custom multi object attribute, for eg., a Supplier Contact can have several attributes grouped under a "Multi Object Attribute" called as Supplier Contact.

 

This is a very useful functionality in Flexplm, but this is missed out in PDMLink, or do we have it now in Windchill 11?

 

Anyone feel the same thing?

 

My company is in PDMLink 10.2.

 

Best Regards

Hari

The identifying information for the objects being processed is corrupted.

$
0
0

Hi All,

 

when i try to add a user or group to role in Team, i got the "Attention : The identifying information for the objects being processed is corrupted." msesasge pop up and operation was not complete.

 

Same thing happens when i try to remove the user/group from team.

 

i am using windchill 10.1M040.

I checked MS log, but no realted error, message was not found.

 

Please any one can help me to fix this issue.

 

Regards,

Vivek


Project resources report in Query Builder

$
0
0

Hi,

 

I would like to create a report using the Query Builder (Windchill 10.0 M030) that lists all the resources and the project they are linked to. It could look like this:

 

Resource NameProject Name
Resource 1Project 1
Resource 1Project 2
Resource 2Project 1
Resource 3Project 3

 

Thank you !

Change publish recipe per object state

$
0
0

Currently we are always publishing to PLT's, which is great for markups and coordination.  However, for our 'released' parts we would like to also publish a PDF of the cad drawing, and possibly a STP file for the cad part.  I cannot seem to find a simple way to enable this functionality.  The only thing I have found is making a some custom filters that push certain publish jobs to certain queues based on the state of the object being published.  Specifically https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS132318 seems like it is close, but needs to be customized to arrange by lifecycle state rather than document type. 

 

Have others implemented something similar?  Or am I missing something much easier to implement/maintain?

 

Thanks, Max

In which table are the Windchill user credentials are stored in Database ?

$
0
0

Hi All,

 

In which table are the Windchill user credentials stored in Database ? Is it WTUser or any other table ?

 

And within Windchill DS as well we can see the user name, password email etc. So in which other table it does store ?

 

Can you please let me know.

 

Thanks and Regards,

Aditya Achanta

Revising Change Notices/Activities

$
0
0
Good Morning all,

I have been asked to research and test the Change Notice/Activity revision capabilities in the Windchill system.
I'm currently running 10.1 M030, and have the CN/CA revisions working as expected on my test machines.

My question is: Who out there is currently using this capability in a production environment, and if you could share your business case for using it in this manner.

In my case, I'm being asked to create a single CN/CA workflow that will promote the documents on it to three different release states by revising the CN/CA for each promotion to the different release states (prototype, pre-production, production).
I'm just looking for some good reasons to structure it this way, instead of creating separate CNs for each release state change.

Thanks in advance for any insight you can share on this subject.

Mike

How to fetch the subtypes of Project in ProjectLink?

$
0
0

Hello,

 

I have a requirement that I need to fetch all the subtypes of the Project type.

 

can you please let me know the available API for this?

 

Thanks in advance.

Best Regards,

John

Viewing all 5797 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>