Quantcast
Channel: PTC Community: Message List - Windchill
Viewing all 8876 articles
Browse latest View live

How to toggle between Roles in Windchill?

$
0
0

Is there a way to switch to different roles while logged in windchill?

I am a Super User and for testing purpose as normal user, can I change roles instead of changing username itself?


Re: Change Request Input from multiple users

$
0
0

Conor,

 

Thinking about ways to do this without custom solutions, what you are suggesting, to me, sounds more like something that should be handled via the following:

  • Use workflow/team template to capture the possibility for Functions A, B, C, etc and the need to designate and require input from them.
  • Workflow can be sub-routed to require these inputs as necessary.
  • In order to get the requirement down for Functions only to be able to see their own inputs and not others, yet allow admins to see all function inputs, I'd try using WTDocument soft-types, one for each function, called something like "Function A/B/C CR Input" for each one.  You could make the WTDocument not even require content - just use attributes as necessary to capture the input.
  • Set up ACLs for each accordingly.
  • Regardless of where these WTDocs exist, use the "attachments" functionality on the CR and attach them via the WTDocument URL (this way you can relate the CR to the WTDocument, but also allow for editing/revising of the WTDoc as well).

 

This way, when the CRB vote finally arrives, all people can see the URL links from the CR attachments to the WTDocs, but only admins can actually access "all" Functions actual WTDocs details page, and Functions can see only their own.

 

This solution requires no custom code.

 

My company works with all things Windchill.  If you'd like to discuss this further or if you have any other questions about what we do or how we can help, feel free to contact me at robert.sindelar@eccellent.com or go to our website at www.eccellent.com.

Re: How to define an access policy to a role so that he can have only access to Print and View WTObject?

$
0
0

Create New profile for View and Print and Assign that Profile to the Respective Participants. or  Create Profile for Guest Role, Disable Download As Primary Action, it Not able to Open in Creo View (Error Occurred) and also the Same Action Not working in Project Context.

Re: Upload failure starting "Upload Failure code: J03_WCCLD_CONNECTION_FAILURE"

$
0
0

Chrystal,

 

Can you provide a bit more information as to what actions you were performing when you received this error?  Were you creating a WTDocument or an  EPMDocument?

Re: Finish button in Change Request creation wizard does not appear

$
0
0

Hmm this is odd indeed.

 

A few things to try:

 

  • Does this happen on other objects with a similar wizard (i.e. Promotion Request, Change Notice, Problem Report)?
  • Does this happen only to specific Windchill user accounts?
  • Does this happen only on specific computers?
  • Does this happen if you change web browsers?
  • Does this happen if you change the version of Java being used by the client machine?
  • Can you get this error to occur if creating a Change Request while using the Windchill application server itself?
  • If you have a test Windchill system, does this issue occur there too?
  • At the time the issue occurs, do any error messages show in the Method Server logs?

Re: Help! "Build Failed" WT Part Error

$
0
0

Susan,

 

Is this still an issue for you?

 

One thing you can try is to manually dissociate and reassociate the link between the CAD part and WTPart for "Part-12307, 2 TAB WELD NUT, A.4 (Design)" and see if that makes it a "correctly-created" association.

 

If you have the error stack from the MethodServer log for this error that may also provide more information.

How to create colour varaint in windchill

$
0
0

We want to know about functionality of colour variant

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


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

$
0
0

Rather than looping the statement, it would be easier to just change the increment value for the sequence. The statement to change the increment value is:

Alter sequence WTKEY_SEQ increment by <New Increment Value>;

 

Just replace '<New Increment Value>' with the difference between the current sequence value and the value you want the sequence to be. After changing the increment value, then you just need to run 'select WTKEY_SEQ.nextval from dual' once, and it will increment to your target value. Afterward, make sure to set the increment value back to 1, by running:
Alter sequence WTKEY_SEQ increment by 1;

Re: Importing non Windchill/PTC files into Windchill for rev control

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

$
0
0

Now that's odd. When the CN and Task are created the default selections are populated but after the CN is created and ready to submit they all become unselected?

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!

Re: Advice for Windchill test/production SQL database setup

$
0
0

With the DB you can it either way and there should not be any noticeable difference. I use Oracle and have done it both ways.

 

Do not run your VM test/Dev environment on your production server. You can run test/Dev on VM on another physical box, but let the physical production do its thing alone.

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

$
0
0

Randy, I'm glad you found a "solution to your earlier question".  Would you be so kind as to share how you did it?  I see that you created an expression to set a variable prior to the email notification, but what is the URL link?  How do you get it?  I cannot figure out how to the WorkItem #.

 

thanks, Clay

Re: Advice for Windchill test/production SQL database setup

$
0
0

We run all of our servers as VMs.  I would suggest running your database on a completely different VM from production so you can test OS and database patches and updates without impacting the production system.  I also prefer having the database running on a different VM than the Windchill application, but there are plenty of people who run them together.  Keep in mind that you shouldn't need to purchase expensive processor licenses for the test SQL system.  You should be able to just run SQL developer edition.


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

Re: Rename a Product

$
0
0

Products can be renamed from right inside the Windchill interface.  No different than renaming a folder.

Re: Advice for Windchill test/production SQL database setup

$
0
0

To answer your questions (and in agreement with Ben and Tom):

 

  1. Personally I've seen it more common to have one instance of SQL per installation.  This way, if an instance undergoes maintenance or an update, it won't take down the other 2 databases, and each machine that the instances are on will have a lower RAM / CPU requirement since they each only host 1 DB instead of 3 total.  But, either way is fine.
  2. Definitely use VMs for EACH Prod/Test/Development Windchill box, with recommendation below.  I'd even say as an extra level of redundancy, have a separate physical host for the Production VMs and a separate physical host for all Test/Dev/Other non-Prod VMs

 

One common implementation strategy I have seen:

 

  • Production environment (Physical Host #1)
    • Separate VMs for the Windchill Application Server and the Windchill Database Server for better performance
    • Higher RAM / CPU for these machines to support the day-to-day user base functionality
    • A connected SAN with plenty of space for file vault storage
  • Test environment (Physical Host #2 - for end-user testing of newly-built functionality)
    • Only need one VM for Windchill application and DB together
    • Lower RAM / CPU requirement, as load will be very low and only have a handful of users testing at any given time
    • Vaulting strategy ranging from exact duplicate to "most recent month or quarter" of files, with local path to vault synonymous to prod setup (makes rehosting easier)
  • Development environment (also Physical Host #2 - for creating and developing new configurations, types, attributes, life cycles, workflows, etc)
    • Only need one VM for Windchill application and DB together
    • Minimal RAM / CPU, as rarely will there be more than one user at a time using the environment
    • Vault location setup similar to Production and Test, but no historical vault files coped over (will allow you to MAKE content for testing, but no significant drive space requirement)

 

That's my two cents.

 

A lot of these questions do depend on your user count and the level of "depth" to which Windchill will be used.  Will it be used for the full-fledged PLM capabilities (EPMDocs, WTParts, WTDocs, workflows, representations, publishing, etc)?  Or just for document control?  Or somewhere in between?

 

Can you comment on that?

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?

Re: Importing non Windchill/PTC files into Windchill for rev control

$
0
0

Tim - PTC doesn't have any Workgroup Manager based integration for Leica Cyclone and hence you can't register it with the WGM even though you've installed the WGM application. On the PTC side, we have no plans to develop such an interface either. I am not aware of any Partner like KPIT who has developed such a WGM interface for Leica Cyclone.

 

Pls. feel free to reach out to me directly, if you have further questions.

 

Thanks,

 

Mark

 

P.S. I am responsible for all MCAD WGMs, ECAD WGMs and Creo View @ PTC.

Viewing all 8876 articles
Browse latest View live


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