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

How to make downloaded files read-only if not checked out?

$
0
0

Hi

 

After endless errors with DTI we finally had to deselect the MSoffice integration from the installation.

Now we can work using the Explorer integration, and we se no system errors anymore.

The issue we see now is that people update documents from DTI without checking them out first - they can edit them and save them - but it is saved to workspace only.

And they do not notice this mistake.

This is giving us problems - and updated documents are lost.

So how can we prevent users from doing this?

Others documents control systems we have (Like Documentum) will set a file as read-only when it is downloaded to workspace and not checked out.

How can we do something like this?

 

As we have removed office integration it looks like "Prompt for file overwrite" and "Prompt for Checkout and Checkin" doesn't work for us.

 

Best Regards

Soren Gylden

 

 


How to get java.sql.Connection object by code?

$
0
0

Hi to all!

I need to get Connection object from Spring. Anybody know how to do it?

Thanks!

Security labels in 10.2

$
0
0

All,

 

I am interested to know customer stories about successfully implementing Windchill security labels in 10.2 or in previous versions.

 

We are in pre-study stage using this feature.

Little bit background why we are exploring this option.

We see Access control is not enough to fulfill needs.The security labels might enable us sharing data efficiently with third parties,JVs etc. But still wondering what disadvantages and challenges it brings. Other reason behind this study, we would like to have our data classified (IP classification) as Confidential, Internal and Public etc.

 

Thanks

Ayyappan

How to get a report of the URL address of WTparts?

$
0
0

Hello community!!!

 

I am trying to get a report that list de URL address of WTParts. I have tried some joins between Part e URL link in query build report without success.

Does anybody knows how to do it?

 

Thanks a lot in advance...

how to know if WTMasterPart is used as Alternate or Substitute part

$
0
0

Hello,

 

In my requirement I want to clean up certain type of parts from Windchill but before we clean up I want to know if the WTPartMasterPart is used as Alternate part or Substitute part for some other part.

 

Any API's or Query report would help me.

 

Thanks,

Manjunath Reddy

clime milling whem volume milling.

$
0
0

is there a way to force Creo to climb mill when doing a volume roughing sequence? it seems to go back and forth from conventional and climb when machining.  Also is there a way to keep the tool down in the cut and not have it jump around when cutting?

Workflow assignee question

$
0
0

Hello,

 

I have been able to find some pieces of what is needed to implement this change, some questions remain I hope you can help with.

 

We assign a task to a Context Role which has a Group as its members. This assigns a Work Item to each group member and completes with ANY vote. We would like to capture the participant who completed a task, and replace the current Role participants in the workflow with that individual.

 

Here's what I know:

1. To Capture the participant who completed the Work Item: Task_Complete_User = (wt.org.WTUser)wt.session.SessionMgr.getPrincipal();  from Here

 

 

Here's what I need help on still:

2. How to Remove existing Principal in the Role

3. How to Add Task_Complete_User in to Role

 

I think I found it here

JSP Page to Set State

$
0
0

I am working on an administrative JSP page that would allow me to Set-State on wtdocuments and/or epmdocuments. I am using the Search-Objects webject to search for and get the information about the documents but, I cannot find a webect that allows me to set-state. Would anyone know how this could be accomplished in a JSP page? Is this something I would need to create a java class to handle? I have limited exposure to java so I would like to stick with the JSP if possible. Here is the search page I have currently. I would like to have the button that is clicked submit the request to the server for the state change.

 

search1.jpg

 

 

<%@page language="java" session="false"%>
<%@ taglib uri="http://www.ptc.com/infoengine/taglib/core" prefix="ie" %>

<html>
<head>


<title>WindSearch3.0</title>

<body>

</head>
<body>
<h2> Info*Engine JSP Test Page</h2>
<%
String where = request.getParameter ("where");
if ( where == null )
where = "()";
else if( where != null )
where= "(name='*" + where + "*')";
String wherevalue = request.getParameter ("where");
%>

<div class="main">
<h1>WindENG Search 3.0</h1>
<form action="aindex.jsp" method="POST">
Search: <input type="text" name="where" value="<%=wherevalue%>">
<input type="submit" value="Search">
<link rel="stylesheet" type="text/css" href="jsp.css">

<p><b>
Searching with where clause <%= where%>.
</b></p>

<ie:webject name="Search-Objects" type="OBJ">
       <ie:param name="INSTANCE" data="com.ptc.net.HostID.Windchill"/>
       <ie:param name="TYPE" data="wt.epm.EPMDocument"/>
       <ie:param name="VERSION" data="LATEST"/>
       <ie:param name="ITERATION" data="LATEST"/>
       <ie:param name="WHERE" data="<%=where%>"/>
       <ie:param name="WHERE" data="(state.state='Released')" />
    <ie:param name="ATTRIBUTE" data="CADName,name,state.state,versionInfo.identifier.versionId,obid" delim=","/>
       <ie:param name="GROUP_OUT" data="epmdocument"/>
</ie:webject>

<br>
<table border="1" cellpadding="2"
        <tr>
                <td>All<INPUT type=checkbox onclick="selectAll(this)" value=checkbox name=allcheckbox></td>
                <td>CADname</td><td>name</td><td>state.state</td><td>versionInfo.identifer.verisonID</td><td>OBID</dt>
        </tr>

    <ie:forEach groupIn="epmdocument" groupOut="row">
        <tr>
            <td><input value=" " type="checkbox"></td>
                <td><ie:getValue name="CADName"/></td>
                <td><ie:getValue name="name"/></td>
                <td><ie:getValue name="state.state"/></td>
                <td><ie:getValue name="versionInfo.identifier.versionId"/></td>
                <td><ie:getValue name="obid"/></td>
                <td><input type="submit" value="In Work"></td>
                <td><input type="submit" value="Preproduction"></td>
                <td><input type="submit" value="Released"></td>
                <td><input type="submit" value="Obsolete"></td>
        </tr>
    </ie:forEach>
</table>

</body>
</html>


Need a query xml for finding the checkin/checkout/download events. Dont want to do it via Auditing. Want a report manager query to get the details for specific amount of time

$
0
0

We are looking for historical data of how many checkin/checkout/download/upload has happened. Does any have a query builder to get this report ?

how to get the WORKPACKAGE data

$
0
0

Hello,

 

Does any one know how do we can retrieve the data from the WORKPACKAGE using database script

Get parts and its associated library using API's only

$
0
0

Hello,

 

I have following SQL

 

select master.wtpartnumber, lib.NAMECONTAINERINFO, lib.IDA2A2 from wtpartmaster master, wtlibrary lib where master.wtpartnumber not like '%-R'  and master.IDA3CONTAINERREFERENCE = lib.IDA2A2  and lib.NAMECONTAINERINFO not like '%test%'

 

I want to use this SQL in Windchill API's but I'm unsuccessful so far, here is what I have so far:

        final QuerySpec qs = new QuerySpec();        int lib = qs.addClassList(WTLibrary.class, false);        int mastInt = qs.addClassList(WTPartMaster.class, false);        ClassAttribute ca = new ClassAttribute(WTPartMaster.class, WTPartMaster.NUMBER);               ClassAttribute ca1 = new ClassAttribute(WTLibrary.class, WTLibrary.CONTAINER_ID);        qs.appendSelect(ca, new int[]{0}, false);        qs.appendSelect(ca1, new int[]{1}, false);        qs.appendWhere(new SearchCondition(WTLibrary.class, WTLibrary.NAME, SearchCondition.NOT_LIKE, "%test%"), new int[]{0});        qs.appendJoin(mastInt, WTPartMaster.CONTAINER_ID, lib);               // Below condition through error        //qs.appendAnd();        //qs.appendWhere(new SearchCondition(WTPartMaster.class, WTPartMaster.CONTAINER_ID, SearchCondition.EQUAL, WTLibrary.CONTAINER_ID), new int[]{0});        System.out.println("\n\n" + qs.toString() + "\n\n" + qs.getWhere() + "\n\n");

 

Can someone help me how to write the above SQL in API's?

 

Thanks,

Manjunath Reddy

Is it possible to automatically select the view following the document type?

$
0
0

In a panel we have some views, then we have to select the view from view list suitable to the each document type currently using. It is best way if PDMLink can automatically select defined view to fit the document type we using.

Add Preference to prevent manual edit of ECAD Product Struc/BOM created by CAD data.

$
0
0

Integration of ECAD into the Unified WGM allows greater functionality for manipulation of ECAD Product Structure and BOM in the WChill Browser interface. An option to prevent editing of structure driven by CAD documents (regardless of how the structure was generated with the WGM - PCB or SCH), is desired. Line items added with the PSE etc. should still be able to be edited.

Typical use cases are where the Schematic drives the creation of the BOM for all electrical components. The schematic should be changed to change the BOM, It should not be possible, when this option is chosen, to change schematic driven BOM elements on the product structure. If the browser editor was used to add screws, heat sinks, etc. those components should be capable of edit in the Browser driven editor, but not those driven from the schematic.

 

This would restore the same functinality that exists with the 9.1 ECAD system.

 

The Preference should be available @ Site, Org, and User.

Windchill API to find the orphan parts?

$
0
0

Hi,

 

I have requirement to write API to fetch all orphan parts (WTPart) in the Windchill (not QueryReport). Any suggestions?

 

and also all Assembly parts!

 

Thanks,

Manjunath Reddy

How can I modify multiple parameters or attributes from different parts on Windchill?

$
0
0

I am looking to modify and update multiple parameters  or properties from several parts and assemblies simultaneously on Windchill. How could I do this?


Windchill workgroup manager 9.1 M070 will work in Windows 10?

$
0
0

Hello All,

 

I would like to know WGM 9.1 M070 will work in Windows 10?

 

Regards,

Rajesh L

How to Access Veriables In a JSP page ForEach Loop?

$
0
0

I will post some code below that works for me. However I would like to replace the 'testing' strings with a variable passed to the for each loop from the epmdocument group. I cannot figure out the syntax for doing this. If I place <ie:getValue name="CADName"/> where the variable is then I get an error when I execute. I am assuming I am supposed to do something like ${CADName} but, I am not sure how to reference that value?

 

    <ie:webject name="Search-Objects" type="OBJ">

           <ie:param name="INSTANCE" data="com.jbtc.net.mad1wc-prod01.Windchill"/>

           <ie:param name="TYPE" data="wt.epm.EPMDocument"/>

           <ie:param name="VERSION" data="LATEST"/>

           <ie:param name="ITERATION" data="LATEST"/>

           <ie:param name="WHERE" data="<%=where%>"/>

           <ie:param name="WHERE" data="(state.state='Released')" />

        <ie:param name="ATTRIBUTE" data="CADName,name,state.state,versionInfo.identifier.versionId,obid" delim=","/>

           <ie:param name="GROUP_OUT" data="epmdocument"/>

    </ie:webject>

            <ie:forEach groupIn="epmdocument" groupOut="row">

                <c:choose>

                 <c:when test="${'testing123' == 'testing123'}">

                     <p> This is output to HTML page if CADName is testing123</p>

                 </c:when>

                 <c:otherwise>

                   <p> Fail </p>

                 </c:otherwise>

                </c:choose>

                <p class=<ie:getValue name="CADName"/>><ie:getValue name="CADName"/> This code works I get the variable back</p>

            </ie:forEach>

Find out what this PTC Windchill user gained last year!

$
0
0

James Biggwither, Senior Manager of Configuration & Data Management for Albany Engineered Composites sat down with us last year after the PTC 2015 event and shared with us his experience, gains, and improved understanding of PTC Windchill MPMLink by attending the event in person.

 

You can read about Mr. Biggwither's full experience in the designated LiveWorx 2016 space where you can expect more PTC Windchill information in the weeks to come as well as event, session, speaker, and networking updates.

 

Also, there will be some fun opportunities to get involved and win some prizes!

 

We'll see you in June, but until then we'll see you here!

 

liveworx.com

SimpleTaskDispatcher and .NET

$
0
0

Hi all,

 

Is there a way to get .NET to connect to the SimpleTaskDispatcher service?

Any tips are welcomed.

 

Cheers

Merch

PostgreSQL Database (open source) with Windchill PDMLink. Benchmarks all point to PostgreSQL.

$
0
0

I would like to know if anyone has tried to have Windchill PDMLink work with PostgreSQL Database. According to these benchmarks:

One with SQL Server 5 and MySQL:

http://www.postgresonline.com/journal/archives/51-Cross-Compare-of-SQL-Server,-MySQL,-and-PostgreSQL.html

PostgreSQL versus MS SQL Server and PostgreSQL versus Oracle at the following sites:

http://www.redhat.com/pdf/rhel/bmsql-postgres-sqlsrvr-v1.0-1.pdf



http://diznix.com/dizwell/archives/category/postgres

PostgreSQL out performs all current databases withthe exception ofproducing a 5 million record report againstOracle. I like the benchmark with 2 Intel Quad Core Xeon, 48 GIG of ram which closely resemble my Oracle Database. It definitely proves that the combination of Red Hat Linux and PostgreSQL looks really good compared to Windows 2008 and SQL Server Enterprise with identical hardware.

I've started creating the database and now moving to the user schemas. If this works, like RedHat Linux, this would savecost on licensing and maintenance on running Windchill on databases. Thus, more money can be alocated to the Windchill Solution and implementation.

Having fun,

 

Patrick

Viewing all 6049 articles
Browse latest View live


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