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

how to copy the CAD/Dynamic Doc from product to product?

$
0
0

hi every one,

 

i just trying to copy the cad Doc from one product to another then the error is coming while pasting in another product.

error says that " the cad or dynamic document can only be  pasted to project from library or product"?


Cognos Reporting : Prompt Page

$
0
0

Hi,

 

I am in the process of creating a prompt page for a Cognos report. I*E task is the data source for the same. I know, one can create a prompt page by simply adding @param to the task

Ex:

@param java.lang.String Number

 

The above provides a simple text box on the prompt page. Would you be able to tell me how can we have a drop-down or radio box as input on the prompt page ?

 

The values from the prompt page will be read in the I*E task before the task is fired. The input value will form a part of the where clause for the task.

 

Thanks,

Malavika

How to execute an I*E task from Java code.

$
0
0

Hi all,

 

Has anybody got a small example of executing an I*E task (in folder <windhcill_home>/tasks/...) from a Java code. ? I use the following code which throws error.

 

String taskPath = "D:/ptc/Windchill_9.1/Windchill/tasks/searchOrg.xml";

         WTProperties wtproperties = WTProperties.getLocalProperties();

         String instance = wtproperties.getProperty("wt.federation.ie.VMName");

        

         System.out.println("instance = " +instance);

        

         Task task = new Task(taskPath);

         task.addParam("instance", instance);

        

         task.invoke();

 

 

The error I get is

 

java.lang.ClassNotFoundException: com.ptc.windchill.keystore.WTKeyStore

    at java.net.URLClassLoader$1.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at java.net.URLClassLoader.findClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at java.lang.Class.forName0(Native Method)

    at java.lang.Class.forName(Unknown Source)

    at com.infoengine.au.IEProperties.preload(IEProperties.java:245)

    at com.infoengine.au.IEProperties.<init>(IEProperties.java:269)

    at com.infoengine.au.NamingService.getIEProperties(NamingService.java:1398)

    at com.infoengine.SAK.TaskCompiler.<init>(TaskCompiler.java:119)

    at com.infoengine.SAK.Task.compile(Task.java:1827)

    at com.infoengine.SAK.Task.invoke(Task.java:1736)

    at ewb.test.TestClass.main(TestClass.java:91)

Exception in thread "main" java.lang.NullPointerException

    at com.infoengine.procunit.adapter.Adapter.createConnection(Adapter.java:912)

    at com.infoengine.procunit.adapter.Adapter.<init>(Adapter.java:160)

    at com.infoengine.SAK.ObjectWebject.invoke(ObjectWebject.java:143)

    at com.infoengine.compiledTasks.file.D$3a.ptc.Windchill_9$2e1.Windchill.tasks.ext.flex.searchorg$2exml.invoke(searchorg$2exml.java:73)

    at com.infoengine.SAK.Task.invoke(Task.java:1783)

    at ewb.test.TestClass.main(TestClass.java:91)

Structure Compare Confusion (WTPart/CAD)

$
0
0

Hi there. I am using the structure compare tool and I'm confused. In my CAD structure I have a Creo part 12345. Creo part 12345 has an associated WTPart 12345 with an "owner" relationship. When I go to the Creo part's structure page and use the compare tool, there is a blank line on the right where the WTPart should show up. I know the WTPart exists and I know that it is associated to the Creo part. Why would it not show up?

 

Thanks for the help.

Managing Participant

$
0
0

Hi,

 

I just want to know what went wrong when I create a group and user in windchill.

 

I created a a group name "test"

Untitled.png

And I created a user name "user" and I assigned it to the group "test"

 

Untitled1.png

 

My question is when I log in as a "test"user.  I cant view anything on my product.

Untitled.png

 

Whant seems to be the problem?

 

Thanks

How to block the access of a document( and all its released predecessor) based on the Life cycle state?

$
0
0

Hi

 

I have a requirement in Windchill PDM Essentials/Link .

 

Requirement:

Guest should be able to view the document only if its current State is "Released".  If there is a bug fixing going  and its current state is "Inwork" , the Guest should not be able to see all versions of the document including the one which was released.

 

Lets assume,

Documents version is

Current Version          Guest Access

                    A.1 & Inwork=> No Access

                    A.2 & Inwork=> No Access

                    A.3 & Released => Should be able to see the released document.

 

Upto this point , i handled using the Policy Administration. Now to add the complexity further ,

               The above document is revised.

 

               B.1 & Inwork     ==> Guest should not be able to see the A.3 document (as the B.1 is having the state "In Work") . In the sense, if there is a bug fixing going on , the total document including its history should get hidden.

          

Hope i explained it clearly.

 

Please share your ideas on accomplishing the same.

CAD Documents error.

$
0
0

Hi All,

I am using Windchill 10.2 M020 and I am unable to create CAD Documents directly in the Workspace. I create it only using creating WTParts with create CAD Documents option. When directly creating CAD Documents then gives the following errorr.

 

 

java.io.IOException: tmpFile.renameTo(classFile) failed at org.apache.jasper.compiler.SmapUtil$SDEInstaller.install(SmapUtil.java:204) at org.apache.jasper.compiler.SmapUtil.installSmap(SmapUtil.java:163) at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:483) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:378) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:353) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:340) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:657) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357) 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 org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:238) at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:264) at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1208) at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:992) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:939) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812) 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:249) 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:335) 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:1650) 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:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:409) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) at org.apache.tomcat.util.threads.TaskThread.run(TaskThread.java:77)

 

 

 

kindly help.

Thanks

Windchill Publisher stopped

$
0
0

Hi, I'm having a problem with the Windchill publisher, I've had a quick look inside the utilities / queue management and I'm not certain if all the Publishers should be enabled as a couple of ours seem to be disabled or stopped. Is this correct or should they all be enabled and started ? Any help or tips will be appreciated.

 

windchill.JPG


New Doc Type Layout. Duplicate attribute use

$
0
0

Hi Everyone,

I am working on mocking up a “web form” for our sales force so they can order items by creating an order “document” in Windchill PDMLink 10.1.

It’s basically a larger order form with items and quantity’s for each item ordered.

The items are Managed Global Attributes that use Global Enumeration Constrains to pick from. All good so far.

The thing that’s stumping me is the Quantity. It seems I can’t use the same Attribute twice on a layout and it seems silly to create a Qty for each of the items?

Example: Screw Qty., Nut Qty., Bolt Qty., etc.

The enumeration for quality is list a list of numbers (0-10) so that can be used again.

Any ideas?

 

OOB web form already available?

 

Cheers.

Office 32bit with DTI 64 bit Issue

$
0
0

All,

We have 64 bit Win 7 pro machines but our IT want us to run 32 bit MS Office 2010.  When we install DTI it has to be 64bit because of the OS

Has anyone seen issues such as word closing down with an error or Windows Explorer closing down unexpectedly?

 

We have seen this on a couple machines now so am now delaying rolling out DTI until we can fix this

 

Windchill 10.2 M020

 

Thanks in advance

 

Chris

Correct Validation step for Import from Spreadsheet to permit copy/paste or export

$
0
0

Currently in Windchill 10.2, performing copy/paste operations out of the Validation step of Import from Spreadsheet results in not all of the information being pasted correctly. For our users, who frequently run into errors and find they need to provided these errors to our business support team for assistance, this can be frustrating, especially when errors scroll off the screen and many print screen operations are required to get around this issue.

 

I logged a support call (12336037) and was told this is due to the combined JavaScript/Ajax coding is the reason why copy/paste doesn't work.

 

I see two options -

 

1) Re-code the page to permit copy/paste.

2) Add a simple "Export" or "Copy to clipboard" button to permit these errors to be communicated.

Login errors - Winchill Quality Solution version 10.1

$
0
0

Hi All,

 

I have encountered errors when trying to login to the Winchill Quality Solution  Administrator and Windchill Quality Solutions version 10.1.  Screen captures of the errors are attached.

 

Both of these were working fine before Xmas!

Appreciate your input.

 

Thanks,

 

Thanh Truong

BOM's in windchill

$
0
0

Hi,

 

I just want to ask where/how to generate Bill Of Materials in windchill PDM Essentials?

 

Thanks!

Eclipse Configuration

$
0
0

Hi All,

 

   I have configured eclipse with windchill using "ant -f bin/tools.xml eclipse_project" cmd and imported the cust_windchill_src in eclipse..

 

   I m able to created,compile ,reload,debug java files successfully.but for jsps,xmls its not working..I have atatched the error screen shot.

 

 

    is there any configuration for jsp's,actions(netmarkets,config folder)  in eclipse..

 

 

 

Thanks,

 

Chanhasen

Sync on Effective Date?

$
0
0

Anyone have any luck with using Effective date on WTDocument in 10.1 M040?

 

I would like to have the workflow sync on the Effective date from the Change Task within the CN.

small.jpg

 

"Objects that are effectivity-managed include parts, documents..."

 

"Effectivity is the planned date, lot, or serial number at which old versions of the object are replaced with new versions in production. You can make changes to planned effectivity settings from a change notice or a change task. When the change notice has been approved, the planned effectivities get copied over as actual effectivities on the given object."




Nuisance pop-up tags during Windchill attribute editting

$
0
0

Is there anyway to turn off the nuiscance pop-up tags that show up in Windchill during attribute editting?

The tag interfers with your ability to select the table cell to edit.  We are looking for some relief.

Thanks in advance for any help you can offer.

KR

popup tag.GIF

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!

Basic retrieval of data using Java/SOAP?

$
0
0

My organization has an existing installation of Windchill and PDMLink and we are interested in integrating the Part and BOM data from those systems with third-party systems in the Enterprise. Our intention is to write a Java app that pulls data from Windchill/PDMLink and puts it into the other systems. We don't have a big ERP system, so we're not interested in doing heavy automated connectors -- we just want a simple way to retrieve data from Windchill using it's SOAP webservice.

 

Unfortunately, I can't find any documentation to get me started. I found some webservice documentation (http://<my windchill server>/Windchill/infoengine/jsp/tools/doc/index.jsp) but I don't know how to go about calling that webservice. Could somebody help point me in the right direction?

 

  • How do I do a simple SOAP call to retrieve information from Windchill?
  • If I get the Windchill installation files, is there an API or something I can include in my Java project?
  • Is there somewhere I can find sample code for this scenario?

 

Any help would be appreciate and I'm happy to clarify or provide further information if necessary. Thanks!

While creating a document subtype as organisation admin I am getting error message as "Current User is not authorized to access "com.ptc.ptcnet.PTCPubDoc". can any body help me to resolve this problem?

$
0
0

While creating a document subtype as organisation admin I am getting error message as "Current User is not authorized to access "com.ptc.ptcnet.PTCPubDoc". can any body help me to resolve this problem?

How to use Purge, Archive and Restore functinality?

$
0
0

Hi Experts,

 

I am working on Windchill Archive Module in 10.2 M22 Windchill.

I have installed both the server and client of Archive Windchill. Now my problem is, I want to purge objects but I am not able to do so. Can anyone guide me how to purge an object and archive it and again restore it.

 

Thanks in advance.

Viewing all 5797 articles
Browse latest View live


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