Quantcast
Channel: PTC Community: Message List - Windchill
Viewing all 8876 articles
Browse latest View live

Re: ANT_HOME is set incorrectly or ant could not be located. Please set ANT_HOME

$
0
0

Hi Chris,

 

Thanks for the confirm.  I was able to get the script to work on a different test system.  Based on that, I am creating a map of the rehost.properties values to where can find them in the Windchill configuration.  I was using the "summary.html" file in the .../Windchill/PSI/Installer directory, which uses two different values.  I had the misfortune of selecting the wrong one:

 

[from the summary.html file]

Base Installation Directory:

E:\ptc\Windchill\

(wrong.  This was the one I was using)

 

Installing To: E:\ptc\Windchill\Windchill

(correct.)

 

Once I replaced the following values in the rehost.properties file, the script no longer stopped at the ant error:

 

target.wt.home=E:\ptc\Windchill\Windchill

source.directory.windchill=E:\ptc\Windchill\Windchill

target.directory.windchill=E:\ptc\Windchill\Windchill

 

It completed successfully.  This now makes the summary.html file outdated, however it is a record of the original installation.  The new values could be extracted from properties.db, site.xconf and others if that was necessary.

 

Now I can't get Windchill to start, but that is the next puzzle to work on :  )

 

Thank you.

 

Regards,

 

MLS


Another SQL Server Upgrade Question

$
0
0

Has anyone done an upgrade from SQL Server 2008 to SQL Server 2012 for Windchill?  I know that when I'm done, I'll have to run the collation conversion but my question is do you have to install 2012 separately and import the database or can you run the "SQL Upgrade" to upgrade the database instead?  The book is saying the first, but I'm wondering if the second works.

Query to get list of Groups and users available in Windchill

$
0
0

Hi,

 

Can someone help me with a SQL query or a piece of code to extract all the list of Groups in my Windchill Instance and the associated users in every group. I couldn't find a straightforward API that can be used to query this and get it out.

 

Thanks in advance!

Re: Query to get list of Groups and users available in Windchill

$
0
0

Group and group member information is stored in LDAP, so a DB query is not an option. You can get the group either using a QuerySpec or by using OrganizationHelper.

To get the members, OrganizationServicesHelper.manager.members((WTGroup) prin). I don't think there exist a single API to get this

PublishRules 10.1 vs 10.2 -

$
0
0

Dear all,

 

In my Windchill 11.0 environment i have a publishrule who creates additional file if it is a released drawing.

that works for "set state" and "promotion request" with the <publish on="unknown-source"

 

I have tried to do the same in an older 10.1 environment.. (I know it's not supported anymore.. and no, i can not update to a newer release now :-))

unfortunately rules are not evaluated for promotion requests. but it works fine for set state.

 

Does anyone know this behavior?

is <publish on="unknown-source" in 10.1 not the same as in 11.0?

 

Best regards to all

Daniel

Re: Another SQL Server Upgrade Question

$
0
0

Fundamentally you need to have your database loaded into SQL 2012 before you can run the conversion utility.  You probably can't simply upgrade the existing SQL install because I don't think it will give you the option to change the collation of the instance itself (including tempdb).  There's certainly nothing stopping you from detaching the database, uninstalling 2008, reinstalling 2012, and then reattaching the database again.

Re: PublishRules 10.1 vs 10.2 -

$
0
0

Not sure about "unknown-source" in 10.1, but I don't think the additional files were added until 10.2.

Re: What is an Info*Engine..?

$
0
0

It is a mandatory part of WIndchill. It provides process to process communication between modules of Windchill. It is a behind-the-door application. It specifically provides communication between the LDAP and Windchill itself.


Re: How reassign workflow activity with Windchill API ?

$
0
0

Hi Manikandan,

 

You can refer to case

CS65204

Re: Query to get list of Groups and users available in Windchill

$
0
0

I've been involved in Windchill for ~ 15 years now - have seen this request posted 1000's of times.  It's such a fundamental need - to get user / group info in Excel or whatever.  Pretty amazing that PTC still doesn't provide any way to dump this info to a file.  At Alcon we paid a consultant to come up with a custom method.  Don't currently have any method.  Would appreciate if others post how they have addressed this.

Re: Another SQL Server Upgrade Question

$
0
0

Thanks Tom.  I was just trying to see if there was an easy way out.  I've got instructions for installing two different versions on the same server.  Just trying to make up for time lost due to server issues.

query builder report - file downloads from CAD Attachments

$
0
0

We have a report which queries AUDITRECORD for the Download event. Works perfectly (not really needed any more with PSM actually but that's beside the point).

 

Starting to get interested also in downloads for CAD Docs from the Attachments table on the Content tab.

 

The security audit report for Download event and the query builder reports that I've created so far on the AUDITRECORD show download by user and timestamp, etc. but only report the parent CAD Doc, not the actual attachment file downloaded.

Anyone have a ideas on how we can filter for this?

 

Example - this CAD doc has Attachments (created/added via publish rules with automatic version naming); downloaded one of them (directly in a browser to local, not to workspace).  Hoping to be able report that specific download action.

 

AUDITRECORD reports:

 

Re: query builder report - file downloads from CAD Attachments

$
0
0

I don't have the level of logging turned on, but I am seeing a table called "wt.audit.eventinfo.DownloadEventInfo" and it refers to another table through a "Record Reference" which may be an auditrecord.  I wonder if that'd be a place to start.

Re: Query to get list of Groups and users available in Windchill

Re: query builder report - file downloads from CAD Attachments

$
0
0

Hey, that got me MUCH closer.  Thanks very much.


Re: Ilink3.3-m22 can't start - "Failed to take or refresh license".

$
0
0

The problem is back again on 12th June.

 

Yes, we still use Intralink after all these years.  Intralink and ProE do what I need to so we didnt upgrade because we had permanent licenses anyway.  The data migration from Intralink to Windchill sucked so much we never got it complete and working.

 

What are my options for getting Intralink running again?  Changing the client date back and forth does work but is a pain to do.

 

Any chance of a new DLL to reset the date problem another 6 years?

 

Cheers

Tarquin

Re: PublishRules 10.1 vs 10.2 -

Windchill PDMLink 10 open in a new tab

$
0
0

I realize I am very late to the party but we are just now upgrading to PDMLink 10. Am I missing something or is it not possible to open the links from a search result into multiple tabs?

 

IE if I search on a part number and I want to open the CAD object and the WT object that the search results returned in separate tabs is that possible?

Re: Windchill PDMLink 10 open in a new tab

$
0
0

Click on the link with your middle mouse button ... or aka your scroll wheel.

Re: Windchill PDMLink 10 open in a new tab

Viewing all 8876 articles
Browse latest View live