Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
I am using Windchill PDMLink Release 12.0 and Datecode with CPS 12.0.0.2
Getting Error while creating WTPart or WTDoc using defaut template "Caused by: wt.vc.VersionControlException: (wt.part.partResource/19) wt.fc.InvalidAttributeException: The name attribute must have a value. "
Here are the errors that I faced
Caused by: wt.vc.VersionControlException: (wt.part.partResource/19) wt.fc.InvalidAttributeException: The name attribute must have a value
Hi @Rohaan
I know two cases of this error.
One is that system attribute Name is not in the create Wizard
The name is hidden or removed from create layout by Administrator in the Type & Attribute management
- add the name attribute back to the Wizard
Second is OIR definition. The name is not defined in the OIR or is defined wrong way or is pick-up from an another IBA parameter that is empty.
- correct the OIR definition
Also there can be many other reasons.
for example any customization...
PetrH
I probably think the system is broken because all the configurations are correct in Types and Attribute Management, yet I see no attributes .
HI @Rohaan
Check type & attribute management layouts
Be sure that the attributes are ok.
Sometimes I saw there were error in datautility if the attribute should have been shown but error stops loading full page.
Also if some js script failed it can stop loading full page.
In your case there is something that block full page load.
PetrH
What browser are you using to create the document (Recommend Chrome, Firefox or Edge)? We have seen in the past that the embedded Creo browser couldn't render all of these pages.
Good catch😀 I still wouldn't discount a browser issue in rendering the page (like failure to load js you mentioned - that was the cause with the internal Creo browser for us previously).
Not the best match to mention (11,1 M020, not related to Name...), but what I think was happening just recently when I created an attribute, added to layout and set this in pic to hide all that have no value caused the same behaviour in New Document as in your pic. Nothing was shown. Probably should test again... but maybe something you could check if you've got this selected and behaves the same.
Hi @HJ1
Hehe good point, it can really be set even though it is create wizard where the attributes can not have the values.
😄
PetrH