Skip to main content
23-Emerald III
August 26, 2016
Question

OIR Folder setting

  • August 26, 2016
  • 1 reply
  • 3265 views

Before I open a call with PTC to report this as a bug, I want to see if others are having the same issue.

The CS article states that you can change the folder location for things like promotion requests, change requests, change notices, parts, etc.

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS21487

I have modified my OIR for Promotion Requests to use folder.id of /Default/Promotion Requests/2016. This works fine.

I have done the same for Change Requests, /Default/Change/Change Requests/2016. This also works.

When I set Change Notice to use /Default/Change/Change Notice/2016, change notices fail to be created and I get an error. As soon as I reload the OIR with only /Default for the folder, I can create a change notice.

Shouldn't the folder.id setting work the same across all types of data?

Windchill 10.0 m040.

1 reply

1-Visitor
August 26, 2016

My company currently provides support for a customer that does exactly this same thing.  They have created soft types of CR, CN and CT and both the CR and CN soft types go into a subfolder of the product/library called "/Default/Change Management and Issue Tracking" as defined in the OIR, so what you are describing should in fact work.  They use Windchill 10.2 M030, CPS14.

Can you post the specific error message/log stack you receive?

Some of the possible causes off the top of my head:

  • You've likely checked this, but does the "/Default/Change/Change Notice/2016" folder actually exist in the context in which you are trying to create the Change Notice?

  • Assuming the folder DOES exist, does the user trying to create the CN have appropriate ACLs granting the ability?  Is the specific subfolder also have the ACLs granted appropriately (of course you cannot ad-hoc deny, but if the practice is in place to provide ad-hoc grant to subfolders, then that needs to be verified).  In other words, does the "Manage Security" page show at least one combination of user, object type, and location having a "Create" access granted?

  • While you did not mention this (and is not likely), was the Change Task OIR updated to also change the folder.id attribute?  Keep in mind that the OIR for a CT should NOT have a folder.id attribute, as this causes problems (the Change Task effectively sits in the same location as the Change Notice on whose Implementation Plan the Change Task resides).
BenLoosli23-Emerald IIIAuthor
23-Emerald III
August 26, 2016

If I set the folder.id to "/Default/Change/Change Notice/2016, I get the following pop-up message: This task cannot be displayed because you do not have permission to view the subject. Contact your project manager to increase your access rights.

1-Folder does exist, I am manually moving the CN notices from the /Default location to "/Default/Change/Change Notice/2016.

2-I am the system admin so I should have all rights to the system. I can manually put files in that folder, just when I go to create the Change Notice I get the error, unless the folder.id is /Default.

WTChangeOrder2 and WTChangeActivty2 both have create permission for the group that is the Principal of which I am a member.

-Change Task does not have a folder.id set. There are no CT documents created, only CR and CN.

I have previously opened a call with PTC and their answer was to leave it at /Default.

Cop out if there ever was one, as that does not solve my issue. Maybe it is just an issue with WC10.0M040?

22-Sapphire I
August 26, 2016

I've never gone more than 2 levels deep - possibly you can't have that many.  Maybe the space is the issue - always good practice to eliminate spaces.  Seems like correct syntax though in general.

Since the error message has nothing to do with folders, it may be something going on with the workflow process.  Worth testing with a lifecycle mapped to a minimal workflow template with no Activities.