On 11/30/2010 10:05 AM, Stavish, Richard wrote:
That is correct - that was what I was wondering when I saw your
message. I think you can do what you want, but I think you might have
to point at a new class. I have done similar things before but will
have to go look up what I did.
> Correct me if I am wrong...but the solution that Mike sent would place
> EVERY Promotion Request in the PromotionRequests folder.
>
> I have several folders in my Product location, so I would like the
> Promotion Requests to be placed in the different folders along with
> the documents that the Promotion request references.
>
> Rich
>
> *Richard Stavish****
> *Pro/E System Administrator
>
>
>
> E-mail:
> Office:
> Fax:
> Mobile:
>
>
>
> RStavish@sargentaerospace.com
> 520-744-1000 x4570
> 520-744-7529
> 520-437-5811
>
> ______________________________________________________________________________________________
> The information contained herein may be confidential and proprietary
> and is intended only for the use of
> the addressee. This email does not contain any Department of Defense
> confidential, sensitive or official
> information and this disclaimer relates only to the internal policies
> of Sargent Aerospace & Defense. Any
> unauthorized dissemination or disclosure of this communication is
> strictly prohibited. If you have received
> this communication in error, please notify the sender immediately. The
> information herein is not warranted
> to be free of virus or any other defect.
>
> *From:*Bob Lehman [
> *Subject:* [solutions] - Promotion Request OIR question
>
> Windchill Admins,
>
> When we create a Promotion Request it is automatically stored it the
> root Product location. We would like the Promotion Request to be
> stored in the folder with the objects the Promotion Request references.
>
> Here is the code from the Promotion Request OIR.
>
> <attrvalue<br/>>
> id="folder.id"
>
>
> algorithm="com.ptc.core.foundation.folder.server.impl.FolderPathAttributeAlgorithm"
>
> ignore="false"
>
> force="false"
>
> final="false">
>
> <arg>/Default</arg>
>
> </attrvalue>
>
> <attrconstraint<br/>>
> id="folder.id"
>
> algorithm="com.ptc.core.rule.server.impl.GatherAttributeConstraints"
>
> ignore="false"
>
> force="false"
>
> final="false">
>
> <value <br="/>> algorithm="com.ptc.core.rule.server.impl.GetServerPreGeneratedValue">
>
> </value>
>
> </attrconstraint>
>
> When we create a document it is created within the folder that we want
> it, but it does not work the same way for Promotion Requests. Does
> this happen to anyone else? We are using Windchill 9.0 M050.
>
> Thanks
>
> Rich
>
> *Richard Stavish
> *Pro/E System Administrator
>
>
>
> E-mail:
> Office:
> Fax:
> Mobile:
>
>
>
> RStavish@sargentaerospace.com <
">mailto:RStavish@sargentaerospace.com>> 520-744-1000 x4570
> 520-744-7529
> 520-437-5811
>
> ______________________________________________________________________________________________
> The information contained herein may be confidential and proprietary
> and is intended only for the use of
> the addressee. This email does not contain any Department of Defense
> confidential, sensitive or official
> information and this disclaimer relates only to the internal policies
> of Sargent Aerospace & Defense. Any
> unauthorized dissemination or disclosure of this communication is
> strictly prohibited. If you have received
> this communication in error, please notify the sender immediately. The
> information herein is not warranted
> to be free of virus or any other defect.
>
> -----End Original Message-----
>
> ------------------------------------------------------------------------
>
> This e-mail (including any attachments) is confidential and may be
> legally privileged. If you are not an intended recipient or an
> authorized representative of an intended recipient, you are prohibited
> from using, copying or distributing the information in this e-mail or
> its attachments. If you have received this e-mail in error, please
> notify the sender immediately by return e-mail and delete all copies
> of this message and any attachments.
>
> Thank you.
>
> -----End Original Message-----
>
> -----End Original Message-----
>
> -----End Original Message-----