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

Recently Accessed display switch bug

$
0
0

Hi,

I've a small display bug with Windchill 10.2 M10 and Mozilla Firefox :

Two of my user switch their Recently Accessed view.

The first move an object or modify it, and the second see this item in his own Recently Accessed, but that's only between this two user, not with the other.

How it can be possible ?

What to do to fix it ?

 

Thanks,

Berthelin Benoit


How to loop SQL "select WTKEY_SEQ.nextval from dual"

$
0
0

Hi guys,

 

In order to solve a problem of method server start, I have to do the request:

select WTKEY_SEQ.nextval from dual


I have to do it until its value reaches 163553 but now it is only 139082. Each time I do the request, the value increments of 1.


I don't know very much about SQL and I would like to know if there is syntax to make a loop of this request until it reaches the correct value.


Thank you very much.


Regards,

Florent

Got an error while installing Windchill 11 on Windows 7.

$
0
0

Hi Guys,

 

I have got an error while installing Windchill 11 on Windows 7 OS. I have attached the screen shots of the error i got after clicking 'Install' button again and again. Kindly help me to get resolved it so that i can install the software easily on my PC.

Kindly review my attached screen shots and log files for an error.

 

Thanks,

Sunil Chauhan

 

ptc_error_screen_shot.png

Worker Agent does not start

$
0
0

Hello All,

 

I'm trying to setup my worker to work with Solidworks. I get the following error in the logs:

 

[2017-02-07 11:35:28] workermonitor - Version : Creo 3.1 - M010 (13.3.10.27) i486_nt

[2017-02-07 11:35:28] Logging level set to 0x01.

[2017-02-07 11:35:28] Connecting to server "XYZ.com" on port 5600

[2017-02-07 11:35:28] Connection established

[2017-02-07 11:35:28] Got version 8 INIT  FAILURE (with no description) from WVS.

[2017-02-07 11:35:28] Monitor Shutting down.

 

The worker does NOT indicate "Fails to start" in the Worker Agent Administration page, it just stays off.

 

In sw2pv_config.exe, I have

- the setup directory pointing to the folder sw_setup

- Server Host & Server Port 5600: Failing the test, I get this message

 

Set keepalive ok

The CADAgent rejected the connection, is it configured for a SOLIDWORKS worker on machine WIN-9U6A5RRLNG0 (alias not set)?

 

What I've tried so far:

- Checked that the host name and port 5600 are correct

- Checked that the system does not run out of memory

- Checked for other forums with the same issue

 

Please help,

Ammar

Importing non Windchill/PTC files into Windchill for rev control

$
0
0

  We imported non-PTC files into a workspace and checked them into WindChill. We can check-out the file. How do we load the files into the native application and save back to the workspace so that a check-in action to WindChill would index the file version?

Set a default checked for Propagate Info from CR to new CN

$
0
0

OK, so I would like to same a click for every CN that Doc Control has to create from every CR.

Propagate Info.jpg

Anyone know how to set Propagate Information as checked by default?

New CN.jpg

 

I have set the default for Change Tasks (Reviewer Required, or Obsolete).

How do I construct the link to an assigned workflow task?

$
0
0
Windchill 10.2 F000

I have a workflow (promotion request) in which I want to send an email from the Start transition of an assigned task. This is so I can customize the email as opposed to the OOTB email you get when you select "Send Notification".

If you select "Send Notification" the OOTB email sent contains a handy link to the task as shown below:
You have been assigned a Rework Promotion Request <.">http://YourWindchillServer.YourDomain.com/Windchill/app/#ptc1/tcomp/infoPage?oid=OR%3Awt.workflow.work.WorkItem%3A200517051&u8=1>.

The link looks like this:
http://YourWindchillServer.YourDomain.com/Windchill/app/#ptc1/tcomp/infoPage?oid=OR%3Awt.workflow.work.WorkItem%3A200517051&u8=1

Rename a Product

$
0
0

We have created a new Product and now management has decides they want to rename it.

Is there anyway to do this? I know it cannot be done from within Windchill.

Where in the Oracle DB is the product name stored and is it possible to do an update to the table entry?

 

Windchill 10.0 m040


Advice for Windchill test/production SQL database setup

$
0
0

Hello,

 

I am working with our IT team to plan a windchill implementation. I have been trying to research information regarding architecture strategies for implementing development and test environments along-side a production environment of Windcill. Coming up short, I have some questions regarding best practices.  Any advice, or links to documentation, would be appreciated.


1) With SQL as the database server, should 1 SQL instance with a DB for each environment be used? Or should there be a separate instance of SQL for each environment?


2) Use VM for the dev/test environments on the production application server? OR use a separate application server for each instance of Windchill?

 

Thanks in advance for any support!

table is not displayed with proper table UI

$
0
0

I am trying to create a table UI on click on actions command on a popup page. Table is coming a plain page without table borders

 

Below are the steps followed,

 

Step 1: Added custom-actionmodels.xml

<model name="agileActions" resourceBundle="jp.co.lixil.individualbom.actions.ui.resource.NavigationRB">

  <action name="pushParts" type="object"/> <!-- Send Part -->

  <action name="pushBOM" type="object"/> <!-- Send BOM -->

  <action name="pushDrawing" type="object"/> <!-- Send Drawing --> 

  <action name="AgilePartsList" type="navigation"/>

</model>


Step 2: Added actions in custom-actions.xml

<objecttype name="navigation" class="" resourceBundle="com.co.ui.resource.NavigationRB">

  <action name="AgilePartsList">

              <component name="com.co.agile.parts" windowType="popup"/>

          </action> 

</objecttype>


Step 3: RB File Entry for this action in NavigationRB.java

@RBEntry("Parts List To Agile")

public static final String PRIVATE_CONSTANT_24 = "navigation.AgilePartsList.title";

 

@RBEntry("Parts List To Agile")

public static final String PRIVATE_CONSTANT_25 = "navigation.AgilePartsList.tooltip";

 

@RBEntry("Parts List To Agile")

  public static final String PRIVATE_CONSTANT_26 = "navigation.AgilePartsList.description";

 

 

Step 4: Added Entry in MVSDispatcherServlet.xml

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

<!-- - Application context definition for "MVC" DispatcherServlet. -->

<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=“http://www.springframework.org/schema/beanshttp://www.springframework.org/schema/beans/spring-beans-2.5.xsd">

<import resource="classpath:config/mvc/mvc.xml" />

  <import resource="classpath:config/mvc/jca-mvc.xml" />

  <import resource="classpath:config/mvc/*-configs.xml" />

  <import resource="classpath:config/mvc/custom.xml" />

  <import resource="classpath:config/mvc/pac-custom.xml" />

  <bean id="defaultHandlerMappings“ class="org.springframework.beans.factory.config.PropertiesFactoryBean">

    <property name="locations">

    <list>

    <value> classpath:/config/mvc/*-urlMappings.properties</value>

  <value>classpath:/config/mvc/custom.properties</value>

  </list>

  </property>

  </bean>

  </beans>



 

Step 5: pac-custom.xml file created under codebase/config/mvc/pac-custom.xml

<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beansxmlns:xsi="http://www.w3.org/2001/XMLSchema-instancexmlns:context="http://www.springframework.org/schema/contextxmlns:mvc="http://www.ptc.com/schema/mvcxsi:schemaLocation="http://www.springframework.org/schema/beanshttp://www.springframework.org/schema/beans/spring-beans-2.5.xsdhttp://www.springframework.org/schema/contexthttp://www.springframework.org/schema/context/spring-context-2.5.xsdhttp://www.ptc.com/schema/mvchttp://www.ptc.com/schema/mvc/mvc-10.0.xsd">  <!-- Configurations in this file override all other configurations --> 

<mvc:builder-scan base-package="com.co.agile.action.table.part" /></beans>


Step 6: Created a Folder under <WEB-INF>/jspcalled pac/pacPartsListTable.jsp

<%@tagliburi="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<%@ taglibtagdir="/WEB-INF/tags" prefix="tags"%>

<%@ tagliburi="http://www.ptc.com/windchill/taglib/jcaMvc" prefix="mvc"%>

<%@ include file="/netmarkets/jsp/util/begin_comp.jspf" %>

<mvc:tablecompId="com.pac.agile.parts"/>

<%@ include file="/netmarkets/jsp/util/end_comp.jspf"%>


Step 7: This is the table component code


package com.co.agile.action.table.part;

 

import com.ptc.mvc.components.AbstractComponentBuilder;

import com.ptc.mvc.components.ColumnConfig;

import com.ptc.mvc.components.ComponentBuilder;

import com.ptc.mvc.components.ComponentConfig;

import com.ptc.mvc.components.ComponentConfigFactory;

import com.ptc.mvc.components.ComponentParams;

import com.ptc.mvc.components.TableConfig;

import com.ptc.mvc.util.ClientMessageSource;

 

import wt.fc.PersistenceHelper;

import wt.part.WTPart;

import wt.pds.StatementSpec;

import wt.query.QuerySpec;

import wt.query.SearchCondition;

import wt.util.WTException;

import wt.vc.VersionIdentifier;

 

//This annotation is VERY important.

@ComponentBuilder("com.co.agile.parts")

public class AgilePublishPartsTableBuilder extends AbstractComponentBuilder {

    private static final String RESOURCE = "jp.co.ui.resource.NavigationRB";

    private final ClientMessageSource messageSource = getMessageSource(RESOURCE);

 

    @Override

    public ComponentConfig buildComponentConfig(ComponentParams paramComponentParams) throws WTException {

        //get the ComponentConfigFactory

        ComponentConfigFactory factory = getComponentConfigFactory();

        //get an instance of TableConfig

        TableConfig table = factory.newTableConfig();

        // General table properties

        table.setId("com.pac.agile.parts");

        table.setSelectable(true);

        table.setLabel(messageSource.getMessage("RELATED_PARTS"));

        table.setShowCount(true);

        //table.setActionModel("agilePushTableActions");

       

        //add columns

        //name

        ColumnConfig col1 = factory.newColumnConfig("name", true);

        col1.setSortable(true);

          table.addComponent(col1);

          //number

          ColumnConfig col2 = factory.newColumnConfig("number", false);

          col2.setInfoPageLink(true);

          col2.setSortable(true);

          table.addComponent(col2);

          //type

          ColumnConfig col3 = factory.newColumnConfig("type", true);

          table.addComponent(col3);

          // Last Modified

          ColumnConfig col4 = factory.newColumnConfig("thePersistInfo.modifyStamp", true);

          table.addComponent(col4);

         

          table.setShowCustomViewLink(false);

          // If you want different column name as Display name, use setLabel("New Name") function on column

          // If you data as link use setInfoPageLink(true) function on column

          table.setView("/pac/pacPartsListTable.jsp");

        return table;

    }

 

    @Override

    public Object buildComponentData(ComponentConfig paramComponentConfig, ComponentParams paramComponentParams) throws Exception {

        QuerySpec qs = new QuerySpec(WTPart.class);

        qs.appendWhere(new SearchCondition(wt.part.WTPart.class,WTPart.NUMBER,SearchCondition.LIKE,"%RD%"), null);

        return PersistenceHelper.manager.find(qs);

       

    }

}

 

Result is like this when I click on actions command,

 

Can someone help me to figure how to get the proper table here?

Apply latest life cycle template iteration

$
0
0
Just curious if anyone has had success running the “LCReassignUtility” from the command line.

When I run it, it returns 0 affected objects for wt.epm.EPMDocument and only 11 for com.tm.DefaultEPMDocument (CAD Docs).  I should be getting around half a million.

I've double checked my OID's and my life cycle name. Any ideas?

This is on 10.2 M020.

Thanks.

Tom U.

QuerySpec for DB query

$
0
0

Hi,

 

I need to create QuerySpec using given database query below is there any way I can covert below command to queryspec

 

select pm.name as PartName, pm.WTPARTNUMBER as PARTNUMBER, pr.NAMECONTAINERINFO as PRODUCTNAME from wtpart p, WTPARTMASTER pm, PDMLINKPRODUCT pr

where p.IDA3MASTERREFERENCE = pm.ida2a2 and p.IDA3CONTAINERREFERENCE = pr.ida2a2 and pr.NAMECONTAINERINFO = 'Test';

Overview on Windchill Product Analytics

$
0
0

Hi All,

 

Can anyone share any guide or reference for some inputs on what Windchill Product Analytics is ?


As i had browsed in google about WPA it gave inputs either about Windchill Cost or Windchill Materials and Substances. So apart from these two are there any other modules in WPA ? If yes what are they ?


So if anyone can find some guide or reference material about WPA I do request you to please share the same so that I can get more inputs on what WPA is all about and how to configure and customize it.


Thanks in advance.


Best Regards,

Aditya Achanta

Out of Date Check - how does it work?

$
0
0

Hi,

Wondering about the preference available at site level, in the workspace section, called "Out of Date Check":

out_of_date_check.png

I set it to "yes" so that users would be notified about out-of-date objects, as the following screenshot teases:

https://thingworx.ptc.com/apps/solution_preview/solution/lang/presolution?lang=en&n=CS47173

(Which shows a clock icon at the top of the table near the "Pick an action" drop down)

 

But the preference doesn't seem to have any effect for me and I haven't been able to see this aforementioned out-of-date icon.

 

This is what I tried:

Using Creo 2, connected to Windchill 10.2 using the internal Mozilla browser.

 

Added a revision 0.1 model to my workspace.

Another user checked out this model, modified it and checked back in; Commonspace now is at 0.2.

My workspace shows no notification, even after I wait 5 minutes, nothing happens; I try to refresh the page -nothing...

 

 

does anyone know if this functionality could be working for us ? We use Windchill 10.2 and Creo 2.0.

Maybe I'm not expecting it to work the way it is intended...

Is there is there some auto-refresh setting that I am missing?

Only Pro/Engineer Authored CAD Documents are valid for export.

$
0
0

I am trying to export files that were non native , that is a visio drawing .vsd, and a Microsoft Word document .docx. These were imported ok into my Windchill PDM Link.10.2 workspace as dynamic documents, but I cannot export them. I get the error shown in the topic title.

Has anyone encountered this and have a workaround?

Thanks


Query Builder: Move

$
0
0

Hi All,

 

I've been searching around but haven't been able to find anything on reporting on Move's in Windchill.

 

 

Would anyone be able to help me with a couple of questions:

 

- What table is the move history of an object stored in in the Query Builder?

 

- What is the correct way to join this table to the EPM Document to get a move history as well as the times of the moves?

 

 

Any help would be greatly appreciated!

 

Many thanks,

How do I give a user temporary access?

$
0
0

If I want to give an external company and its users temporary access to our Windchill data (5-6 months) how would i go about doing that.  Can I create a schedule to deactivate them?  I'd like to avoid having to put an item in my calendar and make it more automatic.

Never Built : Error With Wt Part Structure.

$
0
0

We have an assembly say xyz.asm who's part Structure shows excluded. (Information Page of CAD Assembly --> Action --> Compare Part Structure --> On Wt Part Structure window all part shows Exclude)

 

When I compare its CAD Structure (Information page of WT Part xyz.asm --> Action --> Compare CAD Structure --> Never Built: The Part and CAD Document have been never Built. The Build CAD Structure action will update the existing CAD Document use and CAD Document to have the same attributes as the parts.

 

How do I resolve this Issue?

 

 

Thanks & Regards

 

Kshitiz

Windchill Training Available at LiveWorx

$
0
0

Good day everyone,

Are you attending LiveWorx and want to sharpen your Windchill skills?

This blog is worth a read, but  I will give you the highlights.

If you are attending LiveWorx, please message me Toby Metcalf I would like to connect with as many community members as I can.

Best,

Toby

Where can I find instruction about how to create Modeled Attributes?

$
0
0

 

We are trying to link a part to a document instead of typing the part number; we would like to a create a modeled attribute to use a “picker.” We just do not know how to do it. I can’t find any instructions about how to create a modeled attribute. All I have found on modeled attributes is this: “Modeled attributes are programmed in Java and cannot be created using the Type and Attribute Management tool”

 

We would like to know what we need to do it and how we do it.

 

Thanks!

Capture.JPG

Viewing all 6049 articles
Browse latest View live


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