Skip to main content
Solved

Unknown extended properties processflowcontext and switchfilecontrolbehaviour

  • October 22, 2024
  • 1 reply
  • 63 views

John Lunenburg
Apprentice

We have 2 undocumented extended properties in our projects (https://docs.thinkwisesoftware.com/docs/sf/extended_properties#introduction-to-extended-properties):

  • processflowcontext; value: TopDown (we have runtime configuration with breadth_first too)
  • switchfilecontrolbehaviour value: true

These properties have been added to the Software Factory in late 2016. Who can tell us a bit more about these properties? And can we delete them without consequences?

Best answer by Henk Nicolai

Hello John,

 

ProcessFlowContext is an ancient one. It has no more effect on process flows so it can be safely removed. It was used back in the day when the Activate Detail process action could only be parametrized with a tab_id, and was intended to give developers somewhat better control over where a flow would continue. After adding ref_id it became immediately obsolete and we removed it some time later.

SwitchFileControlBehaviour still works. It controls whether or not an end user can create files directly on the file system by entering the desired file name in an editor and pressing the button with a star icon next to it which will then create an empty file with that name. It applies to all FILE, IMAGE_LINK and VIDEO_LINK controls in the application. Since this has no forward compatibility with 3-tier architectures we decided to not document the property. My advice would be to upgrade to FILE_UPLOAD/IMAGE_UPLOAD controls if you haven’t already, after which SwitchFileControlBehaviour can be removed.

Hope this answers your questions!

 

Kind regards,

Henk

View original
Did this topic help you find an answer to your question?
This topic has been closed for replies.

1 reply

Henk Nicolai
Moderator
Forum|alt.badge.img+1
  • Moderator
  • 55 replies
  • Answer
  • October 25, 2024

Hello John,

 

ProcessFlowContext is an ancient one. It has no more effect on process flows so it can be safely removed. It was used back in the day when the Activate Detail process action could only be parametrized with a tab_id, and was intended to give developers somewhat better control over where a flow would continue. After adding ref_id it became immediately obsolete and we removed it some time later.

SwitchFileControlBehaviour still works. It controls whether or not an end user can create files directly on the file system by entering the desired file name in an editor and pressing the button with a star icon next to it which will then create an empty file with that name. It applies to all FILE, IMAGE_LINK and VIDEO_LINK controls in the application. Since this has no forward compatibility with 3-tier architectures we decided to not document the property. My advice would be to upgrade to FILE_UPLOAD/IMAGE_UPLOAD controls if you haven’t already, after which SwitchFileControlBehaviour can be removed.

Hope this answers your questions!

 

Kind regards,

Henk


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings