Quantcast
Channel: PTC Community : All Content - Windchill
Viewing all 6049 articles
Browse latest View live

New to 10.2: Promotion Request rights worse than previous versions?!!

$
0
0

According to my research and the below SPRs, it appears that the rights for users to promote files are worse than previous versions of Windchill. Has anyone seen this? PTC does not want to fix it in 10.2.

  1. Users can promote checked out objects
  2. Promotion Requests with checked out objects will hand in the OPEN state and not change to UNDER REVIEW
  3. Objects UNDER REVIEW can be checked out

 

SPRs:

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS158224&source=Case%20Viewer

https://support.ptc.com/appserver/cs/view/spr.jsp?n=2892612&source=Case%20Viewer


Cloning production system to dev system located at a different physical location

$
0
0

I need to clone our production system to a development environment which is located in a different location as the production system. Any suggestions on reducing the size of the export so that it less hassle to move from one location to the other? In the past we have exported the entire database which is quite large and we put the export on a disk and shipped it to the other location.

Does anyone know how to send out automatic emails after an account is created in Windchill?

$
0
0

All,

 

We want automatic emails to go to the people whose accounts were just created in Windchill. Does anyone know or has a process designed?

 

Thanks,

Mitch

Linux, Apache and LDAPS connection questions

$
0
0

We are working to connect to a new domain within the company and I have all of the right JNDI adapter, domain credentials, paths, filters, etc. working.  The problem I'm having is getting Apache to work correctly with LDAPS.  The connection works with just the LDAP version of the connection string so I know that my connection information is correct. 

 

We have the root certificates installed at the OS layer and also specified in the httpd-ssl.conf file under Apache.  I believe it's a certificate issue because it's working just using LDAP.  As soon as I go to LDAPS and the corresponding port, I have the problem.

 

I'm looking for any guidance that you can offer where I could spot check.  I'm sure it's something small at this point but it's eluding me.  Thanks.

Search for Generic and or Instance in Intralink 10

$
0
0

I am trying to find lost vendor components that need to be moved to the library. Most of these are family table related. Is there a way to search for generic/Instance/family table in intralink 10? 

Secret/Secure projects

$
0
0

Hi all,

 

I'm looking for some advice on strategies for handling design work in our company that needs to be kept secure/secret from all users except those specified as having permission to access it. Additionally, those people who are given access should only have access for as long as they need it to do their work and then their access should be disabled.

 

I've done some looking into possible solutions like security labels, projects (project link), and using products with "private access". Can anyone in the group chime in on what they've done? What solutions have you implemented and what long term ramifications do I need to be aware of?

 

FYI we are a contract house building automation solutions so we produce large numbers of new designs to release on a yearly basis. Probably on the order of 400+ newly released assemblies each year with an average of 200 unique constituent parts/subassemblies. Rarely do any of these objects get revised once they reach the final released state. I point this out because managing each design in a separate product context may be a challenge. We currently manage all designs in a single context with sub-folders for each machine we're designing. This may play an important roll in a good strategy to handle Secret/Secure projects.

 

Any input you all can offer will be much appreciated.

 

Steve Pikaart

NPAPI Plugins in Firefox

Set custom UOM while creating a new Part with using code.

$
0
0

I have custom UOM in Windchill loaded to QuantityUnitRB, but I am not able to create a new Part with custom UOM using code.

 

getting the values via

QuantityUnit[] qu = QuantityUnit.getQuantityUnitSet();

 

but when I set to part, getting null pointer .

 

Has anyone come across this. Please suggest the way to do this.

 

Thank You,


Download Latest version/iteration of EPM document

$
0
0

Hi Windchillers,

 

Iam trying to download the latest copy of EPM document by using the following code; but the content downloaded is non latest. What could be the issue :

 

package com.phoenix.listen;

 

 

import wt.content.ApplicationData;

import wt.content.ContentHelper;

import wt.content.ContentItem;

import wt.content.ContentServerHelper;

import wt.content.FormatContentHolder;

import wt.epm.EPMDocument;

import wt.fc.PersistenceHelper;

import wt.fc.QueryResult;

import wt.query.QuerySpec;

import wt.query.SearchCondition;

import wt.util.WTException;

 

 

public class EPM_Doc_Pass {

 

 

  public static boolean downloadFile(EPMDocument epmDoc, String downloadDirectory) {

    boolean result=false;

  ContentItem primaryContent=null;

  String wtTemp = System.getProperty("wt.temp");

  String fullName = wtTemp + "//" + downloadDirectory + "//" + epmDoc.getCADName();

  String Docname = epmDoc.getName();

  try {

  // EPMDocument

  if ( !epmDoc.isGeneric() ) {

  QuerySpec qs = new QuerySpec (EPMDocument.class);

  

   qs.appendWhere(new SearchCondition(EPMDocument.class,EPMDocument.NAME,SearchCondition.LIKE,Docname));

   qs.appendAnd();

   qs.appendSearchCondition (new SearchCondition (EPMDocument.class, "iterationInfo.latest", SearchCondition.IS_TRUE));

 

   QueryResult qr = PersistenceHelper.manager.find(qs);

                              

     while (qr.hasMoreElements()) {

               EPMDocument epmDoc1= (EPMDocument)qr.nextElement();

               System.out.println(epmDoc1.getCADName()+ epmDoc1.getVersionDisplayIdentifier()+epmDoc1.getIterationDisplayIdentifier());

               epmDoc1 = (EPMDocument) ContentHelper.service.getContents( epmDoc1 );

               primaryContent = ContentHelper.getPrimary((FormatContentHolder)epmDoc1);

               if ( primaryContent!=null )

               {

               System.out.println("downloadFile >>> EPMDocument, writeContentStream : " + fullName );

               ContentServerHelper.service.writeContentStream( (ApplicationData)primaryContent, fullName );

               result=true;           

  

}

              

                 

 

    }

  }

 

  }

  catch (Exception _e) {

  _e.printStackTrace();

  return false;

  }

  System.out.println("downloadFile >>> OUT...");

  return(result);

  }

}

What will you do when Microsoft ends support for IE9?

$
0
0

We are currently running Windchill 10.1 M040 and Creo Elements/Pro 5.0 M200 on Windows 7 machines. The company would like to upgrade to the IE11, however with our configuration, the highest IE version we can use and still be supported by PTC is IE 9 (limited by Pro). Of course the problem with IE 9 is that Microsoft is ending support in January.

 

PTC’s stance is upgrade.

 

We have plans to upgrade, but not before the January deadline. We could also use Mozilla/Chrome, but our company prefers IE as the default browser and distributing SSL certs is a pain when using Mozilla as the internal Pro browser. We could try IE Enterprise Mode, which is supposed to work like compatibility mode I guess, but PTC doesn’t support it. I think we'll probably end up going down the Mozilla route as it is actually supported by PTC.

 

Anyone else in the same boat? If you are, what is your company’s solution?

bandwith estimation for MPMLINK clients browsers

$
0
0

Hi,

 

I would like to know the bandwith estimation per WEB browser client necessary  for server communication for MPMLINK . We suppose the following

-No use of CAD data

 

regards

laurent

Output of primary contents to file server

$
0
0

Hi,

 

we have users who do not have access to PDMLink, but needs some documents stored in it.

 

Those documents are stored in PDM and there is an approval workflows where the documents is reviewed and released.

 

After the release process, messages are sent out to all related people, who needs to view the file.

 

However, there are colleagues who do not have access.

 

For them I would like to store the released document on a certain file server and send them the link to the file server.

 

Is there any smart way to send the document (= primary contents) to one or more file servers after successful release process AUTOMATICALLY?

 

Every help would be fine.

Kind regards.

Facing issue while getting Business Attribute of a WTpart by using NEW_VERSION event

$
0
0

Hi All,

 

My requirement -> fetch a Business Attributes of WTPart, just after the WTPart creation.

 

for this purpose, i am using this event " VersionControlServiceEvent.NEW_VERSION ".

i am able to get part Name,number, creator, timestamp etc here, but when i try to fetch Business Attributes, its gives value null, even there a business attribute present with valid values.

 

Here is My code, Please let me know where i am doing wrong ?

Any help will be great !!

 

1. VersionEventListenerAdapter.java

-------------------------------

package ext;


import wt.epm.EPMDocument;
import wt.events.KeyedEvent;
import wt.fc.PersistenceHelper;
import wt.fc.QueryResult;
import wt.fc.ReferenceFactory;
import wt.fc.WTReference;
import wt.part.WTPart;
import wt.query.QuerySpec;
import wt.query.SearchCondition;
import wt.services.ServiceEventListenerAdapter;
import wt.util.WTException;
import wt.util.WTPropertyVetoException;
import wt.vc.VersionControlServiceEvent;


public class VersionEventListenerAdapter extends ServiceEventListenerAdapter {


  public VersionEventListenerAdapter(String serviceId) {     super(serviceId);  }  public void notifyVetoableEvent(Object event) throws WTException, WTPropertyVetoException {     if (!(event instanceof KeyedEvent)) {         return;     }     Object target = ((KeyedEvent) event).getEventTarget();     Object eventType = ((KeyedEvent) event).getEventType();         System.out.println("FROM @@@@@@@@@  Target >>>>> "+target);     System.out.println("FROM @@@@@@@@@  eventType >>>>> "+eventType);         ReferenceFactory refFactory = new ReferenceFactory();  WTReference ref = refFactory.getReference(target.toString());     if (eventType.equals(VersionControlServiceEvent.NEW_VERSION))     {        /** Call your business code here            example : yourMethod(target);         **/      System.out.println(">>>>>>>> INSIDE EVENT TYPE >>>> ");          if(target instanceof WTPart){      WTPart wtp = (WTPart)ref.getObject();          System.out.println("Name >> "+wtp.getName());      System.out.println("Number >> "+wtp.getNumber());      System.out.println("Created By >> "+wtp.getCreatorFullName());      System.out.println("Creation Time >> "+wtp.getCreateTimestamp());      System.out.println("Time >>> "+System.currentTimeMillis());      System.out.println(" VERSION >> "+wtp.getVersionIdentifier().getValue()+"."+wtp.getIterationIdentifier().getValue());      System.out.println("======= =================");                // below code to fetch attribute GOB_WEIGHT      com.ptc.core.lwc.server.LWCNormalizedObject obj = new com.ptc.core.lwc.server.LWCNormalizedObject(wtp, null,             java.util.Locale.US, new com.ptc.core.meta.common.DisplayOperationIdentifier());          obj.load("GOB_WEIGHT");      java.lang.String string_value = (java.lang.String) obj.get("GOB_WEIGHT");      System.out.println("Soft attibute value : " + string_value);      }     }  }  }

 

2. MStandardListenerService.java

package ext;


import wt.services.ManagerException;
import wt.services.StandardManager;
import wt.util.WTException;
import wt.vc.VersionControlServiceEvent;


public class MStandardListenerService extends StandardManager implements MListenerServiceInterface {


  private static final long serialVersionUID = 1L;  protected synchronized void performStartupProcess() throws ManagerException {     VersionEventListenerAdapter versionEventListenerAdapter = new VersionEventListenerAdapter(getName());     getManagerService().addEventListener(versionEventListenerAdapter, VersionControlServiceEvent.generateEventKey(VersionControlServiceEvent.NEW_VERSION));     getManagerService().addEventListener(versionEventListenerAdapter, VersionControlServiceEvent.generateEventKey(VersionControlServiceEvent.PRE_NEW_VERSION));     getManagerService().addEventListener(versionEventListenerAdapter, VersionControlServiceEvent.generateEventKey(VersionControlServiceEvent.POST_INSERT_ITERATION));     getManagerService().addEventListener(versionEventListenerAdapter, VersionControlServiceEvent.generateEventKey(VersionControlServiceEvent.POST_ROLLUP));     getManagerService().addEventListener(versionEventListenerAdapter, VersionControlServiceEvent.generateEventKey(VersionControlServiceEvent.POST_SUPERSEDE));      }  public static MStandardListenerService newMStandardListenerService() throws WTException {     MStandardListenerService instance = new MStandardListenerService();     instance.initialize();     return instance;  }
}

 

 

Please check and suggest me.

 

Regards,

Vivek

How to set up a Windchill PDMLink test system

$
0
0

Hi everybody,

 

I need to set up a Windchill PDMLink test system. So I´m trying to install windchill on a local machine (don´t want to touch the prod server ).

As manual serves this http://ark-plm.com/monolithic-installation-windchill-pdmlink-10-2-windows-server-2012/

When using the PTC sollution installer, I´m getting a problem: "Connection with HTTP-port not possible" (not sure about the correct translation - message is in german). I am using standard port (see picture below) and firewall is off.

Any suggestions why I can´t reach the machine? Why is the installation process doing this test?

Unbenannt.JPG

 

Best regards,

 

Benjamin

How do i auto populate an attribute?

$
0
0

We are creating new parts using WTParts.  We input an orgid/Cage Code that is associated with the part.What we want is on the details page is to display the Vendor that is associated with the orgid.  For instance, if when creating the new part in the project we assign the orgid "XXXXX" that belongs to "ABC Company" we would like to have an attribute on the details page "Vendor" that displays "ABC Company" with out the user having to input both attributes.  The "Vendor" attribute needs to be able to lookup the owner of orgid "XXXXX" and display that information.

 

I hope I have made this somewhat clear.

 

Thanks for the help in advance.

 

Steven


Allow access to Windchill 10.1 for users on another domain?

$
0
0

Can anyone tell me how difficult is it to allow access to Windchill 10.1 for users on another domain?

 

We now have a parent company with users on other domains that we need to allow access to Windchill.

 

We are on a global network, and we have multiple domains for our different companies. Our ADs are on different domains for each company so I am unable to add users from other domains that need access.

 

Our current users can access windchill from any of the domains, but I cannot add users from the other domains. I can however add users from the other domains into security groups in our current AD, but I cannot add them as users to windchill.

 

Is it possible to give access ti users from another domain?

 

Thanks in advance for any assistance.

Modifying the Change Request email text

$
0
0

One of our options we have put in the CR form is multiple entry field for which group within the company will be impacted by the change.

The first option we are thinking of is to have the email only be sent to those members of the impacted teams. There could be anywhere from 1 to 10 teams and each team may have multiple members.

The second option would be for the email notification text to just include the name(s) of the teams that have been selected. Currently the email goes to all members of the IPT groups and then some call and ask why they received an email for that task. If we had the impacted areas listed on the email form, that would tell some people they can ignore it.

 

I know part of the email that is sent is dynamically created because we recently added a new CR method (Trivial) and it shows up in the list of options displayed in the email for actions. If someone knows where and the name of the file that is stored that is used for the email that would help in starting on the second option. Thinking some more, is the email text generated from the information in the Workflow itself under instructions?

 

Windchill 10.0 m040

Current Assignee on Details page of Change Notice/Activity/Request

$
0
0

Is there a way to get the current assignee of a Change task onto the details page of that task. It could be a Change Notice, Change Activity, Change Request, Problem Report, etc. Basically anything that uses a workflow.

 

Before someone goes there, we have a report that shows the current assignee for Change Notice/Activity task in the system. However, getting to and running this is a lot more clicks (and more clunky) than just doing a search for ECO 12345 and hitting the details page.

 

I have to assume there would be a way to show this considering I can see who the assignee is simply by going to the Process tab and looking in the 'Tasks for Change Process' table. Again, extra clicks I would eliminate if it's an easy implementation. I realize I would most likely have to make the change to each sub-type individually and then manipulate the layout of each sub-type, but that's just tedious work, not hard work, so I can live with that.

Getting useful Change Notice info from Windchill

$
0
0

I'd like to compare and track efficiency at the different stages in a Change Notice.  How can I get basic information such as the Date Started and Date Completed for the "Tasks for Change Process" in a Change Notices?   The OOTB reports do not seem to include this. Can the OOTB reports be modified to add this? Do I have to go to the full blown Cognos license to get anything really useful?  Thanks!

logout functionality in Windchill??

$
0
0

hello everyone,

there is any method or process to logout the user form windchill?

one scenario is there is one system on which multiple user work, they want to logout the session? but they close the session every time for a user?

 

thanks in advance

Viewing all 6049 articles
Browse latest View live