Does anyone know if you can relate one baseline to another? Has anyone customized that?
Also looking to find out if anyone knows how if a baseline can be set up or customized to allow for revising?
Does anyone know if you can relate one baseline to another? Has anyone customized that?
Also looking to find out if anyone knows how if a baseline can be set up or customized to allow for revising?
While creating a document subtype as organisation admin I am getting error message as "Current User is not authorized to access "com.ptc.ptcnet.PTCPubDoc". can any body help me to resolve this problem?
In our problem report workflow feedback is sent to a bunch of people. Some of them are not Windchill users and the only information available is an email adress collected from an problem report attribute. At the moment we transfer this attribute (email) to a workflow variable and use a seperate java class to send mail feedback. This approach is working, most of the time. My question is, could this be done with the OOTB notificaiton robot. It seems to be a variables button in the interface, see image, could this store an email adress?
If this isn't possible, maybe a temporary user could be created and the email adress added to this one.
Really thankfull if anyone has any tips on how to approach this problem. Please let me know if my description needs to be elaborated.
We are on Windchill 10.1.
BR
Hi all,
I just want to know that if theres a configuration/way to delete the local file (documents/cad files) after initial checkin?
Thanks.
please suggest best practice for publishing DXF and PDF by using windchill 10.1
Is there a way to control Primary Content names...specifically to NOT allow names that contain special characters - commas and parentheses?
Does anyone have a detail, concise document on the steps to customize the change management forms and workflow associated with change request?
Things that we have identified to change are the change request form itself, the workflow process to add a few steps for signoffs and the roles that need populated with user names.
We are running Windchill/PDMLink 10.0 m040 with Creo2 m100.
Hi friends,
How can we create a child part in windchill using java api?
We have been facing very high impact on performance due to search producing results more than 20000 objects.
I would like to know is there a way to set the minimum number of characters to be used for the global search.
The present scenario is searching with a*, t* etc., - I need atleast 3-4 characters to be used for the search.
Checking with PTC -
The preference below is to have minimum characters for the participant search.
com.ptc.netmarkets.participantPicker.requiredCharacterSearch
Default: -1
Synopsis: This property controls whether the participant picker requires a specific number of characters before executing.
Description: If the property is set to -1 (by default), then the participant picker will execute a search regardless of the number of characters in any of the fields. Depending on the number of participants in the system, an unbound search could cause a major performance delay. Changing this value to an integer will specify the number of characters required in at least one field before executing the search.
I have "dm_overwrite_contents_on_update" set to "yes", and an overwrite in Intralink worked just fine, every time......yet now in W/C update doesn't actually do anything? Huh?
hi everyone!!!
i am using the windchill 10.2, still i didn't understand the use of "new CAD Document" option which is availble in workspace. when i click on this option i am create new cad document which didn't have any model.
How can I create association between WTDocument and EPMDocument?
Hi, all.
I need to use SequenceGenerator for WTPart in java code.
I have tried setNumber(SequenceGenerator.generateValue("WTPARTID_seq")) but result was not i expected to see.
Now i am trying setNumber(SequenceGenerator.generateValue("{GEN:wt.enterprise.SequenceGenerator:WTPARTID_seq:10:0}")) but it throws SQLServerException: Index 1 out of range.
Can anyone give me working sample?
Thanks.
While creating a document subtype as organisation admin I am getting error message as "Current User is not authorized to access "com.ptc.ptcnet.PTCPubDoc". can any body help me to resolve this problem?
Can we do an direct update from Windchill pdmlink M050 to pdmlink M070 or do we need to move from Windchill pdmlink M050 to pdmlink M060 and then move from Windchill pdmlink M060 to pdmlink M070 ?
From 10.1 version the download option for EPM has been removed by PTC. Here i'm trying to add an action which will execute the 'download action' , kindly review the java code and see if thats enough
package ext;
import java.io.*;
import java.util.*;
import java.rmi.RemoteException;
import java.net.URL;
import wt.util.*;
import wt.content.*;
import wt.epm.*;
import wt.fc.*;
import wt.query.*;
import wt.representation.*;
import wt.method.RemoteAccess;
public class dlRep
implements RemoteAccess, Serializable
{
private static String extractContent(EPMDocument EPMDoc, String dlLoc, String conType)
{
String rtnStg="NO Data Found (extractContent)";
try {
Representation defaultRep=RepresentationHelper.service.getDefaultRepresentation(EPMDoc);
if(defaultRep != null)
{
ContentHolder holder=ContentHelper.service.getContents(defaultRep);
Vector contents=ContentHelper.getContentListAll(holder);
ApplicationData data=null;
for (int i=0;i<contents.size();i++)
{
if (contents.get(i) instanceof ApplicationData)
{
data=(ApplicationData)contents.get(i);
if (data!=null && data.getFileName().endsWith(conType))
{
if (dlLoc.equals("C:\shared")) {
URL url = data.getViewContentURL(holder);
String urlStg = data.getFileName()+"|C:\shared|"+url.toString();
String mtData = ContentServerHelper.service.getMimeType(data);
System.out.println("\ndata MimeType: "+mtData+"\n");
System.out.println("\nurlStg (getViewContentURL): "+urlStg+"\n");
return urlStg;
}
else {
String path = dlLoc+"\\"+data.getFileName();
rtnStg ="Download Step Executed To: "+dlLoc;
ContentServerHelper.service.writeContentStream(data, path);
System.out.println(rtnStg+".\n");
return rtnStg;
}
}
}
else {
rtnStg = "No App Data associated to current Object.";
System.out.println("\n"+rtnStg+"\n");
return rtnStg;
}
}
}
}
catch(Exception exception)
{
exception.printStackTrace();
}
return rtnStg;
}
public static String getEPMDoc(String dlLoc, String drwNo, String conType)
{
String rtnStg="NO Data Found (getEPMDoc)";
try
{
QuerySpec qs = new QuerySpec(EPMDocument.class);
qs.appendWhere(new SearchCondition(EPMDocument.class,EPMDocument.NUMBER,SearchCondition.LIKE, drwNo));
qs.appendAnd();
qs.appendWhere(new SearchCondition(EPMDocument.class, "iterationInfo.latest", "TRUE"));
System.out.println("Now Querying for Doc Using:\n " + qs.toString());
final QueryResult qr = PersistenceHelper.manager.find(qs);
while (qr.hasMoreElements()) {
EPMDocument epmm = (EPMDocument)qr.nextElement();
if (epmm.getNumber().endsWith(".DRW") || epmm.getNumber().endsWith(".CATpart") || epmm.getNumber().endsWith(".CATProduct") ) {
System.out.println( "\nEPMDoc - Number: " + epmm.getNumber() + " - Name: " + epmm.getName()+ " - CadName: " + epmm.getCADName() );
System.out.println( " - Version: " + epmm.getVersionIdentifier().getValue() + " - Iteration:"+epmm.getIterationIdentifier().getValue()+"\n - Life Cycle State: "+epmm.getLifeCycleState().toString());
rtnStg = extractContent(epmm, dlLoc, conType);
return rtnStg;
}
}
}
catch(Exception exception)
{
exception.printStackTrace();
}
return rtnStg;
}
}
Hello,
Please help me to access the secured based(usernametoken) webservice from Windchill.
I am able to access the webservice with stand alone java file .
But when i placed the similar code in windchill, it is conflicting with one of Windchill jars(ie3rdpartylibs.jar) and i am failing with below error
WARNING: WSP0019: Suboptimal policy alternative selected on the client side with fitness "PARTIALLY_SUPPORTED".
Exception in thread "main" javax.xml.ws.WebServiceException: java.lang.ClassCastException: com.sun.xml.ws.message.saaj.SAAJHeader cannot be cast to com.sun.xml.ws.security.opt.impl.outgoing.SecurityHeader
at com.sun.xml.wss.jaxws.impl.SecurityClientTube.processRequest(SecurityClientTube.java:250)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:1063)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:979)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:950)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:825)
at com.sun.xml.ws.client.Stub.process(Stub.java:443)
at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:174)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:102)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:154)
at $Proxy41.process(Unknown Source)
at TestWebservice.main(TestWebservice.java:89)
Caused by: java.lang.ClassCastException: com.sun.xml.ws.message.saaj.SAAJHeader cannot be cast to com.sun.xml.ws.security.opt.impl.outgoing.SecurityHeader
at com.sun.xml.ws.security.opt.impl.JAXBFilterProcessingContext.setJAXWSMessage(JAXBFilterProcessingContext.java:166)
at com.sun.xml.wss.jaxws.impl.SecurityTubeBase.secureOutboundMessage(SecurityTubeBase.java:383)
at com.sun.xml.wss.jaxws.impl.SecurityClientTube.processClientRequestPacket(SecurityClientTube.java:323)
at com.sun.xml.wss.jaxws.impl.SecurityClientTube.processRequest(SecurityClientTube.java:247)
... 11 more
Hi All,
I'm trying to configure an Agent for Creo 2.0 on a Windchill 10.2 monolithic install. I'm failing.
I've completed the set up using proe2pv_config and ended up with a proe_setup folder that contains a number of batch files that proe2pv_config generated.#
I then go into WC10.2 Worker Agent Administration to configure the new worker. This is where I get lost and confused.
ADD WORKER
I tell it the server name
I tell it the DATATYPE (I've selected PROE)
Worker Location
I tell it where the server is. (The Windchill server)
Worker Execution Command
I'm not too clear about this... I've told it the following;
'C:\ptc\creo_view_adapters\proe_setup\proeworker.bat' (This is where proe2pv_config created the bat file)
I apply the settings, save the file & Return to the Worker Agent Admin screen.
I see the new Agent in the list, Fab! but the Status is "Fails to Start". The flag under Actions is White & the tooltip states; "Executable not Safe".
Additionally the methodserver log has the following entry;
ERROR : wt.wvs.workeragent.ShapeType - Refused to start worker ukbas1wcs2-PROE:1, exe does not match any of the trusted prefixes
Can anyone shed any light on where I might be going wrong?
Many thanks!
Hi all,
I import creo files in windchill thru creo.
After the Import and checkin the publishing/thumbnail is not working. What I need to do is to checkout the file and custom checkin and choose models and viewable so that the publishing/thumbnail worked.
The problem is the revision add even I didn’t change/modify anything just the custom checkin. Is there a way to import creo files in windchill and the publishing/thumbnail worked?
Thanks!
I am new to PTC and Windchill and do have one question that I cannot seem to find an answer for, perhaps one of you can tell me. We were informed by a local support person that PTC Windchill will be going away from the Java programming language in a coming release, is that true and if so what will be the new programming language of PTC Windchill? Thanks
Dennis Hamrick
Systems Support Engineer
DOE Oak Ridge National Lab