I got a copy of Portals a little while after finding Private Data Write and have used it at a very entry level so know some of the benefits. I just learned about it a bit late to add it to my past flows that were already built with conventional methods. I read through the slideshow on your link and will certainly use it down the line having seen first hand the spaghetti junction flows you aim to solve with it.
Re you last point though, I'm lost here.. (sorry if this is hard to read, I'm likely overcomplicating a simple issue due to lack of knowledge).
gabrielp wrote:..you'll want those scripts to take an input variable which you can edit in the flow. Then in the flow editor you set those private data keys there, so the keys aren't hard coded into the script.
the existing scripts refer to the same things over and over.
my thoughts were to make this
Code: Select all
var unsure of code or syntax because of above rant "somePrivateDataKey"
and in Switch I'd have a Private Data thing grab some value and place it in somePrivateDataKey for the scripts to then grab as required. So when I'd edited the scripts to refer to Private Data Keys I'd only then be adjusting the contents of these variables once in Switch Designer and never going back to the multiple scripts.
- not right it seems?