Hi.
I need to invoke javascript funtion after "defineItemAttributesWizStep" is displayed.
The purpose is to set number field "readOnly=true".
How can i do it?
Action attribute "beforeJS" does not help because field is null at that time.
Thanks.
Hi.
I need to invoke javascript funtion after "defineItemAttributesWizStep" is displayed.
The purpose is to set number field "readOnly=true".
How can i do it?
Action attribute "beforeJS" does not help because field is null at that time.
Thanks.
Hi,
I trying to clone my production server for that i did the followed steps,
After completed the above steps i tried to start the windchill, but its not started. Herewith i attached the MS log file.
whether i followed the correct steps or anyone please suggest me the correct steps for that.
Waiting for your valuable reply!!!!!
Hello all,
I am trying to have a conditional routing in a workflow, based on a specific attribute of the routed document.
In the expression I use this:
//get the attributes of the document.
wt.iba.value.IBAHolder holder = wt.iba.value.service.IBAValueHelper.service.refreshAttributeContainerWithoutConstraints(doc);
wt.iba.value.DefaultAttributeContainer ac = (wt.iba.value.DefaultAttributeContainer) holder.getAttributeContainer();
if (ac != null) {
wt.iba.value.litevalue.AbstractValueView[] avalues = ac.getAttributeValues();
for (int i=0;i<avalues.length;i++) {
wt.iba.value.litevalue.AbstractValueView val = avalues[i];
if (val.getDefinition().getName().equals("contracttype")) IPselect= val.getLocalizedDisplayString();
break;
}
}
}catch(Exception e) { System.out.println("Caught Exception:" + e.toString()); }
Then in the OR I have put this:
result="IP_Yes";
if (IPselect.equalsIgnoreCase("Consulting")) result="IP_No";
if (IPselect.equalsIgnoreCase("Service Agreement")) result="IP_No";
The problem I have is that some times it gets the value from the document (thus "IPselect" has a value in the workflow) and some others not.
Any ideas?
Thank you in advance
John
Chrome did it already, the new browser Edge never will support it and now also Firefox will cancel the plugin interface NPAPI by the end of next year.
I'm really looking forward to Windchill 11 and I hope PTC will present a HTML5 Creo View and the end of the Java Applets...
https://blog.mozilla.org/futurereleases/2015/10/08/npapi-plugins-in-firefox/
Curious if anyone has changed from the single server to cluster configuration. Are there specific steps and do you use a load balancer? Thanks in advance!
Is there a serial number for Windchill? If so then where is it? Our tax person is asking if there is one.
public class PartComboBoxUtility extends DefaultDataUtility {
@Override
public Object getDataValue(String component_id, Object datum, ModelContext modelContext) throws WTException {
// Initialize ComboBox UI Component
Object object = super.getDataValue(component_id, datum, modelContext);
System.out.println("component_id 111 4444 = = = = = = = "+component_id);
Object raw_value = modelContext.getRawValue();
com.ptc.core.lwc.server.PersistableAdapter nmObject= new com.ptc.core.lwc.server.PersistableAdapter (new WTPart(), null,java.util.Locale.US, null);
nmObject.load("Country");
String o=TgsPropertyHelper.getPropertyValue("Country");
String[] ab=o.split(",");
ArrayList<String> displayList = new ArrayList<String>();
ArrayList<String> internalList = new ArrayList<String>();
ArrayList<String> selectedValue = new ArrayList<String>();
internalList.addAll(Arrays.asList(ab));
displayList.addAll(Arrays.asList(ab));
selectedValue.add((String)raw_value);
ComboBox comboBox = new ComboBox(internalList,displayList,selectedValue );
if (modelContext.getDescriptorMode().equals(ComponentMode.CREATE) || modelContext.getDescriptorMode().equals(ComponentMode.EDIT))
{
comboBox.setName(component_id);
comboBox.setColumnName(AttributeDataUtilityHelper.getColumnName(component_id, datum, modelContext));
comboBox.setId(component_id);
comboBox.setInternalValues(internalList);
// comboBox.setValues(displayList);
comboBox.setEnabled(true);
return comboBox;
}
return object;
}
private String getValue(String component_id, Object datum, ModelContext mc) throws WTException {
return UtilityHelper.getStringValue(component_id, datum, mc);
}
}
Hi.
I need to add some additional fields to picker page.
Something like this:
This is checkbox field is added on classification picker:
in Windchill\codebase\netmarkets\jsp\structuredenumerationpicker\structuredEnumerationTreePicker.jsp
<jca:renderPropertyPanel>
<w:checkBox name="ptsCreateNumberFromClassification" label="${numberFromClassificationCheckboxLabel}" renderLabel="true" renderLabelOnRight="true"/>
</jca:renderPropertyPanel>
How can i pass this checkbox value to picker callback function?
Request in Windchill\codebase\netmarkets\jsp\structuredenumerationpicker\structuredEnumerationPicker_dataFetcher.jsp does not have this property.
Thanks.
Hi All,
What is Public and Restricted Domains ? Can you please let me know about the same.
Thanks and Regards,
Aditya Achanta
I am trying to understand the best practices for sharing product data within WC with companies/partners/suppliers/co-developers outside our company. At present, the only method I can find is to 'pack' the some or all of product data (meta data, assembly & parts, drawings, and all other relevant data) and send it to the recipient. And when there is an update to the data that has been shared, then do this all over again.
On the recipient's side, they have to 'unpack' the data and load it into their system. We have a few scenarios here:
1. The recipient has WC+Creo - they may be able to take the data 'as is' with very little massaging to get into their system.
2. The recipient has PDM/PLM/CAD from another vendor - they have to find a way to "import" the data into their system, and this may lead to data being neither imported into their PLM system or their CAD system.
3. The recipient has only CAD system - they have to grab the CAD data out of the 'pack' and use it, perhaps after translating it into their native CAD system, if they arent using Creo.
And all of them have to this over again the moment something changes at the sending end to either the metadata or the CAD data.
I would like to know if the user community has evolved a set of best practices for each scenario. I would appreciate if people can share their thoughts on how they would deal with this situation in their company.
Hi.
I need to build WTPart number in create wizard based on some classifier. Classifier item should be selected by user through picker.
So i created datautility that uses PickerInputComponent.
But now PickerInputComponent's input field has no binding to wtPart number. Windchill considers number as null and generates itself.
PickerInputComponent.setId() and PickerInputComponent.setColumnName() do not solve problem.
What can i do?
May be should i use another approach to solve problem?
Thanks.
Hi All
As many of you may, we have various vendors who need access to our drawings and models as they make compnents for us. We want to allow them access into Windchill. We want to be able to restrict what data they can access as Vendor A may make Assy A but not Assy B
How do you guys segregate the vendors/data so that only certain vendors can see certain objects. We have all our CAD data in libraries within Windchill.
Have thought about using ProjectLink but how do you get the projects areas updated if a drawing is modified and re-released.
Have also thought about Security Labels but hear that is a nightmare to set up
If you can recommend/Share/Advise on good methods that you use, please do
Thanks all, Happy Friday
Chris
When a user checks in a drawing in Windchill, a .plt is created. The view that's created is showing datum planes and coordinate systems and points. Does anyone know how/where to tell Creo View to not show those items?
Mike Szwabowski
Hi,
I am getting this error, whenever I am trying to open a new/old template in Workflow Template Administration(Windchill 10.1).
Previously , I had JDK 1.8 on my machine.
I thought, the problem was with the JDK version, so, I unistalled it and installed JDK1.7 in it's place.
However, the problem still persists.
Below is the complete error message :
java.util.MissingResourceException: Can't find resource for bundle wt.clients.checker.checkerResource_en, key 11
at java.util.ResourceBundle.getObject(Unknown Source)
at java.util.ResourceBundle.getObject(Unknown Source)
at java.util.ResourceBundle.getString(Unknown Source)
at wt.clients.checker.CheckerApplet.localize(CheckerApplet.java:337)
at wt.clients.checker.CheckerApplet.init(CheckerApplet.java:64)
at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.init(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.util.MissingResourceException: Can't find resource for bundle wt.clients.checker.checkerResource_en, key 11
at java.util.ResourceBundle.getObject(Unknown Source)
at java.util.ResourceBundle.getObject(Unknown Source)
at java.util.ResourceBundle.getString(Unknown Source)
at wt.clients.checker.CheckerApplet.localize(CheckerApplet.java:337)
at wt.clients.checker.CheckerApplet.init(CheckerApplet.java:64)
at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.init(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at sun.awt.SunToolkit.getSystemEventQueueImplPP(Unknown Source)
at sun.awt.SunToolkit.getSystemEventQueueImplPP(Unknown Source)
at sun.awt.SunToolkit.getSystemEventQueueImpl(Unknown Source)
at java.awt.Toolkit.getEventQueue(Unknown Source)
at java.awt.EventQueue.invokeLater(Unknown Source)
at sun.awt.windows.WToolkit.windowsSettingChange(Unknown Source)
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(Unknown Source)
Any help on this , would be very helpful and will be admired.
Thanks and regards,
SJ
I am cloning a 10.2 M020 Server.But when I am done all the configuration and trying to start the windchill.I am getting following message in server manager and it gets stuck. Method server does not get launched.
2015-06-27 12:02:21,039 INFO [main] wt.server.manager.startup - ServerManager bound in registry.
2015-06-27 12:02:21,046 INFO [main] wt.manager.CacheMasterNegotiator - Cache master stub name: CacheMaster
2015-06-27 12:02:21,046 INFO [main] wt.manager.CacheMasterNegotiator - Using low-locking algorithm
Hello,
According to the European court of justice decision, the threshold should not be considered at the product level but at the article (component) level. As product manufacturers, we must communicate where the concerned substances are located in our products and what are the instructions for safe use.
-> How can we record these new sets of data at the parts level (data received from our suppliers) ?
-> How can we report this set of data at our products level (in BOM reports) ?
Regards,
Pierre.
Curious if anyone has changed from the single server to cluster configuration. Are there specific steps and do you use a load balancer? Thanks in advance!
Can someone explain into me in layman terms ;what is a Resource
Bundle?