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

How to get new Tabs in the Type and Attribute Manager Layouts

$
0
0

Hi there,

 

I'm trying to enhance our Change Requests with significantly more information/data fields at the request of our users and I'm looking into ways of doing it. I know that in the Type and Attribute Manager for Change Requests in the Layout section is where the main displays are defined, and in the More Attributes and Primary Attributes layouts I can define data Groups and give an individual group multiple Columns of info. However...what if I wanted to add a completely new data Tab?

Adding a new tab in the ordinary view screen of the Change Request and deploying it system-wide to the Users doesn't work, since that only allows me to pick from the primary system data functions like General/Attributes, History/Maturity History, etc...is it possible to modify the OOTB Details screen to have subtabs with additional sections, or to add a new custom raw-data tab at the top of the main view with specific data fields that I want?

 

Please advise,

 

Daryl


remote method server exception querying WfProcess

$
0
0

Hello Gurus.

I am trying to retrieve the global Process variables of a Change Notice from a Change Activity.

Running the code below I get the  following error:

 

 

 

CA is 07138

CN is 06489

Reference is  wt.change2.WTChangeOrder2>671258721

Object is  wt.change2.WTChangeOrder2:671258722

qrWfProc  wt.fc.QueryResult@5039f4d3

WARNING: The ManagerService is not initialized!  This can be caused by:

1) Attempting to invoke a server only method from a remote client

2) Attempting to invoke a method on a service from the constructor or static initializer of another service

Exception in thread "main" java.lang.ExceptionInInitializerError

at wt.workflow.engine.WfProcess.getName(WfProcess.java:1425)

at wt.workflow.engine.WfExecutionObject.toString(WfExecutionObject.java:710)

at wt.workflow.engine.WfProcess.toString(WfProcess.java:296)

at java.lang.String.valueOf(Unknown Source)

at java.lang.StringBuilder.append(Unknown Source)

at ext.ChangeNotice2.main(ChangeNotice2.java:47)

Caused by: java.lang.NullPointerException

at wt.access.AccessControlServerHelper.<clinit>(AccessControlServerHelper.java:77)

... 6 more

 

The code that I used is:

 

package ext;

import wt.change2.ChangeHelper2;
import wt.change2.WTChangeActivity2;
import wt.change2.WTChangeOrder2;
import wt.fc.ObjectIdentifier;
import wt.fc.PersistenceHelper;
import wt.fc.QueryResult;
import wt.fc.ReferenceFactory;
import wt.fc.WTReference;
import wt.method.RemoteAccess;
import wt.method.RemoteMethodServer;
import wt.util.WTException;
import wt.workflow.engine.WfProcess;
import wt.workflow.engine.WfVariable;

public class ChangeNotice2 implements RemoteAccess {

public static void main(String[] args) throws WTException {
  // TODO Auto-generated method stub
 
  RemoteMethodServer rms = RemoteMethodServer.getDefault();
  rms.setUserName("wcadmin");
  rms.setPassword("wcadmin");

  ObjectIdentifier oid = ObjectIdentifier.newObjectIdentifier("wt.change2.WTChangeActivity2:671258847");
  WTChangeActivity2 ecaOID = (WTChangeActivity2) PersistenceHelper.manager.refresh(oid);
  System.out.println("CA is " + ecaOID.getNumber());

  QueryResult qr = ChangeHelper2.service.getChangeOrder(ecaOID);
  while (qr.hasMoreElements()) {
   Object obj = qr.nextElement();
   if (obj instanceof WTChangeOrder2) {
    WTChangeOrder2 ecn = (WTChangeOrder2) obj;
    System.out.println("CN is " + ecn.getNumber());
    ReferenceFactory rf = new ReferenceFactory();
    WTReference ref = (WTReference) rf.getReference(ecn);
    System.out.println("Reference is  " + ref);
    System.out.println("Object is  " + ref.getObject());
    WTChangeOrder2 wtChangeOrder = (WTChangeOrder2) ref.getObject();

    QueryResult qrWfProc =  wt.workflow.engine.WfEngineHelper.service.getAssociatedProcesses(wtChangeOrder, null, wtChangeOrder.getContainerReference());
    System.out.println("qrWfProc  " + qrWfProc);
    while (qrWfProc.hasMoreElements()) {
    
      WfProcess process = (WfProcess) qrWfProc.nextElement();
      System.out.println("Process is " + process);
      WfVariable vars[] = process.getContext().getVariableList();
      for (WfVariable var : vars) {
       System.out.println("Printing Variable " + var.getName() + "---value---" + var.getValue());
      }
    }
   }
  }

}

 

Any help will be appreciated

 

Thanks

 

Antonio

Unable to register Creo and Auto CAD with PDM Essentials 10.2 M030

$
0
0

Hi all,

 

I'm trying to integrate Creo 3.0 M080 and Auto CAD 2016 with Windchill PDM Essentials 10.2 M030 (CPS13) but getting error " Invalid server location".

We've Windchill url like abc.xyz.com:81/Windchill. We're using port 81 for web server.

We're able to access windchill through browser with out any problem but  unable to do CAD integration.

I'd like to mention that we're not using VPN to access Windchill server and default browser for Creo is IE.

Kindly help me out.

 

Regards,

Krishna Chaithanya.

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?

ACL's Extraction and Loading from Windchill 9.1 to Windchill 10.2 System

$
0
0

Hi All,

 

If we want to migrate ACL's from the source system Windchill 9.1 M010 to target system Windchill 10.2 M020. How would we do that ? Can you please answer the below questions

 

1. ) Do we need to write a custom utility for extracting ACL's from the source system ? If yes, can anyone please share a sample code related to the same.

2. ) As and when we migrate data from the source system to that of target system using Windchill Bulk Migrator the extracted data first loads into the staging database and from the staging database the data gets extracted into the target Windchill system. So upon extracting ACL's from the source system will they also be stored in the staging database. If yes where ?

3. ) Upon saying retrieving or extracting ACL's what is it are we extracting ? What is the output going to be like ? Is it an xml file or something else ? What is ACL's extracted output ? Say for suppose if we are extracting WTPart or WTDocument object types we can see all the object related data in the staging database and upon loading in target system and its database. So where will the ACL's be stored in the system ? Is it in the staging database or anything else ? Can anyone tell the name of the table ?

4. ) Upon creating an ACL in Policy Administrator will it make an entry in the Windchill folder. If yes which particular file will be internally modified and how to see that ?

 

Please answer these questions so that I can get some idea on ACL extraction and loading into target system.

 

Thanks and Regards,

Aditya Achanta

java.lang.Exception: deploy failed for (ie) with return code = 1

$
0
0

Hello,

I get this error java.lang.Exception: deploy failed for (ie) with return code = 1 >

 

 

when trying to install Windchill PDMLink 11.0. on to a Windows Server 2012 Std R2 64Bt OS. Can some one help.

 

Thanks,

Ming

 

PTCSOLNINSTALLER_PtcInstall

LOG:

 

INFO   2016-05-09 16:27:30 - 

INFO   2016-05-09 16:27:30 - Total time: 30 seconds

INFO   2016-05-09 16:27:30 - Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0

DEBUG  2016-05-09 16:27:31 - Installation is Aborting.  The installation cannot continue.

DEBUG  2016-05-09 16:27:31 - 正在中止安裝。 無法再繼續安裝。

 

FATAL  2016-05-09 16:30:32 - Aborting installation.

FATAL  2016-05-09 16:30:32 - 正在中止安裝。 無法再繼續安裝。

 

FATAL  2016-05-09 16:30:32 - java.lang.Exception: deploy failed for (ie) with return code = 1

FATAL  2016-05-09 16:30:32 - aborting: original exit_code = 2

FATAL  2016-05-09 16:30:32 - aborting: normalized exit_code = 2

DEBUG  2016-05-09 16:30:32 - SHUTDOWN REQUESTED

DEBUG  2016-05-09 16:30:32 - (X) commiting registry

DEBUG  2016-05-09 16:30:33 - (X) shutting down service manager

DEBUG  2016-05-09 16:30:34 - (X) cleaning up temporary directories

DEBUG  2016-05-09 16:30:34 - Exiting with exit code: 2

DEBUG  2016-05-09 16:30:34 - java.lang.NullPointerException

DEBUG  2016-05-09 16:30:35 - cleanUp()

DEBUG  2016-05-09 16:30:35 - calling cleanUpWin32()

"Open in Creo" from browser opens 2nd Creo session

$
0
0

Creo 2

PDMLink 10.1 M050

 

I have users that sometimes have both Creo open logged into PDMLink and a separate IE browser logged into PDMLink.

 

If they use the "Open in Creo" in Creo to open another CAD file it will use the existing session.  However, if they do the same thing through IE it will open a 2nd Creo session.

 

Is there a way to stop that?  I don't want to disassociate the .pha file as a solution because I assume it would remove it from being usable through Creo.  I want to know how to make the "Open in Creo" check if Creo is already running and then use that session.

Replace user in team

$
0
0

Our engineering manager got moved to an advanced R&D project, so a new manager was appointed. The manager had sign-off rights in the team for promotion requests.

 

1) Add the new manager to the team and remove the old manager. This should preserver the old manager's name on any promotion requests he may have approved while new promotion requests will be assigned to the new manager, Running processes will still be assigned to the old manager.

2) Replace the old manager with the new manager, using the replace icon. This should update any running workflows to the new manager, leaving the old manager on any that he had approved and assign all new requests to the new manager.

3) Put the managers into a group, they are named to the team currently, and add/delete the new/old manager in the group. This should be identical to #1 in terms of functionality, but the changes is done from the Participant's group menu instead of the team menu.

 

What is the best method for adding the new manager and removing the old one?

Is there an advantage to one method over another?

Anything missing in my assumed logic of how this should work?

 

Ben

Windchill 10.0 m040


Configure Custom Action JSP Popup as per PTC MVC Framework (WC 11)

$
0
0

How does one go about configuring their Custom Action JSP Popup with PTC's MVC Framework in WC 11?
My JSP functionality is good to go and I just need to make it look consistent with some of the OOTB popup interfaces.

 

Any help/suggestion/recommendation is appreciated.

Thanks,

Is there a way to simplify naming of CAD documents?

$
0
0

We are using Creo Parametric 2.0 with Windchill 9.1; currently upgrading to 10.2.

Can something be done to simplify the (re)naming/numbering of our CAD files?

The system automatically assigns the Number based on the Filename of the CAD document - that is good.

But when renaming objects, we currently have to do the double work of entering the same text for the new Filename and the new Number..

 

Is there a way to automatically make the Number be the same as Filename, and also gray-out or better yet hide the Number columns from the re-name tables?

What is the difference between Hard Type and Soft type and what are Modeled Attributes, Standard Attributes, Global Attributes

$
0
0

Hi All,

 

Can anyone please tell me the difference between Hard Type and Soft Type and also the differences between Modeled Attributes, Standard Attributes and Global Attributes?

 

Thanks and Regards,

Aditya Achanta

Can the document type be changed when creating new documents with the browser drag and drop functionality?

$
0
0

Is it possible to change the document type when creating new documents with drag and drop within Mozilla browser? Even setting the preference "Create and Edit -> Document Create Default Type" seems only to affect "Action -> New...". Currently we have PDMLink 10.2 M030 CPS04 installed.

How do I create an Item Backed Picklist attribute in Windchill?

$
0
0

The title pretty much says it all: how do I create an Item Backed Picklist attribute in PDM-Link?

 

For those of you who may not have a blinking clue of what I'm talking about, I learned about these during the time our company has been preparing to deploy an Integrity installation on top of our Windchill system for Requirements Management, and a situation has come up where at least one of them could be very, very handy in Windchill. To put it in perspective, you may already know about the selection-list style of Global Attribute that you can already make in PDM-Link in the Type and Attribute Manager, either by radio buttons or drop-down list, and you make the list of options by putting entries in the Legal Value List on the Constraints tab, using | to separate each one. Once you go past maybe 6 entries maintaining one of those sets of values can get a bit messy. And the new need for us that has come up would very likely have to have several hundred options, constantly changing. I think you can see the issue here .

 

With an Item Backed Picklist attribute, I could link the attribute to a new custom object type that I would create, with very basic lifecycle templates and the like, and then create as many instances of that object that were needed to be the several hundred options, in a Library context that was visible to every user in the system, and then when editing the Part (which is where I want to add the attribute) I could just select from the list of created object instances for the one that matched. Like what happens in the Integrity variant.

 

I tried experimenting with the Reference attribute type in the Type and Attribute Manager, but it didn't really seem to work and match what I was looking for. Any ideas anyone?

 

Daryl

Solr Installation On Existing Windchill PDMLink

$
0
0

Hi All,

 

I want to install Solr index search on existing Windchill (PDMLink 10.1 M050).

Going to do it for first time, Any detailed procedure and suggestions would be great.

Thanks in advance.

 

Regards,

Krishna Chaithanya.

How to get list of Released objects(documents) in mail notification in promotion approval request?

$
0
0

Hi Gurus,

 

I have one customer requirement that, After approving the list of promotion objects, those object names, numbers and version should be included in a mail notification.

Kindly suggest if there is any work arounnd/customization code available for the same.

 

 

 

Regards,

Mahesh Kumar G


File Based Series : Remove Delimiter and increase the depth for versioning

$
0
0

Hi All,

 

I had created a series in this way as I had started a discussion regarding the same.

 

File Based Series : The series or seed is undefined

 

However I even wish to remove the delimiter say for suppose as upon revising or check out and check in it gets modified as V1.1 V1.2

So I dont want that delimter dot (.) to be there. I had seen the PTC Tech support portal for this and found few cases

 

Step 1.)

I went to wt.properties file and found the property. I made two modifications in wt.properties file

 

wt.series.HarvardSeries.delimiter=.

 

So I removed the dot and equaled it with nothing as

 

wt.series.HarvardSeries.delimiter=

 

Step 2.)

 

wt.series.HarvardSeries.depth=16

 

So I updated the depth as 99

 

wt.series.HarvardSeries.depth=99

 

But after this the method server failed starting which is showing an error like

 

2016-05-12 11:36:27,662 INFO  [main] wt.system.err Administrator - Error initializing wt.series.HarvardSeries

2016-05-12 11:36:27,701 INFO  [main] wt.system.err Administrator - java.lang.StringIndexOutOfBoundsException: String index out of range: 0

2016-05-12 11:36:27,721 INFO  [main] wt.system.err Administrator - at java.lang.String.charAt(String.java:686)

2016-05-12 11:36:27,723 INFO  [main] wt.system.err Administrator - at wt.series.HarvardSeries.readStaticProperties(HarvardSeries.java:1042)

2016-05-12 11:36:27,728 INFO  [main] wt.system.err Administrator - at wt.series.HarvardSeries.<clinit>(HarvardSeries.java:164)

2016-05-12 11:36:27,729 INFO  [main] wt.system.err Administrator - at java.lang.Class.forName0(Native Method)

2016-05-12 11:36:27,751 INFO  [main] wt.system.err Administrator - at java.lang.Class.forName(Class.java:171)

2016-05-12 11:36:27,752 INFO  [main] wt.system.err Administrator - at wt.series.Series.getClassForName(Series.java:309)

2016-05-12 11:36:27,752 INFO  [main] wt.system.err Administrator - at wt.series.MultilevelSeries.newMultiLevelSeriesFromSeriesName(MultilevelSeries.java:554)

2016-05-12 11:36:27,753 INFO  [main] wt.system.err Administrator - at wt.series.MultilevelSeries.newMultilevelSeries(MultilevelSeries.java:210)

2016-05-12 11:36:27,754 INFO  [main] wt.system.err Administrator - at wt.vc.VersionControlHelper.<clinit>(VersionControlHelper.java:141)

 

So how to remove the delimiter for the custom_series class that I had created.

 

Thanks in advance. Kindly let me know

 

Thanks and Regards,

Aditya Achanta

File Based Series : The series or seed is undefined

$
0
0

Hi All,

 

I had created a new file based series for a sub type of WTDocument in Windchill_10.1\Windchill\loadFiles\pdmlink\custom_series.xml

 

Step 1.)

<?xml version="1.0" encoding="UTF-8"?>

<scheme>

  <series name="name1">

  <value>V1</value>

  <value>V2</value>

  <value>V3</value>

</series>

   <series name="name2">

  <value>V_1</value>

  <value>V_2</value>

  <value>V_3</value>

</series>

</scheme>

 

Step 2.)

After creating this series I had loaded this into Windchill from shell thereby running the command

windchill wt.series.LoadFileBasedSeries custom_series -load

This loaded successfully


Step 3.)

Upon Loading I had saved the current file or lists thereby running the below command in Windchill Shell

windchill wt.series.LoadFileBasedSeries custom_series -read

This was also loaded successfully and then I restarted Windchill.

 

Step 4.)

After that I went to OIR and downloaded the composite rule of the sub type of WTDocument that I created and edited the file to add the custom series.

<AttrValue

    id="MBA|versionInfo"

    algorithm="com.ptc.core.foundation.vc.server.impl.VersionInfoGenerator"

    <Arg>wt.series.HarvardSeries.custom_series</Arg>

  </AttrValue>

And then I uploaded my OIR file back to that sub type.

 

Step 5.)

And then I started creating a sub type of WTDocument

It says the series or seed is undefined and I am not able to create the document of that type

 

Can you please let me know where I had gone wrong ? Or is there any other step which is missing.

Thanks in advance.

 

Thanks and Regards,

Aditya Achanta

What are the new features in Windchill 11 compared to Windchill 10 in Migration, Upgrade and other functionalities ?

$
0
0

Hi All,

 

What if we wish to migrate/upgrade data from Windchill 10 to Windchill 11 . Are there any tools or enhancements in Windchill 11 which makes the upgrade and migration more easier ? And kindly let me know about the other functionalities as well which makes Windchill 11 better to use than Windchill 10

 

Thanks and Regards,

Aditya Achanta

Predecessor Relationships Constraint not working in Plan activites(ProjectLink)

$
0
0

 

I am using Windchill ProjectLink 10.2 M030.

 

I have created a project plan which has 5-6 activities, which needs to start after one another.

 

i.e Activity 2 must start on completion of Activity 1 only and Activity 3 to start after completion of activity 2 and so on.

 

Hence in activty 2, I have given the predecessor relationship as "1FS" and in activity 3, "2FS" and so on.

 

But on starting the project, all activities are available at the same time for respective users and activities are not following the reqd sequnce.

 

Activity does not wait for predecessor avtivity to complete.

 

Has anyone faced similar issues while working on ProjectLink? Any help regarding the same would be appreciated.

 

Best regards

 

Sharath

ProjectLink Plan Issues

$
0
0
Hello,
  We are using ProjectLink with Automatic Executing tasks and have been experiencing a large amount of random issues with our plans. I am curious to know if anyone out there is experiencing any of the issues mentioned below and if they have found a root cause.


1.       Activities starting before their predecessor activities are complete.

2.       Activities being automatically cancelled.

3.       Task update causes the task to complete.

4.       Projects created with a space at the end results in a "Conflicting Entry Error".

5.       Project Manager / Project Creator does not have access to modify a newly created project for which they created (getUsers failed error).

6.        Activity Owners cannot signoff or update a task that is assigned to them.

7.       Project that was created as "Automatic Executing with Task Delivery" somehow changed to "Manual Executing". The ability to change this is not available. This was a system change.

8.       Task percentages and dates are not rolling up to the activities.

9.       The duration is getting set to "0", the predecessors are being removed and the task is getting marked as complete. All of these happen without any user interaction.

10.   Setting a task with a "0" duration, causes the task to complete by itself. The "0" duration is used when an activity or multiple activities can happen in the same day.

  We are on 8.0 M050 and our projects are created with a project template. We originally used a defined project as our template but per the advice of PTC, we have transitioned into project templates.

  Because we do not know the steps to reproduce, we have not been able to find a solution. We have 2 to 10 projects breaking per week with one or more of the above issues. This causes our project managers to spend half the day rebuilding these plans.

  If anyone has experienced these types of issues and can offer some advice, I would sure appreciate your reply.

Thanks for your time,
Dax Williams
Business Administrator, Windchill
Lifetime Products, Inc.
dwilliams@lifetime.com<">mailto:dwilliams@lifetime.com>

[Lifetime_Logo_BlkWhite_Sans_email sig]

Viewing all 5797 articles
Browse latest View live


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