Skip to main content
14-Alexandrite
February 17, 2022
Question

"Context" disabled in "Set Location" when trying to create new Configuration Context

  • February 17, 2022
  • 1 reply
  • 1091 views

So, according to this article it's not possible to "enable" "Context" field in Set Location window for Save As action.

 

Now, I'm trying to use action "New Configuration Context" from WTPart. Sadly, here is the same situation - it's impossible to set different context than the one where user is "currently":

m_walendziuk_0-1645134704900.png

 

So while this is "working to spec", has anyone tried or even been able to found OOTB code that is responsible for this? Is it something totally hardcoded that cannot be changed or was someone able to found + modify (customize) this behaviour?

1 reply

14-Alexandrite
February 18, 2022

Well, now I think that the best way here is to hook into FolderedDataUtility and add code like this (within method createInputComponent):

m_walendziuk_0-1645214854547.png

 

As I need it only for new Config Context, I add this stupid if block.