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?
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?
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:
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.
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.
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?
Hmm this is odd indeed.
A few things to try:
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.
We want to know about functionality of colour variant
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
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;
I-cubed writes all of the WGMs for PTC...
Are you sure this is still the case? I was speaking with the WGM product manager a few years back and thought she said PTC had pulled these back in house. A quick Google search shows that I-Cubed was acquired by KPIT back in 2014 and the CEO who was running it has since left the company.
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?
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!
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.
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
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.
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
To answer your questions (and in agreement with Ben and Tom):
One common implementation strategy I have seen:
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?
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/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:mvc="http://www.ptc.com/schema/mvc" xsi: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?
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.