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

How to create a new object in Windchill ?

$
0
0

Hi,

 

How do we create a new object in Windchill ? Just like how we see WTPart, WTDocument, EPMDocument etc in Type and Attribute Manager a new object like "ABC" which is sub typeable as well.

 

If we wish to create all together a new object in Windchill ? How to do that ? Is that possible ? If yes can you please let me know the procedure or process. I haven't seen much  in customization guide but in case if there is any sample code or input regarding the same it will be more beneficial.

 

Thanks in advance,

 

Best Regards,

Aditya Achanta


Change Management Cardinality Customization code samples

$
0
0

Hi All,

 

Can anyone share some code or customization logic on Change Management Cardinality.

 

Thanks in advance.

 

Best Regards,

Aditya Achanta

Workflow: Remove Role from Activity Participants if Role is empty

$
0
0

Hi everyone, I have a “Setup CRB” activity. This activity edit has the ability to see the 10 different roles (purchasing, QA, Engineering Lead etc) that are the participants in the FOLLOWING activity which of course is the “CRB Review”. So during the “Setup CRB” activity, the assignee gets the tasks and looks at the participant members list. He/She will see all of the roles filled out (they are populated context roles) and then remove the various personnel not required for this CRB review. Now this works well enough BUT if a role is empty it then fails over and sends that task to the responsible role. This creates an issue. So here is the solution I’m thinking of using:


 


I am trying to build a snippet of code that I can place in the start transition of the “CRB Review” activity that will grab all of the participant roles, cycle through them and if they are empty, they will be simply be removed from the required participant list.


 


If this is too big of a code issue there is a plan B that would allow the CRB Review activity to be broken out into 10 different tasks with a code check that looks to see if a desired role is populated or not and if not, then simply route around the activity and skip it. I have the code to handle that.


 


Any thoughts? Thanks in advance!


 


Regards,


Single Sign-On for Windchill with Apache, Shibboleth, and ADFS - Has Anyone Done This Before?

$
0
0

I am picking up an in-process project of configuring SSO with the software mentioned in the question, and as I dive in I wanted to put out a question to the user community here to see if anyone has implemented this within their environment, and if so, could provide any helpful details/information as I go forward.  Even if not the exact same software environment, but configuring SSO in general, that would be a significant help.

 

Thanks in advance!

Publish Rules

$
0
0

 

Hi all,

 

I was reading the documentation on Publish Rules in the Visualization services guide.

 

I have few questions.,

 

1. Looks like the publish rules are only for EPMDocuments, is this true?

 

Regarding the trigger for publishing. the documentation says.,

 

 

There are five values that will trigger Publish Rules processing:

• <publish on=”checkin”/> — the trigger for Publish Rules evaluation is a

publish job for an EPMDocument resulting from a check-in.

• <publish on=”create-representation”/> — the trigger for Publish Rules

evaluation is a publish job for a Create Representation action (via the New

Representation wizard) executed from an EPMDocument (or its ownerassociated

WTPart) from the Representations/Annotations table.

• <publish on=”schedule”/> — the trigger for Publish Rules evaluation is a

publish job for an EPMDocument resulting from a job submitted using the

WVS Job Scheduler.

• <publish on=”unknown-source”/> — the trigger for Publish Rules

evaluation is a publish job resulting from any other event, such as from a

manual republish, republish on change, workflow initiated (doPublish),

etc.

• <publish on=”manual-post”/> — specifies that a matching EPMDocument

can have manual post-publishing

 

Is there any trigger for Publish on "PDM Checkout"? Because OOTB ,when the carry forward is turned off, it also disables publishing when "PDMCheckout".

 

I have a related post here...

 

publish.copyrepresentationsforward

 

Any suggestions on how to handle this requirement? (Customization is the last option for me).

 

Thanks

Hari

How to fetch URL of CAD Drawing (EPM Document) ?

$
0
0

Hi,

 

We create a CAD Part in Creo and its corrosponding Drawing in Creo. Then we Check both of them into Windcill with Auto Association, so a WTPart corrosponding to them gets created. We need the URL of the Drawing which we created in Creo.We just need UL so that we can open it in Creo View.

 

We tried using UIHelper.getLaunchProductView but gives us the URL of CAD Part.

We also tried using WVSContentHelper.getDownloadURL but it is giving us 5-6 URL links (which has Partnumber. jpg/log/ol/pvs/plt/pvt/pvm as extensions) but we need only one and that too that of Drawing.

 

Please suggest how to do this.

ESI Failure during Windchill-SAP Integration Process

$
0
0

In our Windchill-SAP Integration, configuration is such that when Promotion Request is in "Approved" Life cycle state, the ESI Integration happens but we want it to happen only for WTParts and not other object types. In present case, whenever the Promotion Request is in Approved State, ESI Integration Starts. Since we integrate only WTPart with SAP, it is fine for us but we dont integrate WTDocuments, so we get ESI Failure Message. Please suggest how to ensure that ESI Integration is happening only for WTParts.

WBM Loader Installation failure?

$
0
0

Hi everyone,

 

Facing the issues with installation  the WBM loader, i installed the wbm loader tool but when i run the command " wbmgen " through windchill shell, it gives me the following error.

 

INFO  sysgen.SysGen                 - You selected optimization: 1

ERROR sysgen.SysGen                 - An Exception/Error occurred during execution. Please see trace below ...

java.net.ConnectException: Connection refused: connect

  at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)

  at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)

  at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)

  at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)

  at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)

  at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)

  at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)

  at java.net.Socket.connect(Socket.java:579)

  at oracle.net.nt.TcpNTAdapter.connect(TcpNTAdapter.java:149)

  at oracle.net.nt.ConnOption.connect(ConnOption.java:133)

  at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:405)

  at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:454)

  at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:693)

  at oracle.net.ns.NSProtocol.connect(NSProtocol.java:251)

  at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1140)

  at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:340)

  at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:553)

  at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:254)

  at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)

  at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:528)

  at java.sql.DriverManager.getConnection(DriverManager.java:571)

  at java.sql.DriverManager.getConnection(DriverManager.java:215)

  at com.ptc.wbm.worm.core.SourceCrawler.getConnection(SourceCrawler.java:306)

  at com.ptc.wbm.worm.core.SourceCrawler.caseOneAndThree(SourceCrawler.java:248)

  at com.ptc.wbm.worm.core.SourceCrawler.enable(SourceCrawler.java:232)

  at com.ptc.wbm.worm.core.WormModelAdapter.initialize(WormModelAdapter.java:366)

  at com.ptc.wbm.worm.core.WormModelAdapter.<init>(WormModelAdapter.java:266)

  at com.ptc.wbm.worm.core.WormModelAdapter.newWormModelAdapter(WormModelAdapter.java:1203)

  at com.ptc.wbm.worm.core.WormModelAdapter.newWormModelAdapter(WormModelAdapter.java:1191)

  at com.ptc.wbm.worm.core.WormModelAdapter.newWormModelAdapter(WormModelAdapter.java:1167)

  at com.ptc.wbm.sysgen.SysGen.main(SysGen.java:406)

12:42:16 ERROR ui.SysGenUXHandler            -

 

 

################################################################################

################################ !!! ERROR !!! #################################

################################################################################

# An Exception/Error occurred during execution with the following message      #

# [Message: Connection refused: connect]                                      #

# Please check the logs at C:\WC\apps\ptc\Windchill\wbm\sysgen\20160524123915\ #

# logs for additional info.                                                    #

################################################################################

 

12:42:16 INFO  sysgen.SysGen                 -

  Session Summary:

  XML Generation: 10 seconds

  Total elapsed time: 178 seconds.

  Session State: FAILED <<<< ERROR !!!


Configurable Links

$
0
0

Hi all,

 

We are using 10.2 PDMLink.

 

In documentation / help, it is mentioned that there are 4 types of configurable links possible, namely

Configurable Describe Link—A version to version relationship --- this is same as the Part to its "Described by Documents", when doc is revised, only the old revision is linked to the Parent, new revision is not referenced. Revision Specific Documentations are an example.

Configurable Reference Link—A version to master relationship --- Here, the Document connected as Reference link is always the latest--Example is a general spec document on Surface finish(Master documents are used like this).

Configurable Masters Link—A master to master relationship --- CAD to CAD, CAD to Part, Part to Part (All uses and used by links)

Configurable Revision Link—A revision to revision relationship----  What is this ?? and where it is recommended to be used, any example?

 

 

Best Regards

Hari

API to write the name of the part name and number to a file(notepad) if its life cycle state is changed ?

$
0
0

Hi All,

 

I would like to implement a small program in Windchill where the Part Name and Part number will be written to a file (notepad) if its state has been changed.

 

Say for suppose if there is a Part A which is IN WORK state and if its life cycle state has been changed to PRODUCTION. We should then automatically write the name and number of the part to a notepad like

 

"Part A with number 00001 life cycle state has been changed from IN WORK TO PRODUCTION "

 

So how would we do that.

 

Can anyone help me in that ? Should we use any listener ? Can anyone tell the API or methods that has to be used for that ?

 

Thanks and Regards,

Aditya Achanta

Managing Rules in Outlook with Check Out/Check In Windchill Subscription

$
0
0


Is it just me, or has anybody else noticed that it is not possible to seperate out the emails for the checkout and checkin transactions using Rules in Microsoft Outlook?  How can I accomplish this?  I think I need the event category split up for the two transactions instead of having Check Out/Check In as one checkbox event.

I want to delete the Check Out transaction events or ignore them...it's the checkin that I want to be notified on.  Note: Outlook doesn't recognize the ":" in searches or rules.  There is no way to execute a rule based on "Event: Check In" which is the obvious solution to this problem.

 

 

subscription.jpg

 

checkout-checkin-outlook_windchill.JPG

Change Management Customization

$
0
0

Does anyone have a detail, concise document on the steps to customize the change management forms and workflow associated with change request?

Things that we have identified to change are the change request form itself, the workflow process to add a few steps for signoffs and the roles that need populated with user names.

We are running Windchill/PDMLink 10.0 m040 with Creo2 m100.

Direct Link to Search Results?

$
0
0

We currently are using a homebrewed piece of software (written in VB) to access image files for production. As we move toward a Windchill upgrade from 9.1 to 10.2, those images are going to be uploaded into our Windchill system. BOM is currently managed with our E1 system, which allows users to find the part that they want and then open the image from the other database.

 

What I am asking, is there a way to create a "Search Results" page based off of the number that is chosen in the external software?

 

i.e.

User pulls up machine 13246753, finds part 334545 in structure.

Currently, double clicking on the part number 334545 pulls up the image of the drawing from the external database.

What I am trying to find is, clicking on part number 334545 brings up the search results page for a Number search of "334545*"

 

Am I just too far out in left field here? Or would that require a large customization project?

 

Thanks for your help!

Windchill PDME 11 installation

$
0
0

Hello!

 

In the installation process on PDME my validation for Creo publisher License Server (Single License Server) was FAILED.

 

failed.png

But I can ping my server license.

ping.png

My firewall for both servers are also OFF. How come the verification for my creo server license become failed? What is the cause and how to troubleshoot this?

 

Thank you to all!

Windchill email notification when queue entries are severe

$
0
0

We've put in the same tech support call several times, asking how to set up so that Windchill will email alist of people when any queue has a severe queue entry (JConsole has this as an advertised feature). So far, we get close but can't get it to actually work. No help from tech support except to point us to the same documents about to how to configure JConsole to email - which don't have enough detail.

We currently have a few workflows with some type of intermittent problem - maddening. Each time,they result in a wf queue that is at severe, with the message "null pointer exception." So far, every single one has been resolvedby simply setting Severe to Ready - but, we have to constantly monitor it.

So, does anyone have automatic email notifications working when queue entries are severe (thru JConsole or other)?? We'd love to learn from you whatever details we're missing to actually get this to work - I'll owe you (another) beer.

thanks in advance


Urgently Need Help on FRACAS Data Migration

$
0
0

A single Report in Windchill FRACAS may have multiple attachments. Attachments are stored on the Windchill Quality Solutions Server in the attachments folder in the installation directory. If the defaults were selected during installation, the path is C:\Program Files\PTC\WindchillQuality Solutions 10.1\Windchill Quality Solutions\Attachments. The files stored in this

folder are assigned randomly generated names when they are uploaded.

 

We are migrating FRACAS Data from a legacy system to Windchill and facing the problem on how to map old/historical files in Windchill FRACAS. Our old files are named with Incident Number which are available in Windchill FRACAS too. So for Example: If we have an Incident number as ANQTP and if it has 2 Attachments, then Attachments are named as "ANQTP_1.xls" and "ANQTP_2.pptx".

 

Please suggest how we can do this mapping . Appreciate your quick answer on it. This is urgent.

Best practice for dealing with opposite side parts numbering scheme

$
0
0

We are currently implementing PDMLink 10.2 and are having some big discussions on numbering schemes. Our current numbering scheme outside of a PDM system is a 7 digit numeric sequence followed by a -1 OR a -2 (if it is an opposite part). We know that you can add a suffix to the end of a part number, and possibly tie this to an optional attribute that will ask upon creation "is this part opposite" (if set as yes, it will append a -2 instead of a -1). Is there a better way of dealing with this?


Note the base number cannot be different, so it could look something like:


1234567-1

1234567-2


Whats the process of having your numbering scheme look for that attribute?


What is the difference between WINDU and WINRU ? Is it mandatory to run WINDU/WINRU before an upgrade ?

$
0
0

Hi all,

 

What is the difference between WINDU and WINRU ?

 

Is running WINDU /WINRU before an Upgrade a mandatory task ? Or cant we do upgrade even without running WINDU and WINRU ? Can you please let me know ?

 

And considering an upgrade from 9.1 to 10.2 and from 10.1 to 10.2 system. Which upgrade is going to be relatively more easier ?  Can you please let me know ?

 

Thanks and Regards,

Aditya Achanta

Email notification report

$
0
0
We have some people that only get an email notification.  They do not get a Task.  When they get the email they can log in to PDMLink at their convenience to review the changes of a change notice.

Does anyone know if it's possible to get a report of email notifications for either (or both):


1.       Recent/specific dates.

2.       For a specific change object.

I'm looking to see if an email actually got sent to a user for one of our workflows.  The user said they did not.

Steve G

We can't open specific files in PDMLink

$
0
0

Hello everybody,

 

I have a problem : when I try to download the Primary Content of specific WTDocument I have a 500 error (HTTP).

 

Do you have a solution ?

 

PS : I have on Windchill PDMLink 8 M020

 

Thanks in advance,

Viewing all 6049 articles
Browse latest View live


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