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

Error dialog box on submit of Change Request

$
0
0

I need to have an error message popup if a user selects “Not Applicable” for BOTH of the attributes pictured below (attached).  This error message would trigger on submit or when the user clicks on next. Anyone know the code to do this?


 


SMTP configuration

$
0
0

Hi I need to send a email with Windchill but I have some problems with the configuration so I would like to learn Which are the steps to configure and send email.

 

Thanks

Checking for document creation before allow task completion

$
0
0

I need assistance creating a code for a conditional node that will check to make sure the task has been complete.  The task for this particular node is that the user creates a service request within windchill.  How I see this working would be the system would look at the PBO of the workflow and grab the value in the attribute called "Serial #" and add it to a variable in the workflow.  Then the system can search for a service request document and see if there is one out there at also has a serial # that matches.  If yes then it allows the workflow to move on, if no it sends another task back to the user to create the document and will stay in the loop until he or she does.

 

Below is a sample of code we already have that does this exact thing, but for Managed Collections (matches names and adds PBO to MC automatically).

 

wt.facade.persistedcollection.ManagedCollection mc = null;

 

java.lang.String collectionName = ((wt.doc.WTDocument)primaryBusinessObject).getName().toUpperCase();

wt.query.QuerySpec qs = new

wt.query.QuerySpec(wt.facade.persistedcollection.ManagedCollection.class);

qs.appendWhere(new wt.query.SearchCondition(wt.facade.persistedcollection.ManagedCollection.class, wt.facade.persistedcollection.ManagedCollection.NAME, wt.query.SearchCondition.EQUAL, collectionName), new int[] { 0 });

wt.fc.QueryResult qr = wt.fc.PersistenceHelper.manager.find((wt.pds.StatementSpec) qs);

 

if (qr.hasMoreElements()) {

mc = (wt.facade.persistedcollection.ManagedCollection) qr.nextElement();

System.out.println("\n\n\t\t Found Managed Collection!");

} else {

System.out.println("Unable to find ManagedCollection with name \"" + collectionName + "\"");

//save the MC name in a global variable so that we can use it in the activity that we will be sending to the admin to ask for creating the MC

MCName=collectionName;

result="MCNOTFound";

}

 

if (mc != null)

{

mc = (wt.facade.persistedcollection.ManagedCollection) wt.facade.persistedcollection.PersistedCollectionHelper.service.checkout(mc);

wt.facade.persistedcollection.PersistedCollectionHelper.service.addSeed(mc, (wt.doc.WTDocument)primaryBusinessObject);

//wt.facade.persistedcollection.PersistedCollectionHelper.service.addMember(mc, (wt.doc.WTDocument)primaryBusinessObject);

 

wt.facade.persistedcollection.PersistedCollectionRecipe recipe = wt.facade.persistedcollection.PersistedCollectionHelper.service.getRecipe(mc);

         if (recipe == null) {

             recipe = wt.facade.persistedcollection.PersistedCollectionRecipe.newPersistedCollectionRecipe();

             wt.facade.persistedcollection.PersistedCollectionHelper.service.setRecipe(mc, recipe);

         }

         mc = (wt.facade.persistedcollection.ManagedCollection) wt.facade.persistedcollection.PersistedCollectionHelper.service.refreshMembers(mc, "AddToManagedCollection");

         mc = (wt.facade.persistedcollection.ManagedCollection) wt.facade.persistedcollection.PersistedCollectionHelper.service.checkin(mc);

 

       result="AddedToMC";

}

I don't need to add the PBO to anything, just need to make sure users are actually completing their task before they "complete task" in the UI.

Any assistance or ideas would be greatly appreciated....also, I am not a code guy at all.


Greg


Going from intralink to windchill want to know where Export to "Workspace" is in Windchill

$
0
0

We just started using Windchill with minimal training , was wondering where export to "Workspace" is in Windchill?

Change Request Templates?

$
0
0

Has anyone been able to create Change Request Templates? The Template group (Org > Templates) is "Change Objects" which hints at the capability being available for all Change objects, but when I try it out I only get the option to create a Change Notice Template.

 

Ultimately what I'm trying to do is have an empty form as an Attachment for each Change Request that gets created. It seems a shame to store the form outside of Windchill, but I don't want to make it a persisted (Primary Content of a WTDocument) Object as that is a bit overkill for the use case.

Who in your organization manages your Windchill/PDM System?

$
0
0

Who in your organization manages your Windchill/PDM System?

This would include Site Admin access, Org Admin Access, Implenentation & Upgrade planning

Opening data.wcdti or downloading a file from IE is downloaded DTIActionServlet.servlet instead the required file

$
0
0

Hi,

when i'm downloading a file from Windchill with desktop integration activated (using Internet Explorer) download a file named DTIActionServlet.servlet instead my file.

If i disable desktop integration in my setting is working but i need it.

 

Using Firefox it's the same. FF download a file data.wcdti, opening that is download same file DTIActionServlet.servlet.

 

This happen with any files.

 

Do you have any suggestion?

 

 

Best reguards

Publishing Embedded JPG Images

$
0
0

Recently our users began inserting jpg images into their CAD drawings to provide reference information. The images display properly when plotted/printed, however when the drawings are checked-in to PDMlink, our cadworker fails to publish the embedded jpg images.

 

I'm certain this error is 'Admin Inflicted', and that I am probably just missing a step in creating the recipe file, but for the life of me I can't seem to figure out what I'm missing.

 

I would appreciate a little nudge in the right direction.

 

We are using:  Creo Elements / Pro 5.0  and CreoView3 Adapters.

 

Thank you,

Steve


Windchill revision override

$
0
0

is there a way to override a revision in windchill.  we did a data migration from Intralink, and some of the revisions are at the incorrect revision.  mainly due to new items being duplicated, the revs werent correct in intralink to begin with.

 

anyway, i have objects, that are at rev 4.1 in windchill, but the actual rev of the part is 1.  is there any way to do this without deleting the object from commonspace, and reimporting.

 

thanks for your time

Most recent participants

$
0
0

Hi Everyone,

 

I'm having this problem in the Process tab. After I click to add participants to the team, my " most recent participants " are all gone.

I have to manually search every time I want to add someone and it's becoming a hassle.

 

Any help would be appreciated.

 

Thanks,

Setting to disable the "Replace Content"

$
0
0

In the Windchill Desktop Integration if you drop a file on top of another document, then the content will be replaced. This is not how Windows File Explorer works and it is frequent cause of problem for the Windchill DTI users. Therefore we would request an enhancement that will give us an option to disable this feature in preferences.

PDM_Comparison_Chart.zip

WTpart Purchased Vs InHouse manufacting, How to identify in existing WT part and What needs to be set for Purchased Part

$
0
0

Hi,

 

In Windchill, How to identify a part is Purchased or In house manufactured?. What are parameters need to set to make a part as purchased part?.

 

Thanks,

Shan

Modifying the Change Request email text

$
0
0

One of our options we have put in the CR form is multiple entry field for which group within the company will be impacted by the change.

The first option we are thinking of is to have the email only be sent to those members of the impacted teams. There could be anywhere from 1 to 10 teams and each team may have multiple members.

The second option would be for the email notification text to just include the name(s) of the teams that have been selected. Currently the email goes to all members of the IPT groups and then some call and ask why they received an email for that task. If we had the impacted areas listed on the email form, that would tell some people they can ignore it.

 

I know part of the email that is sent is dynamically created because we recently added a new CR method (Trivial) and it shows up in the list of options displayed in the email for actions. If someone knows where and the name of the file that is stored that is used for the email that would help in starting on the second option. Thinking some more, is the email text generated from the information in the Workflow itself under instructions?

 

Windchill 10.0 m040

How do I upload tables and notes to Windchill for reuse in Creo drawings?

$
0
0

I have uploaded tables (.tbl) and notes (.txt) into Windchill, but when I go insert note or table from file the folder has no visible content. I tried uploading as Document and then Reference document, neither worked. Judging by the format of the content being unknown as reported by the content tab I would say that Windhchill is not recognizing the file types.

 

Does anybody have a good resource for uploading files into Windchill?


CANNOT COPY/PASTE FOLDER LOCATIONS

$
0
0

Windchill does not allow copy / paste to assign folder locations.  To assign folders, one must navigate from the root product and drill down to the appropriate folder.  I realize that this can be set initially in the workspace preference for new object but does not help with all the other occasions.  I guess it is just another loss of functionality from good ole Intralink

Hyperlink to Windchill URL - converts # to %20-%20

$
0
0

Recently a user pasted a URL to a Windchill project document in an email - worked ok.  Later, pasted the same to a Word document - link no longer worked.  Started investigating.  Lots of articles on the web about this. We have hundreds - maybe thousands - of Word documents with hyperlinks in them to Windchill documents.  With IE 11 and Word 2010 or 2013 none of them work now. Anyone experience this? Some references: https://support.microsoft.com/en-us/kb/202261http://answers.microsoft.com/en-us/office/forum/office_2013_release-word/unable-to-open-particular-urls-from-inside-word/51c42544-7b6c-4e62-b70d-13317de519f1/http://answers.microsoft.com/en-us/office/forum/office_2013_release-word/word-2013-hyperlink-converting-to-20-20/4e8a2e8d-b889-4c77-8276-551b11e296d4http://stackoverflow.com/questions/25070176/hyperlink-changes-from-to-20-20-when-clicked-in-excelhttp://excel.fixall.site/hyperlink-changes-from--to-20-20-when-clicked-in-excel/870499/http://error.news/question/870499/hyperlink-changes-from--to-20-20-when-clicked-in-excel/

Stage of office documents

$
0
0

Hello,

 

I have a question regarding management of office documents.

 

Imagine a document that has two stages or maturity levels like "draft" and "final version".

Both draft and final versions undergo an approval process. At first user creates the document and it has the stage draft. The user edits the document via check in and check out and when he has finished, he puts it into an approval workflow. The document gets released after approval and the user creates a new version chain (=version increases to 2.0 and lifecycle stage changes back to working) and works on the same document again, but this time it will be the final version. After completing his work, user puts the final version into the same approval workflow and the final version gets approved.

 

Given this situation I want to manage all this document creation process by using soft attribute to express stages "draft" and "final version", version like 1.0 or 2.0 and life cycle status like working or released.

 

It would look like this:

 

1) Initial document creation

Stage: Draft

Version: 1.0

Lifecycle: working

 

2) Daily check in and check out

Stage: Draft

Version: 1.xxxx

Lifecycle: working

 

3) Approval "Draft"

Stage: Draft

Version: 1.xxxx

Lifecycle: released

 

4) New version chain and stage change

Stage: Final version

Version: 2.0

Lifecycle: working

 

5) Daily check in and check out

Stage: Final version

Version: 2.xxxx

Lifecycle: working

 

6) Approal "final version"

Stage: Final version

Version: 2.xxxx

Lifecycle: released

 

My question is:

Would that be common practice to manage the STAGE of a document in a soft attribute like i have outlined above? Or would it be better to manage everything with the life cycle status. In such a case I would have to define more life cycle states like "Approved Draft" and "Approved Final Version" and I need two workflows, because I can not use the same WF for Draft and Final version.

 

What is your experience?

PDMLink - Number of objects per Product Line

$
0
0

All,

 

I try to find the number maximum of objects per Product Line, per Library and per Project. Do you know if the situation can give a bad performance.

It's for Windchill 10.0 M050 withe the database Oracle 11g.

 

Thanks for your response and your help.

 

Best regards,

Windchill vs competition

$
0
0

Hello everyone,


I am wondering if any one of you have benchmarked Windchill against Teamcenter and/or PLM360 from Autodesk.


I know that there are many aspects to consider and what can be good for one company may not be suitable for another one. However, as I have worked with Windchill for over 8 years now, I would like to stay with this software in my new company and therefore try to ensure we select Windchill.


We will soon consider those 3 solutions. So if you have (not too old) information about those software and why Windchill is better this will help my case ;)


So far we have Inventor with Vault


Thanks a lot


Best regards


Viewing all 6049 articles
Browse latest View live


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