cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Problem using Project Attribute Value in Document creation OIR in ProjectLink

YannickM
4-Participant

Problem using Project Attribute Value in Document creation OIR in ProjectLink

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!

1 ACCEPTED SOLUTION

Accepted Solutions
Fadel
22-Sapphire I
(To:YannickM)

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

Fede

View solution in original post

3 REPLIES 3
Fadel
22-Sapphire I
(To:YannickM)

Hello Yannick,

 

The project number attribute internal name is having small p :

Fadel_0-1686210018273.png

 

Fede
YannickM
4-Participant
(To:Fadel)

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
22-Sapphire I
(To:YannickM)

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

Fede
Top Tags