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

PartsLink Enhancements Monthly Sprint Demos

$
0
0

I would like to invite customers who are interested in seeing monthly sprint demo of enhancements being made to PartsLink. The session would be valuable if you are already familiar with the product and using it in the production.

If you are interested, kindly send me following information:

Name:-

Company Name:-

Email address:-

Currently Using Product in production Environment (Yes/No):-

One Enhancement that you would like to see:-

 

Thanks,

Divi Lohiya (dlohiya@ptc.com)

Senior Product Manager


Windchill Customization(Giving constraint to an attribute)

$
0
0

Hi everybody !

I am very new to this forum & very beginner to windchill 10.1.

Is this possible to add constraint to an attribute through program.

(ex. SingleValuedConstraint, LegalValueList)

How many contexts?

$
0
0

We have been working with Windchill PDMLink (10.1) since 2012. Until now we have been using Windchill only for CAD, but now we want to incorporate everything into Windchill. We are therefore reviewing our routines and trying to adapt the "Windchill mindset". In this case, what is the Windchill philosophy regarding contexts?

 

  • We have many different customers and projects in our organization. Should we create a new product context for each new project? (Our products is often “one of a kind”)
  • Until now we have been using only one product context, with a folder structure representing our customers. Is there any downside to keep working this way?

 

Thanks,

Ørjan

document creation restricted to a particular template

$
0
0

The requirement is when the product is created with design office template then only it should be able to create document..other than document should not be created.

how to start up with this???

Windchill 10.2 : Cannot find newly added attributes by using attributeContainer.getAttributeDefinitions()

$
0
0

I just created a new global attribute (att1) and added it to an existing classification (classifX). Now I cant find that attribute within the classification attributes. My code looks like this:

 

ClassificationNode cNode = queryForClassificationNodeByName("classifX");
cNode = (ClassificationNode)IBAValueHelper.service.refreshAttributeContainer(cNode, "CSM", null, null);
DefaultAttributeContainer attributeContainer = (DefaultAttributeContainer) ibaHolder.getAttributeContainer();
AttributeDefDefaultView views[] = attributeContainer.getAttributeDefinitions();for (int lv = 0; lv < views.length; lv++) {   AbstractValueView avv[] = attributeContainer.getAttributeValues(views[lv]);  for(int i = 0; i < avv.length; i++){    System.out.println(avv[i].getDefinition().getName());  }}

 

I get all the other attributes but not the attribute I just created. Could any one please tell me what's missing?

Stream closed exception

$
0
0

Hi! I am creating custom search utility. On the main search page (jsp) when user click on the search button (search buttob is an action that rendered like button) he call following method:

 

public static void search(NmCommandBean paramNmCommandBean) throws WTException, WTPropertyVetoException

          {

                    HttpServletRequest request = paramNmCommandBean.getRequest();

                    URLFactory urlFactory = (paramNmCommandBean.getUrlFactoryBean()).getFactory();

                    NmURLFactoryBean localNmURLFactoryBean = new NmURLFactoryBean();

                    urlFactory.setRequestURL(request.getScheme(), request.getHeader("HOST"), request.getRequestURI());

                    String url = urlFactory.getHREF("netmarkets/jsp/ext/search/executeAdvSearch.jsp");

                    HttpServletResponse response = paramNmCommandBean.getResponse();

                    RequestDispatcher rd = request.getRequestDispatcher(url);

                    response.setHeader("Pragma", "no-cache");

                    response.setHeader("Cache-Control", "no-store");

                    response.setDateHeader("Expires", -1L);

                    try {

                              rd.forward(request, response);

          }

                    catch (IOException e) {e.printStackTrace();}

                    catch (ServletException e) {e.printStackTrace();}

          }

 

All is good, but if executeAdvSearch.jsp contains mvc component insertion like follow:

 

<jca:action var="action" actionName="mvcSearch" actionType="advancedSearch" />

          <c:set var="mvcUrl" value="/${action.url}" scope="request" />

<jsp:include page="${mvcUrl}" />

 

Method server throw an exception like:

 

java.lang.NullPointerException

        at com.ptc.windchill.enterprise.search.mvc.SearchComponentBuilderResolver.getConfigBuilderId(SearchComponentBuilderResolver.java:46)

        at com.ptc.windchill.enterprise.search.mvc.SearchComponentBuilderResolver.resolveConfigBuilder(SearchComponentBuilderResolver.java:70)

        at com.ptc.mvc.components.ComponentController.getComponentDefinition(ComponentController.java:187)

        at com.ptc.mvc.components.ComponentController.handleRequest(ComponentController.java:97)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)

        at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.jav

        at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)

        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)

        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)

        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)

        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585)

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

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

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)

        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)

        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)

        at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:954)

        at org.apache.jsp.netmarkets.jsp.ext.nikiet.search.executeAdvSearch_jsp._jspService(executeAdvSearch_jsp.java:122)

        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)

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

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)

        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)

        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)

        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)

        at ext.nikiet.search.NmSearchCommands.search(NmSearchCommands.java:56)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at com.ptc.netmarkets.util.beans.NmCommandBean.execute(NmCommandBean.java:2323)

        at com.ptc.core.components.servlets.DefaultJCAPageModelFactory.process(DefaultJCAPageModelFactory.java:383)

        at com.ptc.core.components.servlets.DefaultJCAPageModelFactory.getPageModel(DefaultJCAPageModelFactory.java:182)

        at com.ptc.jca.mvc.components.JcaPageModelHandlerInterceptor.preHandle(JcaPageModelHandlerInterceptor.java:121)

        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:781)

        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)

        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)

        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585)

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

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

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

        at wt.httpgw.filter.WTContextBeanFilter.doWithWtContextBeanHandler(WTContextBeanFilter.java:98)

        at wt.httpgw.filter.WTContextBeanFilter.doFilter(WTContextBeanFilter.java:58)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

        at wt.servlet.CompressionFilter.doFilter(CompressionFilter.java:248)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

        at wt.servlet.RequestInterrupter.doFilter(RequestInterrupter.java:327)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

        at wt.servlet.ServletRequestMonitor.doFilter(ServletRequestMonitor.java:1582)

        at wt.servlet.ServletRequestMonitorFilter.doFilter(ServletRequestMonitorFilter.java:56)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)

        at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200)

        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)

        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

        at java.lang.Thread.run(Thread.java:662)

        at org.apache.tomcat.util.threads.TaskThread.run(TaskThread.java:77)

ERROR : org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/Windchill].[jsp]  - Servlet.service() for servlet jsp threw exception

java.io.IOException: Stream closed

        at org.apache.jasper.runtime.JspWriterImpl.ensureOpen(JspWriterImpl.java:210)

        at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:115)

        at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:190)

        at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:126)

        at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:80)

        at org.apache.jsp.netmarkets.jsp.ext.nikiet.search.executeAdvSearch_jsp._jspService(executeAdvSearch_jsp.java:133)

        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)

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

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)

        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)

        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)

        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)

        at ext.nikiet.search.NmSearchCommands.search(NmSearchCommands.java:56)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at com.ptc.netmarkets.util.beans.NmCommandBean.execute(NmCommandBean.java:2323)

        at com.ptc.core.components.servlets.DefaultJCAPageModelFactory.process(DefaultJCAPageModelFactory.java:383)

        at com.ptc.core.components.servlets.DefaultJCAPageModelFactory.getPageModel(DefaultJCAPageModelFactory.java:182)

        at com.ptc.jca.mvc.components.JcaPageModelHandlerInterceptor.preHandle(JcaPageModelHandlerInterceptor.java:121)

        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:781)

        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)

        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)

        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585)

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

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

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

        at wt.httpgw.filter.WTContextBeanFilter.doWithWtContextBeanHandler(WTContextBeanFilter.java:98)

        at wt.httpgw.filter.WTContextBeanFilter.doFilter(WTContextBeanFilter.java:58)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

        at wt.servlet.CompressionFilter.doFilter(CompressionFilter.java:248)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

        at wt.servlet.RequestInterrupter.doFilter(RequestInterrupter.java:327)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

        at wt.servlet.ServletRequestMonitor.doFilter(ServletRequestMonitor.java:1582)

        at wt.servlet.ServletRequestMonitorFilter.doFilter(ServletRequestMonitorFilter.java:56)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)

        at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200)

        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)

        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

        at java.lang.Thread.run(Thread.java:662)

        at org.apache.tomcat.util.threads.TaskThread.run(TaskThread.java:77)

Future Enhancements in Query Builder/Report Builder

$
0
0

I would like to invite customers who are interested in seeing monthly sprint demo of enhancements being made to Query Builder and Report Builder. The session would be valuable if you are already familiar with the product and using it in the production.

If you are interested, kindly send me following information:

Name:-

Company Name:-

Email address:-

Currently Using Product in production Environment (Yes/No):-

One Enhancement that you would like to see:-

 

Thanks,

Divi Lohiya (dlohiya@ptc.com)

Senior Product Manager

Windchill 9.1 Remote Debugging with eclipse

$
0
0

Hello all,

 

I trying to get remote debugging to work with eclipse using Windchill 9.1 M10

 

I followed this tutorial: http://maheshmhetre.blogspot.com/2013/02/windchill-method-server-debugging.html

 

but I always get the error below in the server manager after a restart.

 

Fri 12/19/14 10:08:48: MethodServerMonitor: ERROR : wt.manager.ServerManagerImpl - Start of MethodServer timed out.

Fri 12/19/14 10:08:48: RMI TCP Connection(1)-10.11.4.57: INFO  : wt.manager.ServerLauncher - Starting MethodServer

Fri 12/19/14 10:08:49: MethodServerMonitor: ERROR : wt.server.manager.startup - Unable to launch 1 MethodServer instance

Fri 12/19/14 10:08:49: MethodServerMonitor: wt.util.WTRemoteException: Unable to get server; nested exception is:

Fri 12/19/14 10:08:49: MethodServerMonitor:           (wt.manager.managerResource/3) wt.util.WTException: Start of MethodServer timed out.

Fri 12/19/14 10:08:49: MethodServerMonitor:           at wt.manager.ServerManagerImpl.getServer(ServerManagerImpl.java:271)

Fri 12/19/14 10:08:49: MethodServerMonitor:           at wt.manager.RemoteServerManager.getServer(RemoteServerManager.java:299)

Fri 12/19/14 10:08:49: MethodServerMonitor:           at wt.manager.StandardServerMonitor$ServerMonitor.startServers(StandardServerMonitor.java:333)

Fri 12/19/14 10:08:49: MethodServerMonitor:           at wt.manager.StandardServerMonitor$ServerMonitor.run(StandardServerMonitor.java:213)

Fri 12/19/14 10:11:49: RMI TCP Connection(1)-10.11.4.57: ERROR : wt.manager.ServerManagerImpl - Start of MethodServer timed out.

Fri 12/19/14 10:11:49: RMI TCP Connection(1)-10.11.4.57: INFO  : wt.manager.ServerLauncher - Starting MethodServer

Fri 12/19/14 10:13:34: MethodServerMonitor: INFO  : wt.server.manager.startup - Starting 1 additional MethodServer instance

Fri 12/19/14 10:14:49: RMI TCP Connection(1)-10.11.4.57: ERROR : wt.manager.ServerManagerImpl - Start of MethodServer timed out.

Fri 12/19/14 10:14:49: RMI TCP Connection(1)-10.11.4.57: INFO  : wt.manager.ServerLauncher - Starting MethodServer

Fri 12/19/14 10:15:41: wt.jmx.core.SharedScheduledExecutor.worker: INFO  : wt.summary.general - JVMName=7596@PLMWEBTEST, HeapMemoryUsage=6513848, NonHeapMemoryUsage=22583432, Uptime=603108, ProcessCpuTime=10748468900, JITCTime=5345, GarbageCollectors=[Copy,MarkSweepCompact], GCTime=[120,486], GCCount=[21,6], Classes=2609, Threads=19

 

 

 

Steps to setup debugging:

 

1. Changed wt.properties.xconf:

 

name="wt.manager.cmd.MethodServer.nonibm.java.args" default="-XX:PermSize=72m-XX:MaxPermSize=200m -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket, server=y, suspend=n, address=7777 -Djava.compiler=NONE"

 

2. run xconfmanager -p

3. Stop apache

4. stop tomcat

5. stop windchill

6. stop windchillDS

7. start windchillDS

8. start windchill

9. start tomcat

10. start apache

 

 

Any help is appreciated


Revise after upgrade to 10.2

$
0
0

So I recently upgraded my test server from 10.1 m040 to 10.2 m020.  I started testing stuff and came across something that is not a big deal from the big picture but a little disturbing that it would even happen, unless I've missed something that I need to do.

 

In 10.1 when I revised an object it would go from revision 2.2 to revision 3.0.  In 10.2 when I just tried it, the revision went from 2.2 to 3.1.  Is this normal with 10.2?  What happened to iteration 0?  Is there a preference for this?

Add a Custom Attribute to a specific task in Workflow

$
0
0

Is there an easy way to add a custom attribute only to a specific task in a workflow?  For example, in the OOTB Change Notice workflow there is an Audit task.  How would I add an attribute to this task only?

 

-Ryan

Windchill Security - Joined Active Directory Groups

$
0
0

Curious if anyone is leveraging Active Directory groups for access control in Windchill.  I am evaluating it right now and one of the hangups I'm running into is the inability to set permissions based on the combined membership of two different groups.

 

For example, let's say I have two groups in Active Directory:

  • Windchill_Users
  • Product_ABC_Users

 

The first group contains everyone in the company that is allowed to access Windchill.  The second group contains everyone one in the company who is allowed access to one particular product.  (Could be department, division, product team, whatever.)  This group has MANY more people in it - many who should never appear in Windchill.

 

In a perfect world, I would like to define access based on a join of these two groups.

  • If a user exists in both groups then they are allowed access.
  • If a user only exists in Windchill_Users, they can log in but they won't be able to access Product_ABC.
  • If a user only exists in Product_ABC_Users, but not in Windchill_Users, then they can't log in at all (or even be listed in Windchill).

 

From my testing so far, I can prevent users from logging in via complex Apache filters, but ALL members of the Product_ABC_Users group are showing up in Windchill even though both the Info*Engine and Apache user filters are set to only allow users in the Windchill_Users group.

 

I really would like to avoid recreating a bunch of context specific groups in Windchill and then manually having to maintain membership on them individually.  Having the ability to check membership in multiple groups at the same time would really simplify things.  Has anyone figured out a way to accomplish something like this?

 

Thanks!

How to get the Product Type using Windchill API

$
0
0

Hello team,

 

Can any one help me how I can get the Type of PDMLinkProduct using Windchill API.

I have created a Product softtype using type and attribute manager  wt.pdmlink.PDMLinkProduct|com.company.testProduct and I want to create it using the Windchill API but I am not sure how to set the type of the object can any one help me in this.

Can a Workflow task contain an option to "delegate" the task to another user?

$
0
0

Is it possible within a Windchill workflow task to have the option to "delegate" a task to another user? Currently the option available is "re-assign" the task. I realize that the entire workflow can be delegated to another user through calendar options, however, I would like the user to have the option to delegate their task while actually accessing their task.  The reason we want "delegate" as an option within a task is that we do not want the task to return to the original user.  Is this possible within Windchill 10.1?

How Do You Update A Graphic In Windchill

$
0
0

I am working in Docbook and I inserted a graphic.  Later, I made a change to the graphic.  How do I get the new graphic to show up in the Docbook to replace the old graphic? I want the graphic to replace the old one in Windchill.

How to get/Search AdminDomainRef.

$
0
0

I want to set/assign  the domain to a folder, And the API requires AdminDomainRef.

I want to Query and get this. But QuerySpech throws error saying it's not persistable object.

Can anyone sugest me how to get this....

Or How to set the domain to Folder Using API.

 

 

Thanks,


Report to fetch users based on given context and roles

$
0
0

Hello all, How to get the user details for a given role and context(role and context are inputs) using a Queryspec which can be captured in a single query result.  Thanks in Advance

Windchill generate bad url for the object info page

$
0
0

Hi. I've created the mvc component (table, that display a list of the WTDocuments). This component is placed inside the navigator page. The first field is the number and this field is the link to the info page.

final ColumnConfig docNumber;

                    {

                              docNumber = factory.newColumnConfig("number", true);

                              docNumber.setInfoPageLink(true);

                    }

 

The correct url to the info page should be: http://org.myorg.ru/Windchill/app/#ptc1/tcomp/infoPage?oid=VR%3Awt.doc.WTDocument%3A401274&u8=1

but windchill generate: http://org.myorg.ru/app/#ptc1/tcomp/infoPage?oid=VR%3Awt.doc.WTDocument%3A401274&u8=1

 

What is wrong?

Conditions to create WTPart on CAD part auto create and associate

$
0
0

Hi Experts,

 

I am building CAD driven product structure.

I have enabled auto create and Auto associate of WTPart when CAD object is checked in.

 

I want to create condition for WTPart creation [by auto creation] based on the attribute/object type from the CAD assembly.

  • If the CAD object is Generic – Skip creating the WTPart
  • If the CAD object has the attribute “BOM” with value “No” – Skip creating the WTPart
  • If the CAD object has the attribute “COMP” with value “No” – Create Gathering Part instead of WTPart.

 

 

Let me know the possibility to achieve this.

  • OIR configuration ?
  • Attribute level conditions ?
  • Customisation ?

 

Thanks

Murthi

Mange Family Table in Windchill ?

$
0
0

In Windchill , we have mapped part_name & part_number as an attribute .

File name : Cad Name

Number     : part_number

Name         : part_name

 

 

So that, the attribute will be updated in Windchill based on the value assigned in the parameter list inside the care (Tools-Parameter).

 

 

In family table Generic & Instance, we have assigned the value for part_name & part_number (Ex: Part_name: Plate,  part_number: 12345).

The value remains same for Generic & Instance.

 

 

Since, the parameter  part_number: 12345 is same for generic & Instance (Note: enabled WT Parts), not allowing to upload.

It is showing error like"CAD part is not unique".

 

 

And we can't assign different part_number for generic & Instance as per our standard.

 

 

So, I want to know the best way to handle the family table part like above mentioned scenario

Clarifications needed in BOM Management using Windchill

$
0
0

Hi,

   Good day to all.

 

I have a situation that needs some advice on how to handle the same. We have been using Windchill for quite some time now. During our usage of BOM we have identified that the End product BOM always pulls for the latest version of the child parts irrespective of the version or state of the End Product. Will explain with an example now:

 

Say i have an End Product named "A" with below details

 

Part NumbersVersionState
A10.4Released
A12.1Released
A23.7Released
Now the Product and Parts are revised for change as below
Part NumbersVersionState
A11.0Inwork
A13.0Inwork
A24.0Inwork
The problem is Now, when i go to old versions of Product A and retrive the BOM it displays the latest states of Parts irrespect of what state it was release then, example
A5.5Released
A13.0Inwork
A24.0Inwork

 

Is this how Windchill Normally behaves, i felt if this is the case then at any point of time no body will be able to retrive a old BOM.

 

Any help on this will be really appreviable.

 

Experts request your comment and support

Viewing all 5797 articles
Browse latest View live