Skip to main content
5-Regular Member
June 7, 2023
Solved

Problem using Project Attribute Value in Document creation OIR in ProjectLink

  • June 7, 2023
  • 1 reply
  • 1556 views

Hello,

 

I have a problem using an attribute value in an Document OIR. I want to use the project number to be in the attribute naming. This gives me an error:

 

 <AttrValue id="number" algorithm="com.ptc.windchill.enterprise.revisionControlled.server.impl.NumberGenerator" ignore="false" force="false" final="false">
	<Arg>CALC-1234567-</Arg>
	<Attr id="MBA|containerReference^WCTYPE|wt.projmgmt.admin.Project2~MBA|ProjectNumber"/>
	</AttrValue>

 

YannickM_1-1686127651880.png

YannickM_0-1686127612989.png

 

If I try it with the name for example, it works fine. What is my error?:

MBA|containerReference^WCTYPE|wt.projmgmt.admin.Project2~MBA|containerInfo.name <-- works fine!

MBA|containerReference^WCTYPE|wt.projmgmt.admin.Project2~MBA|ProjectNumber <-- does not work!

 

Thank you very much!

Best answer by Fadel

Hello,

Yes you are right , I'm having the same issueon 12.0.2.7

Fadel_0-1686557860428.png

On the other hand the same mapping work as alias attribute :

Fadel_1-1686557929932.png

 

 

I tried to play around with the RuleConfigurableTypeAttribute.properties.xconf, issue still occurs.

 

I think you better open a Technical support case to investigate deeper and ebetianll get R&d point of view 

 

 

BR,

Fadel

1 reply

Fadel
23-Emerald I
June 8, 2023

Hello Yannick,

 

The project number attribute internal name is having small p :

Fadel_0-1686210018273.png

 

Buiꓘa
YannickM5-Regular MemberAuthor
5-Regular Member
June 12, 2023

Hello Fadel,

 

thank you for your answer. I changed the OIR to the correct spelling, but unfortunately I get the same error as before? Do you have any other idea what it could be? 

Fadel
Fadel23-Emerald IAnswer
23-Emerald I
June 12, 2023

Hello,

Yes you are right , I'm having the same issueon 12.0.2.7

Fadel_0-1686557860428.png

On the other hand the same mapping work as alias attribute :

Fadel_1-1686557929932.png

 

 

I tried to play around with the RuleConfigurableTypeAttribute.properties.xconf, issue still occurs.

 

I think you better open a Technical support case to investigate deeper and ebetianll get R&d point of view 

 

 

BR,

Fadel

Buiꓘa