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

Dynamically build a url link to a CAD object and the thumbnail representation in Windchill

$
0
0

I trying to discover what ways I can dynamically build a URL path to an object in the windchill database. We have external applications that I would like to be able to display the generated thumbnail representation that is stored in Windchill.

 

Doing some research, it appears the table FVITEM stores

  • the filename on the disk in the vault
  • vault folder name

 

It appears the table APPLICATIONDATA stores

  • Role (thumbnail and thumbnail3d, etc)
  • format (1031 which seems to mean JPG.  I'm not sure what format 1046 or 1061 mean.  I have not been able to find a list either)

 

It appears the table EPMDOCUMENT stores

  • the name and number

 

I'm not sure how to relate (join) them all together yet.  It looks like the pieces to be able to find the physical file, where it is stored is available so I could build a link to allow a user to view a thumbnail of the CAD Document.

 

My quesitons are:

  • Has any one else done something like this where you provided a link to the windchill data without forcing a user to use Windchill UI?
  • Are there better approaches than directly selecting information from the Oracle tables?
  • Any suggestions or links to documentation and examples would all be useful.

 

Thanks

Mike


Setting text color in dataUtility

$
0
0

Hi to all!

How can I set the text color inside the dataUtility?

 

localDispText = new TextDisplayComponent((String)localName);

((TextDisplayComponent)localDispText).setValue((String)localName);

 

Thanks a lot!

Applets are Failed to Load

$
0
0

Hello All,

 

On Monolithic Windchill Server 10.1M040, All Applets are failed to load.

 

Its shows a message in Pop up's as below,

 

The following error occurred during initialization: The operation:   "getGlobalDomain" failed.

Nested exception is: wt.util.WTRemoteException: Unable to invoke remote method

Nested exception is: wt.util.WTRemoteException: Unable to locate method server

Nested exception is: wt.util.WTRemoteException: Unable to locate method server

Nested exception is: wt.util.WTRemoteException: Unable to get server

Nested exception is: java.security.AccessControlException: access denied ("java.net.SocketPermission" "127.0.0.1:5002" "connect,resolve")

 

 

Please guide us to solve this.

 

Regards,

Vivek

Republish only drawings using WVS Job Scheduler Administration

$
0
0

We recently deleted all viewables of EPM Doc's (all Pro/E, Creo) from the system because they were published with rules that we've now changed.

 

On a rehosted test server we tested republishing all - takes a while.  We'd like now to only republish drawings, and if possible only the latest Version of each.

 

On the Job Scheduler UI, there are a number of OTB "Jobs" including: PublishAllEPMDocsLatestNoRepresentation.  This is what we want but would like to exclude .PRT, .ASM.

We've asked PTC tech support how to create a custom job but haven't yet heard back.

 

Question: Does anyone have such a custom job?  Would you be willing to share?

 

thanks

Windchill Upgradation From 10.1 M010 to 10.2 F000

$
0
0

Hi all,

 

Good Day To You...

 

 

I'm trying to upgrade Windchill PDMLink 10.1 M010 to 10.2 F000. For this, I've gone through related materials provided by PTC and got some idea.

 

But, as I'm performing this task for the first time, I've been strucking up at some points.

 

I need step by step procedure to do this task in clear manner

 

Request you to provide your valuable information/steps for this task ( Feel happy if provide screen shots)..

Note : I'm using SQL SERVER 2008 R2 as database.

 

Thanks in advance.

Java Error!

$
0
0

Hi,

 

Can somebody help me howto fix this? I'm using java 8 update 25.

 

Untitled.jpg

Thanks in advance!!

command line tool to execute JMX operations

$
0
0

Hi,

 

I am looking for command line command to execute JMX operatiosn \ tasks like PULL.

is it possible to execute PULL operation from windchill shell directly not from UI? 

 

thanks

Manoj

Windchill

$
0
0

Hi need to Learn Windchill from Basics......


not able to downlode PTC Windchill 10.2 Supplier Management

$
0
0

not able to downlode PTC Windchill 10.2 Supplier Management

Help with Moving IBA from WTDocument to a Soft Type

$
0
0

I am looking to move the definition of IBAs from the top level Type, to a subtype.  Does anyone have experience?  I am getting lost in the details provided in CS7287.

 

I will provide a simplified case:

 

In Type/Attribute Manager, you will find:

wt.doc.WTDocument

  com.ptc.Agenda

  com.ptc.Analysis

  com.ptc.Bill_of_Material

...etc...

 

In my case, there is an IBA defined on wt.doc.WTDocument called myIBA.  Of course this propagates down, so Agenda docs, Analysis docs, Bill of Material docs, etc, all have this IBA.

 

It was a bad idea to put myIBA on the top level wt.doc.WTDocument because only the com.ptc.Analysis has values populated into myIBA, for example.  In all other soft types, the IBA is not applicable.  That is why I wish to remove it from wt.doc.WTDocument, and instead put it on com.ptc.Analysis.

 

How can I move myIBA from wt.doc.WTDocument to com.ptc.Analysis so that it doesn't even show up on all of the other types?

Retrieving a Attribute from an Object Using an Expression in a Workflow

$
0
0

Hi All,

 

I need to retrieve an attribute ("Operation") which which I have added to a Change Notice in a workflow expression - since the value of this attribute alters downstream activities.

 

So far I have got as far as:

 

wt.change2.WTChangeOrder2 co = (wt.change2.WTChangeOrder2)primaryBusinessObject;

String coOperation = ...

 

Also by using the above code, does it matter that I want to retrieve the attribute from a soft type of the change notice.

 

Any help would be great.

 

Toby

datautility for a non single-value constraint attribute

$
0
0

We currently have a datautility that provides a SuggestTextBox for an attribute. This provides a type ahead dropdown of allowable values for the field and cuts down on misspellings and acronymns. The request has been made to remove the "Single-Value" constraint on this attribute to allow multiple values. The datautility as it is written assumes that there is one and only one value. I'm looking for an example of how it would change if a additional attribute values are added on the creation and edit pages. It seems like there must be a way to name the fields so Windchill will accept the multiple values. Also our code appears to stop the + button from appearing.

 

Here is the existing code:

    SuggestTextBox plantSuggestBox = new SuggestTextBox("Plant", "Plant_autosuggest");

    plantSuggestBox.setRenderer(new SuggestTextBoxRenderer());

    plantSuggestBox.setColumnName(getColumnName(arg0, arg1, modelContext));

    plantSuggestBox.setMinChars(1);

    plantSuggestBox.setMaxResults(50);

    plantSuggestBox.setEditable(true);

    plantSuggestBox.setId(arg0);

    plantSuggestBox.setWidth(60);

    plantSuggestBox.setRequired(true);

    if(modelContext.getDescriptorMode().equals(ComponentMode.EDIT)){

     try {

      plantSuggestBox.setValue(getIBAAttrValue((IBAHolder)containerObject4, plantIbaName));

     } catch (RemoteException ex) {   

      ex.printStackTrace();

     }

    }

    guiComponentArray.addGUIComponent(plantSuggestBox);

    component = guiComponentArray;

return component;

Change Notice creation permission

$
0
0

I have been working through the Change Request workflow developed when Windchill was implemented in 2008 by another admin. He had the ability to create a Change Notice turned off, even though he had a node in the Change Request workflow to require them. I got the Profile modified to allow Change Notices to be created, and the option now shows up in Actions. However, when I select Create Change Notice, the screen opens and a message pops up saying "You do not have create permissions for the object". I looked in preferences and found nothig. What setting do I need to toggle to get the required permissions?

"Upload FailureConnection failure in upload operation"

$
0
0

Hi All,

I am getting this information in event manager while uploading my top level assembly into windchill.

 

 

"Upload FailureConnection failure in upload operation"

 

But I am able to checkin the other parts and sub assemblies.

 

Thanks,

Mohammed Thajudeen. S

Recover part from cache file

$
0
0

Hi

 

We had some Windchill server reconfiguration that resulted in some of our users losing their local work. I read some post about how it was possible to recover data from cache file but it seems that I'm unable to actually do it.

 

I tried to do some test by

-opening a lid_ file in my cache folder with wordpad

-finding the name of the part in the lid_ file

-saving it with it's associated file name on our windchill server (ex: test_part.prt)

-trying to open the part with the new renamed file

 

 

At this point, I get an error message stating that the file format is invalid and can't be opened. Is there something I am doing wrong? I supplied the files I used for this simple test.

 

 

We are on CREO 2.0.

 

Thanks


Java Code to add Windchill IBA Values to WTPart Object

$
0
0
Hi, I have written java code using Windchill API to create WTPart. Object is getting created but added IBA values are NOT getting displayed on info page of the WTPart object in UI. IBA values are getting added to attribute container but not getting associted with created WTPart object. Can anyone help me out please? Thanks, Rekha Bhosale

Retarget Principals

$
0
0

Hi All,

 

We are in the Process to Migrating the iPlanet LDAP to AD.

As we unplugged the old (iPlanet) adapter the users are rendered disconnected. [These are visible in the Maintenance tab in Principal Administration menu].

 

Now, the disconnected principals need to be retargeted.

The user to be retargeted also have groupmembership in Local DS (Windchill DS) groups.

The disconnected users are numerous (~5000) so doing manually is not an options.

 

Option Tried:

DB UPDATE (Tables:  RemoteobjectID, RemoteobjectInfo, WTUSER)

Issue:

The Windchill DS doesn’t update.

 

I believe as through OOTB (Principla Administration-> Maintaiance ->Select Disconnect User -> Retarget) we could retarget the users successfully (it also updates the Windchill DS) the options below would be a preferred one:

  1. Windchill API  probabl e -> API fixuid
  2. InfoEngine Tasks

 

Any Sample code would be applicable.

 

Thanks & Regards

Debashis Patnaik

Windchill connected to MS Active Directory Load balanced server pair

$
0
0

When we first rolled out Windchill late last year we connected it to our MS Active Directory system for authentication.  Worked great.  At the time the AD system was two servers, call them AD1 and AD2, acting in failover mode.  Windchill talked to AD1.  At one point AD1 failed, so AD2 took over and I had to repoint Windchill to AD2- still fine.  Now they AD system has been reconfigured to be load balanced and failover.  So AD1 and AD2 are constantly sharing the load and if one dies, the other takes on 100% of the work.  Since that change, and it's purely correlation in timing that has me speculating there may be a cause - effect relationship, the time it takes for Windchill to present a login when starting Pro/E has gotten much longer.   It was nearly instant, now it takes 20-30 seconds for some users and I'm getting complaints.  Has anyone else seen anything like this?  And, is there any way to designate Windchill so it knows there are two AD servers working in parallel AND that if one doesn't respond to look for the other one?  PTC's page only indicates "contact PTC Global Services" for that kind of configuration.

 

Thanks


Erik

 

Windchill 10 M030

Pro/E Wildfire 4 M220

Clients - Windows 7 64 bit, IE9

How to query more than one type objects using a webject in windchill PDMLink?

$
0
0

Hi,

Someone can help me on this. I will appreciate it.  I want to query two type objects using webject. I found the article CS195365 from PTC support, which has an example:

 

  • Example:

<%@page language="java"%>
<%@taglib uri="http://www.ptc.com/infoengine/taglib/core" prefix="ie"%>
<!-- get wtproperties -->
<ie:webject name="Get-Properties" type="MGT">
<ie:param name="ATTRIBUTE" data="wt.federation.ie.VMName"/>
<ie:param name="GROUP_OUT" data="properties"/>
</ie:webject>

<ie:webject name="Search-Objects"    type="OBJ">
<ie:param name="INSTANCE" data="$(properties[0]wt.federation.ie.VMName[0])"/>
<ie:param name="type"    data="wt.part.WTPart"/>
<ie:param name="type"    data="wt.epm.EPMDocument"/>

<ie:param name="type"    data="wt.doc.WTDocument"/>
<ie:param name="ATTRIBUTE_TYPE_CONTEXT"    data="wt.fc.Persistable"/>
<ie:param name="where"    data="(containerName='<CONTEXT_NAME_HERE>')"/>
<ie:param name="attribute"    data="number,name,version,lifeCycleState" delim=","/>
<ie:param name="group_out"    data="objectsSearched"/>
</ie:webject>

 

 

But I tried it. I got the error.

Here is my code;

 

<ie:webject name="Query-Objects" type="OBJ">

  <ie:param name="INSTANCE"  data="localdomain.vm-windchill.Windchill"/>

  <ie:param name="authorization" data="$(@SERVER[]AUTHORIZATION[0])"/>

  <ie:param name="type"   data="wt.part.WTPart"/>

  <ie:param name="type"   data="wt.doc.WTDocument"/>

  <ie:param name="where"   data="(number='$(@FORM[]number[0])')"/>

  <ie:param name="attribute"  data="name,number,version,lifeCycleState,checkoutInfo.state,containerName,type,obid,containerID" delim=","/>

  <ie:param name="group_out"  data="objectsSearched"/>

     </ie:webject>

 

  <ie:webject name="Sort-Group"  type="GRP">

  <ie:param name="GROUP_IN"  data="objectsSearched"/>

  <ie:param name="SORTBY"   data="name"/>

  <ie:param name="GROUP_OUT"  data="objectsSearched"/>

</ie:webject>

 

 

Here is the error I got:

 

 

javax.servlet.ServletException: com.infoengine.util.IEException: Query-Objects: Parameter "TYPE" may only be specified 1 times.

at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:908)

at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:841)

at org.apache.jsp.infoengine.jsp.ext.queryDrawingByDrawingNumber_jsp._jspService(queryDrawingByDrawingNumber_jsp.java:154)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)

 

 

Thank you so much!

Configuration of PDF OCR with Adobe Livecycle Server ES3

$
0
0

We have scanned documents that are not searchable, so we would like to use OCR functionality to create viewables using Adobe Livecycle Server. When enabling the OCR capability we receive an error and it is unclear what the cause is. Any one having experience with configuration of OCR based on Adobe Livecycle Server (ES3)?

Viewing all 6049 articles
Browse latest View live
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>