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

QML report to retrieve all collected items in a managed collection

$
0
0

Hello report Gurus

 

Does anybody know how to construct a QML report that will show all "collected" members of a managed collection?

 

This report https://support.ptc.com/appserver/cs/view/case_solution.jsp?n=CS174665&lang=en retrieves items initially added to a collection, but it does not retrieve all the other items which are gathered according to the collection configuration. This could be the difference between a single end item or all the parts in a configuration of that product.

 

Is the full collection calculated on demand? or persisted? If the latter, perhaps this is a stretch too far for a QML report.

 

Best Regards

Darren


i have written a validator to check the duplicacy in the multi value attribute called "Production Plant" in both create and checkout and edit page...But i could accomplish this only in create page.

$
0
0

Since "create" action default validator is DefaultUIComponentValidator. i created a validator extending it.

For "checkoutandEdit" action default validator is CheckoutAndEditValidator. i created another validator extending it.

 

PFA the java files. But the problem is that it works for create acton but not checkout functions.

 

Need help with this

 

 

 

Regards,

Logeshwar.J

Drawing approver name from Windchill into the proe drawing

$
0
0

Hi,


I am using PDMLink 10.0M010 with Creo 1.0.


When any drawing is Released from Windchill (using either promotion request or Change Management), I want to add Drawing approver name from Windchill into the proe drawing.


The way in which we add drawing creator name using parameter "PTC_WM_CREATED_BY' in drawing format.


How to add approver syntax? If such syntax is not available out of box, how to do it?


Thanks,


Sanjay

General Questions as Admin, Old Users?

$
0
0

We used to have an admin who knew a lot more about WindChill than the current people including myself, I just have some general questions I can't really figure out. We are going through and trying to removing old users. The first method thought of is to add the old users to an admin group, change their password, log in as them and then remove all their workspaces. One of our confusions is that we have probably 8, 9 different groups set up from years ago and don't understand why some have visibility to certain product libraries and contexts. We had to test everyone to find which ones had visibility of all library so that we could see their workspaces by logging into them so we could delete them.

 

The other method I'm thinking of trying is actually deleting the user using windchill's delete function and then removing their personal cabinet. Is there any issue with doing thing? Does that blow everything away? I know it asks about undoing checked out objects so I'd think it is deleting everything. The current admin who kind of fell in to the position said the old admin (who knew what he was doing) said not to do that so I'm a bit weary. Mind you these people will never be returning.

 

The next thing I've stumbled on is that as admin's we should be able to view other peoples workspaces under each context, however, we can't...with my limited knowledge we must need to alter the access control policies to give our admin group that ability? This is another grey area we haven't been able to get to work, how do we alter this? A while back we tried at the org level to change access but it didn't appear to work, do we have to be at the site level or something?

PBO Attribute captured in a workflow

$
0
0

Looking for assistance with code that will grab a custom attribute value created using T&AM and write it to a variable in a workflow...Then using a custom email template I'll be able to display that value in the email.  Not a code guy at all...thanks!!!

 

WC10.2 M030 CPS 17

 

Greg

How do I audit individual user activity in PDM Link 10.2?

$
0
0

I need to audit the activity that is, what folders, docs, files that the person is accessing in Windchill PDM Link 10.2.

How do I generate a report or see this?

Corrupted WTPart number

$
0
0

Hello,

 

We have a set of WTPart part number. We are unable to load them in Windchill as it gives an error message of "Uniqueness"; neither we can find (search) them in Windchill, so that we can delete the set and reload them or modify them.

 

These WTPart part numbers were loaded in Windchill earlier as NLAG file type. Later the file try was changed to ZKIT file type. Once the file type was changed, the part numbers were vanished from the system. I am able to view the details through SQL query, but unable to locate them in Windchill and delete them.

 

We change the part type with the process that are listed in the document number CS7287 (https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS7287&posno=1&q=ChangeTypeSql&source=search).

 

Please review and suggest.

 

Thanks,

Yogesh

Problem when migrating customs TableBuilder from Windchill 10 to Windchill 11

$
0
0

Hello Windchill's gurus and Happy New Year everyone,

 

I'm on a team to migrate a Windchill 10 application to Windchill 11.

I found something strange with the customs TableBuilder, construct with an AbstractComponentBuilder :

 

First we have a lot of customs builder in our Windchill project, we found a workaround solution but it's not acceptable because it works before

and we need to find why it's not working anymore. It impacts a lot of builders in our project.

 

We have a Bean class that reference a line in the TableBuilder.

bean.png

There's a getter called getFileName which work correctly on Windchill 10 to show the file name.

 

Then the TableBuilder :

Builder01.png

Builder02.png

Here is my problem : "factory.newColumnConfig(fileNameColumn, true)" //(fileNameColumn = "fileName")

When I refresh my builder in Windchill, the File Name column don't show anything.

When debugging I find the method TablesFileBean.getFileName() was never be called by the invoke method.

Instead the method TablesFileBean.getOid() was called.

 

The workaround solution was to change :

- the TablesFileBean.getFileName() by TablesFileBean.getFileName2()

- fileNameColumn = "fileName" by fileNameColumn = "fileName2"

 

With this solution the TableBuilder show the information correctly.

When debugging the method TablesFileBean.getFileName2() was used.

It looks like the Windchill 11 AbstractComponentBuilder used the value "fileName" for an other behavior.

 

Edit : another solution was to delete the method TablesFileBean.getOid() and it work too...

But I loose the possibility to use the oid of each of line.

 

Do you guys have any idea of why this behavior occurred in the new Windchill 11 ?

 

Greetings


Conditional routing based on Document attributes

$
0
0

Hello all,

 

I am trying to have a conditional routing in a workflow, based on a specific attribute of the routed document.

In the expression I use this:

 

//get the attributes of the document.
wt.iba.value.IBAHolder holder = wt.iba.value.service.IBAValueHelper.service.refreshAttributeContainerWithoutConstraints(doc);
wt.iba.value.DefaultAttributeContainer ac = (wt.iba.value.DefaultAttributeContainer) holder.getAttributeContainer();

if (ac != null) {
wt.iba.value.litevalue.AbstractValueView[] avalues = ac.getAttributeValues();

for (int i=0;i<avalues.length;i++) {
wt.iba.value.litevalue.AbstractValueView val = avalues[i];
if (val.getDefinition().getName().equals("contracttype")) IPselect= val.getLocalizedDisplayString();
break;
}
}
}catch(Exception e) { System.out.println("Caught Exception:" + e.toString()); }

 

Then in the OR I have put this:

 

result="IP_Yes";

if (IPselect.equalsIgnoreCase("Consulting")) result="IP_No";

if (IPselect.equalsIgnoreCase("Service Agreement")) result="IP_No";

 

The problem I have is that some times it gets the value from the document (thus "IPselect" has a value in the workflow) and some others not.

 

Any ideas?

 

Thank you in advance

John

What controls access to the notebook in pdmblink

$
0
0

What controls access to the notebook in pdmblink

Windchill WVS CAD Worker for SolidWorks - server / workstation OS

$
0
0

All of our servers are moving to the cloud (Amazon web services - AWS).  We currently publish SolidWorks using a server configured as Win 7 - works perfectly.

 

There seem to be some restrictions on configuring an AWS WV host with a workstation OS.  The WGM installer simply won't start on a server OS.  We've asked for an AWS host with Win 7 (or 8.1 is listed as being supported) with no luck from IT so far.

 

Question: For everyone who currently publishes SolidWorks data, how are you managing the CAD Worker for SolidWorks?

The Windchill FTA calculation is multiplying 10^-6 to the cut set events for model FR/MTBF but not for constant probability. How to prevent the 10^-6 adding upto the final value?

$
0
0

While calculating the FTA results the software program is multiplying 10^-6 to the cut set events for model FR/MTBF but not for constant probability. How to prevent this 10^-6 adding upto the final value? can anyone help me with this?

How to get primary attachment file in the CheckinObjectFormProcessor?

$
0
0

Hi!

I need to customize CheckinObjectFormProcessor. I need to get primary attached file that user insert in the checkin wizard. I've created my own CIObjectFormprocessor that extended OOTB CheckinObjectFormProcessor:

public class CIObjectFormProcessor extends CheckinObjectFormProcessor

{

  public FormResult doOperation(NmCommandBean paramNmCommandBean, List<ObjectBean> paramList) throws WTException

  {

     FormResult localFormResult = new FormResult();

     localFormResult.setStatus(FormProcessingStatus.SUCCESS);

   

      // Need there to get new primary attachment file

 

     localFormResult = super.doOperation(paramNmCommandBean, paramList);

     return localFormResult;

 

  }

}

 

localObjectBean.getParameterMap() can give me the Map with a lot of properties. But I can't to get the file I need. Please help.

Import of project templates from Windchill ProjectLink 9.1 or 10.1 to 11.0 fails

$
0
0

Importing the Project templates from Windchill ProjectLink 9.1 M050 to 11.0, and from ProjectLink 10.1 to 11.0 F000 fails. Do you have any recommendations on how to import cross release project templates?

Hello can you help me about https

$
0
0

I am under Windchill 8.0 and I have to use HTTPS instead of HTTP.

I followed the instructions windchill install config guide and all is OK when I worked directly with internet navigator.

But I have a problem when I want to launch JAVA command on the server where I need Windchill authentication

Have you an idea please ?

 

Thank you

 

Philippe salaün

 

Here is the log:

 

Introspection Runtime mode = true

Warning - https://mysite.Windchill.fr/Windchill/wt.properties not found - using local properties

 

  1. java.net.ConnectException: Connexion refuse

        at java.net.PlainSocketImpl.socketConnect(Native Method)

        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)

        at

  1. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)

        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)

        at java.net.Socket.connect(Socket.java:464)

        at java.net.Socket.connect(Socket.java:414)

        at java.net.Socket.<init>(Socket.java:310)

        at java.net.Socket.<init>(Socket.java:154)

        at HTTPClient.HTTPConnection.getSocket(HTTPConnection.java:3178)

        at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:2945)

        at

  1. HTTPClient.HTTPConnection.handleRequest(HTTPConnection.java:2781)

        at HTTPClient.HTTPConnection.setupRequest(HTTPConnection.java:2573)

        at HTTPClient.HTTPConnection.Get(HTTPConnection.java:922)

        at HTTPClient.HTTPConnection.Get(HTTPConnection.java:841)

        at

  1. wt.httpgw.HTTPLoginInputStreamFactory.getInputStream(HTTPLogin.java:456)

        at wt.httpgw.HTTPLogin.newLoginInputStream(HTTPLogin.java:322)

        at wt.httpgw.HTTPLogin.init(HTTPLogin.java:209)

        at

  1. wt.method.RemoteMethodServer.initAuthenticator(RemoteMethodServer.java:930)

Windchill file location

$
0
0

When doing a copy to my development server, I noticed that one library context folder did not have any recent files in the vault where I would have thought these files would go.

Is there anything OOTB in Windchill that can give me the OS file name of a file in Windchill?

My Part Library goes to a vault location, but my Doc library vault has no new files. Are these files being stored as BLOBs in Oracle?

Where is the file location defined for storing files created in Windchill? Is it in an OIR for the data type or in some other file?

 

Ben

Windchill 10.0 m040

QML report to retrieve all collected items in a managed collection

$
0
0

Hello report Gurus

 

Does anybody know how to construct a QML report that will show all "collected" members of a managed collection?

 

This report https://support.ptc.com/appserver/cs/view/case_solution.jsp?n=CS174665&lang=en retrieves items initially added to a collection, but it does not retrieve all the other items which are gathered according to the collection configuration. This could be the difference between a single end item or all the parts in a configuration of that product.

 

Is the full collection calculated on demand? or persisted? If the latter, perhaps this is a stretch too far for a QML report.

 

Best Regards

Darren

ProjectLink - Name resets when using 'Send to PDM'

$
0
0

We're creating new objects in ProjectLink in Windchill 10.1 and eventually those objects will need to be in PDMLink. However, the Send to PDM screen is causing some headaches:

  • The Name field comes in empty even though that information is on the object in the Project.
  • The object needs a location in PDMLink. When you do assign a location, the Name field resets which annoying if you just filled it it for a bunch of parts!
  • Is there a way to set a default PDM location for new objects coming from a Project? Very minor compared to the 2 other issues above.

 

Any ideas or settings we can change to fix some of these? Click on the picture to enlarge.

Send to PDMLink 2.jpg

Need inputs to create a report

$
0
0

Hi, is it possible to run a report to signify if there is a primary document attached to a container?

Also can we see who the author/owner of a document is?

Regarding versioning in Windchill 10.2 M030

$
0
0

Hello,

I am using Windchill 10.2 M030. I want to change the version of CAD File. I have change the series according to and also added custom seed. Also selected appropriate seed for required state. But When I am changing the state it's version not changed. Suppose in Design state I want version DE1.1 & so on..  and in Prototype state i want PRT1.1. What configuration need to be done in order to achieve the Required version. Please Guide.

Viewing all 5797 articles
Browse latest View live


Latest Images

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