Copy link to clipboard
Copied
This seemed to indicate that there was an issue with the STS file I am using.
To pursue this, I created a "New" STS file from the Publish pod, and tried again. And the conditional text worked perfectly! This was good news, but left me with a problem, as I can't use the new STS file; our formatting requires the use of our current STS file.
I tried re-saving our current STS file from the Publish pod when all conditional settings were correct. This did NOT work.
So, while I agree that it seems to be an issue with my STS file, I am unclear what I can do about it.
As I understand it, the STS file is a zip of "all configuration files", but after digging through extracted zip files, I can't see where any conditional settings are stored in the STS. Am I missing something here?
So, I guess my question is: How can I change the STS file so that only the required conditional tags are included in the HTML5 output. Ideally, so that it uses the current visibilities onscreen (as the "new" STS file does). However, I'm open to something more prescriptive. Or to be told I'm going about this all wrong!
I'm working with FM 2017 Release - Version: 14.0.4.511, all updates included. I'm not using Dynamic Content Filters.
Thanks, John Kilby
Hi Zippy, thanks for getting back to me. I think you may be correct.
I've spent some time working with the person who created the corporate STS file. Once he saw conditional text working correctly in the HTML output using the "new" STS file, he then did exactly what Jeff had suggested; he re-applied all required settings to the working STS file. As I understand this, there was a lot of work involved both inside and outside the Publish pod to make this happen. Thankfully he had copious notes to
...Copy link to clipboard
Copied
Why would you not be able to use the new STS file? Recreate your customized settings in the new file (you made notes on what you customized, right?), delete or overwrite the old STS file with the new one & you're good to go.
Copy link to clipboard
Copied
Hi Jeff, thanks for your reply. It's certainly possible, but not practical; I'm not the person who created the STS file, and the solution to this eluded the person that did. Having done my own investigation (with minimal expertise in this area), I'm fairly confident that I've identified the STS file as the problem, but the causes are unclear. I'm now looking to understand differences between existing and "New" (and perhaps even my workflow is wrong) so I can straighten things out. I'm hoping it will be trivial to fix the current STS with a little more understanding. Thanks, John
Copy link to clipboard
Copied
I was referring to "you" in the corporate sense, not personally. Unless you've made some fantastically detailed customization of the STS, I would expect you'd blow more time trying to winnow out the differences than just adding them back into the new one. But, it's your call - good luck!
Copy link to clipboard
Copied
It seems somewhere in the STS file is a setting, that is saying, "Show all conditions"
Either, you are sending it to use a template which shows everything, or somewhere else.
I would back up your STS file and copy it to somewhere safe, then open your official STS file and very carefully go through the settings to see if you can find this.
The STS file is not so complex. It is possible that it is telling Frame to apply a template which is "Show all"
Look under Style Mapping , Use Template - is something selected here? If so, check it out. That is where the issue might be.
Or something set in an CSS used
Also, what is your workflow?
Copy link to clipboard
Copied
Hi Zippy, thanks for getting back to me. I think you may be correct.
I've spent some time working with the person who created the corporate STS file. Once he saw conditional text working correctly in the HTML output using the "new" STS file, he then did exactly what Jeff had suggested; he re-applied all required settings to the working STS file. As I understand this, there was a lot of work involved both inside and outside the Publish pod to make this happen. Thankfully he had copious notes to recreate it.
This actually solved the problem, and we now have a correctly-working corporate STS file. SUCCESS!
However, it left us none the wiser as to WHY exactly, but he has just come to the same conclusion as you. He also believes it's something to do with the File > Publish > Edit (the Settings File) > Style Mappings > Use Template > Current Template. On our old STS, this property/field had a setting that we couldn't clear, but the property in the new STS is empty. We think this means that it uses the conditional tag visibility settings from each individual FM file, as we want it to. If you wanted to use conditional hide/show settings from a standard file all the time, you might use this field instead. We've not been successful trying this for the sake of understanding, but thankfully we have no need to.
Zippy, Jeff, thank you. A solution is less than a day, I call that a score.
(Marking as ANSWERED, but if other folks have additional info, please feel free to pitch in. Other folks may need help with this.)
Thanks, John