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

How to get the WorkItem and Workflow related information from the Business Object

$
0
0

Hi,

 

I am working on the requirement where I need to generate the database report using database query to get the Workitem information like name, subject, state, status and the  WfProcess information like status of workflow

 

can any one help me how I can write database query for that


"Fatal error..." when staring Creo2

$
0
0


Hi

We have an issue when we start Creo2.

Almost every morning we have to start twice because we get a "fatal error..." popup at first start up.

it is as follows> start Creo2>logon password>click on Work space then the error occurs.......

if Creo2 is closed during the day and we start again, we can have several "Fatal error...." pop ups before getting thru to server

 

Creo2 M150 Intralink 10.2 m30

How to drive Quantity of an item in a BOM based on Options & Variants rules?

$
0
0

Hi,

 

With Options & Variants capability in windchill 9.1, how we can build the rules (Parameters, expressions, constraints, case tables, etc.,) to drive the quantity of an item under an Advanced Configurable Part?

 

Example:

 

Consider the below BOM:

 

Top_Part (Adv Config Part)
Part1 (for option1) Qty - 1
Part2 (for option2) Qty - 2
Part3 (for both options) Qty - 2 Meters for Option1 and 5 Meters for Option2

 

While configuring, selecting option1 should result in:

 

Top_Part
Part1 Qty - 1
Part3 Qty - 2 Meters

 

Selecting option2 should result in:

 

Top_Part
Part2 Qty - 2
Part3 Qty - 5 Meters

 

Can you please help in this?

 

Thanks,
Prabhakaran V.

How do we replace a CHOICE1 with a CHOICE2 when CHOICE1 is tied to more than 100 Enable/Exclude Rules

$
0
0

Hi,

 

I was working towards getting the ECO Process streamlined for “Release process for Obsoleting a Variant & Replacing with New(eg.: new Side Ladder)”.

Say for example we want to OBSOLETE “402-0002-001” & REPLACE it with “402-0002-009”

 

Following are the high level steps:

  1. Add a New Choice to the Option Pool for “402-0002-009”
  2. Add the New Choice “402-0002-009” to the Option Set “HALF-PACK”
  3. Remove the Obsolete Choice “402-0002-001” from tall the Rules in the Option Set “HALF-PACK”
  4. 4. Remove the Obsolete “402-0002-001” Choice from the Option Set “HALF-PACK”
  5. Followed by few more steps to Modify the Configurable / Variant Product Data {will come to this later}

 

While I was doing the step# 4 without doing Step#3 I got bellow message:

1.jpg

Which actually is correct as Choice “402-0002-001” is tied to 63 Rules to the Options Set as show below:

2.jpg

Questions:

  1. How are these Rules created in first place ? Manual or Import/Export ?? Apart from the above listed RULES, there are around 1700+ rules
  2. How to Replace the Choice “402-0002-001” with “402-0002-009” in all the 63 RULES ?

 

Regards,

Ajay

How to get any object team and there roles, groups and users from database script

$
0
0

Hello,

 

I am trying to create a database script from which I can get the any business object team --> (group, Role ) --> users as of now I am able to get the Object team and roles but in Role I am not able to get users from the Roles can any one please help how I can find this

 

here is the script I have wrote

 

select WTPARTMASTER.WTPARTNUMBER  as PART_NUMBER ,WTPARTMASTER.NAME  as PART_NAME ,  TEAMTEMPLATE.NAME as TEMPLATE_NAME ,ROLEPRINCIPALMAP.ROLE from TEAMTEMPLATE, ROLEPRINCIPALMAP, WTPART, WTPARTMASTER

where WTPARTMASTER.IDA2A2 = WTPART.IDA3MASTERREFERENCE and WTPARTMASTER.WTPARTNUMBER = '0000000161' and TEAMTEMPLATE.IDA2A2 = ROLEPRINCIPALMAP.IDA3A4

and WTPART.IDA3TEAMTEMPLATEID = TEAMTEMPLATE.IDA2A2;

Consolidating Contexts - CN workflows

$
0
0

Hi All,

 

WC 10.2 M030 CSP 06

 

We are consolidating many contexts down to a few.

I think the straight forward way is to Move the Folder/Files, PR's, CR, CN's.

Anyone have an experience doing this?

I'm mostly concerned how active workflows for CN's will transfer to the new context. Does this occur without issue?

On a rehosted Windchill 10.x system MethodServer fails to start with error "Info*Engine configuration error - The default Directory Service Provider URL and/or Service Search Base could not be retrieved from Info*Engine properties."

$
0
0

Hi All,

 

I am Rehosting(Rename) in Windchill 10.2 M030 using Rehosting Utility 3.0,

I have tried in Test server its succesfully rehosted, however i am doing the same in Production Server,Methods server couuld not able to start.

Below is the errors,

  • On a rehosted Windchill 10.2 system the MethodServer fails to start with the following error message:

wt.method.server.startup.services  - Failure to start manager wt.audit.StandardAuditService

wt.services.ManagerException: Could not initialize Auditing service.

Nested exception is: wt.util.WTException: (wt.federation.PrincipalManager.PrincipalManagerResource/CONFIG_ERROR_INCORRECT_NAMING_PROVIDER) com.infoengine.util.IEException: Info*Engine configuration error -  The default Directory Service Provider URL and/or Service Search Base could not be retrieved from Info*Engine properties. Contact your system administrator.

Nested exception is: (wt.federation.PrincipalManager.PrincipalManagerResource/CONFIG_ERROR_INCORRECT_NAMING_PROVIDER) com.infoengine.util.IEException: Info*Engine configuration error -  The default Directory Service Provider URL and/or Service Search Base could not be retrieved from Info*Engine properties. Contact your system administrator.

at wt.federation.PrincipalManager.DirContext.getAdapterInfoMaps(DirContext.java:313)

at wt.federation.PrincipalManager.DirContext.initMapsForDefaultAdapters(DirContext.java:273)

at wt.federation.PrincipalManager.DirContext.init(DirContext.java:248)

at wt.federation.PrincipalManager.DirContext.getPrimaryName(DirContext.java:631)

at wt.org.LdapServices.getAllServices(LdapServices.java:304)

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

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

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

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

  at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399



Please help me out.


regards

Mahesh Kumar G

Windchill Developers

$
0
0
Hi Friends,



I am looking for Windchill Developers; Analysts; Solutions Architects;
Windchill Testing Engineers.



Please see if anyone of your friend is interested.



Thanks and regards,



Amir Ahmad

Need to map Alternate User Name in LDAP Integration?

$
0
0

Hi Guys,

 

Hope everyone had an amazing new year.

 

I am working on Corporate LDAP integration with Windchill. All is done and everything is working as expected. Now the client wants us to map Alternate User Name attribute in Users details page to one of the Corp LDAP attributes. And Alternate User Name is an OOTB Windchill attribute available for all the users.

 

Now I know we can map User's attributes thorough "additional properties section in JNDI adapter configuration". The problem is that the mapping exists for a most of the OOTB attributes (Email, Full name, last name etc..,). But there is no mapping available for Alternate User Name. I couldn't find it anywhere. Please let me know if you have any information for mapping this particular attribute.

 

Thanks in advance.

Ganesh.

Query Builder Criteria Logic for getting last month

$
0
0

Hi,

It's that time of year again when 1-1=0.

 

I use the Get_Month - 1 calculation to capture the work items created last month.

Problem is in January the month = 1

For some reason 1 minus 1 does not equal 12...

 

Has anyone a better way to get a criteria for 'last month'?

 

This goes into a Cognos report, so I'm not able to use the 'last month' attributes when running the report with Report Builder

 

How to get the iteration history by Java code

$
0
0

Hi,

I like to know what was the status of the previous iteration of a EPMDocument via Java code. Can someone shed a light on this please ?

Regards, Bernard

Could anybody tell me the following packages in which JAR file?

$
0
0

Could anybody tell me the following packages in which JAR file? I'm using Windchill 10.1 M050. Thanks a lot!

com.ptc.windchill.enterprise.doc.*

com.ptc.windchill.option.model.*

com.ptc.windchill.option.service.*

com.ptc.wpcfg.deliverables.*

User actions log file?

$
0
0

I have 2 users that are frequently "losing" files.  I'm 99.9% sure it's due to them deleting workspaces before checking in files or deleting the workspace contents.  Are there any log files that I can reference to confirm what they are doing to lose this data?

Need Date in Task Table

$
0
0

Can anyone explain how to get a Change Activity Task's 'Need Date' to display in My Task table?  Only Deadline is available.  It's not a column option in the Customize Table menu.  Need date is important for the assignee to prioritize work, and... know when the task is due as the field would indicate.

 

ProjectLink Plan Activities 'Estimated Date' appear, and that is great for the assignee to know when it's needed.  Although I'd prefer to have similar nomenclature for need by date for all windchill Tasks, but I'll take it.

 

Or provide some feedback as to how you deal with it (workaround, or notifying assignee when work is needed), and or why it's not available so I can take some satisfaction in a rational.

 

Thanks in advance.

Java.exe not decreasing 10.2 m030 cps09

$
0
0

Last week I updated my test server from 10.2 m020 csp08 to 10.2 m030 cps09.  After starting Windchill, the java.exe processes are staying constant in Memory size.  They are not releasing memory like they had been.  Is this something new or something broken?


Consolidating Contexts - CN workflows

$
0
0

Hi All,

 

WC 10.2 M030 CSP 06

 

We are consolidating many contexts down to a few.

I think the straight forward way is to Move the Folder/Files, PR's, CR, CN's.

Anyone have an experience doing this?

I'm mostly concerned how active workflows for CN's will transfer to the new context. Does this occur without issue?

Document Management Integrations - Anyone Considering Office365?

$
0
0

PTC recieves a fair amount of questions about providing an integration to Office365 lately. I'm curious if there's folks out there using Office365 now and what type of connectivity you'd like to have with Windchill?

 

To me, the main difference is the option to use the Microsoft Office Web Applications instead of the locally installed Office applications and the content has a high probability of residing in the O365 cloud, OneDrive or an on-premise SharePoint implementation. The Office Web Apps are only supported on SharePoint and cannot be directly integrated into a non-SharePoint solution.

 

It seems like a "Send to Windchill" option would be nice to have, but I'm curious if there are any other use cases or needs people might have?

 

-Scott

Publishing Office Doc's in 10.1 without Adobe Lifecycle

$
0
0

Is this possiable? I thought I have seen a few presentations the last two years at PLanet PTC talking on how to do this. Any input would be great.

PDF publish outside of Windchill PDMLink

$
0
0

Hi,

 

We are in the middle of implementing PDM Essentials and Creo here. Until we are fully up and running, we need to be able to publish pdfs of drawing to a folder outside of PDMlink/windchill. We would like only production state drawings to publish to the specified folder once the state is changed. So first question is how do I publish a pdf'd drawing outside of windchill? where/how do I write a rule that makes it publish when the state is changed? The plan is to save all the drawing history in Windchill, but only the latest production drawing will be visible in the network folder.

How to get Primary and secondry content from WTDocument

$
0
0

Hello I am using data base script to get the primary and secondary content of the WTDocument I am able to get primary but secondary I am getting issue does any one know how I can get the secondary object as well

Viewing all 5797 articles
Browse latest View live


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