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

select folder.id in OIR using conditional logic on the value of the 'authoringApplication' attribute

select folder.id in OIR using conditional logic on the value of the 'authoringApplication' attribute

This idea follows on from my discussion question : http://communities.ptc.com/thread/39866

The idea is as stated in the title, or in a few more words, as follows : Allow the folder.id to be set for CAD Documents using the OOTB conditional logic algorithms in the EPM-Document or CAD-Document OIRs, based on the value of the OOTB attribute 'authoringApplication', which could be for example PROE, SOLIDWORKS or MENTORGRAPHICS.  It would be even better if the specific version of each authoring tool were available for use in the OIR.

We think this would be useful as it is the main reason our users want to add sub-folders to Product repositories, and it would avoid manual sorting of files.  When multiple CAD tools & versions of tools are in used in a company, it could provide a simple mechanism to show which CAD tool to use for each project - for example, if ad-hoc access permissions were changed on each sub folder, or perhaps more easily if the sub-folders were renamed or deleted before being used (as the OIR will fail if the folder it selects does not exist in the relevant context).

We are now using PDMLink v10.0 and had hoped this release would allow conditional logic within an OIR to select the folder.id based on the authoring application (as demonstrated by the video posted in one of the replies to my discussion question, but they are using v10.1).  Unfortunately we cannot get the same OIR to work in v10.0.  PTC Technical Support tell us that the video posted on the forum does not prove anything, although I believe it does show that it can work !  Anyway, they say our best chance of us ever getting this functionality is to make an Enhancement Request - hence I am posting this "Idea" to see if it collects any votes.

It is clear that the WGM, or the embedded browser in Pro/E, can tell which CAD authoring application has been used to create a new CAD file, as it will show the correct icon for the file before the file is uploaded for the first time, and that is clearly before the relevant OIR has been run.  I think this means that the value of the attribute 'authoringApplication' that is set on the EPMDocument type (and so also exists for the CADDocument sub-type) is known before the OIR is run, and should therefore be available for use when the OIR is run.  PTC do not seem to be willing to confirm if this is true.

I know we could create two soft sub-types of the CAD Document type in the Type & Attribute Manager, as per Steve Shaw's Blog posting :

http://communities.ptc.com/people/SteveShaw/blog/2011/07/07/windchill-10-mapping-authoring-applicati...

and then we could write OIRs that set the specific folders for each soft-type.  But why should we need to create further sub-types if the specific authoring application is already known to the WGM ?

1 Comment
Community Manager
Status changed to: Archived