Skip to main content
16-Pearl
November 14, 2025
Question

Hide an object from the Menu in one context

  • November 14, 2025
  • 1 reply
  • 237 views

Version: Windchill 12.1

 

Use Case: For one context, the users do not need to see a few document sub-types or a change type. Hide that option from just that one context.


Description:

I have solved this before with an OIR for that object that calls out a none existing Lifecycle. It has worked but now for some reason, It does not. Granted, I do not understand HTML so perhaps I have this formatted incorrectly.

<!-- set the lifecycle -->

<AttrValue id="lifeCycle.id" algorithm="com.ptc.core.foundation.lifecycle.server.impl.LifeCycleTemplateAttributeAlgorithm">

<Arg>nope</Arg>

</AttrValue>

</AttributeValues>

1 reply

avillanueva
23-Emerald I
23-Emerald I
November 14, 2025

Which menu specifically? Screen shot?

lgrant16-PearlAuthor
16-Pearl
December 4, 2025

lgrant_0-1764861465139.png

Lets say that in this context the users would never create a document with sub-type "Agenda" then what I had done before was create a local OIR that named a nonexistent lifecycle and it would remove "Agenda" from this pick list.

lgrant16-PearlAuthor
16-Pearl
December 4, 2025

Well, it worked that time.

lgrant_1-1764861945484.png

 

lgrant_2-1764861974972.png