Skip to main content
added 162 characters in body
Source Link
Damian Jewett
  • 1.7k
  • 10
  • 11

The issue is that I was missing the ISH Cartridge (ish_ambient_cartridge.xml, now called udp-cis-ish-cartridge.xml). I was missing the steps here. But, as I observed, in addition to those steps, the JAR files also needed to be copied directly into lib folder of my content microservice:

  • \sessioncontent\lib\commons-jexl3-3.0.jar
  • \sessioncontent\lib\commons-lang3-3.5.jar
  • \sessioncontent\lib\udp-cis-ish-cartridge-11.0.0-1024.jar
  • \sessioncontent\lib\udp-cis-ish-dynamic-11.0.0-1024.jar
  • \sessioncontent\lib\udp-cis-ish-evaluation-engine-11.0.0-1024.jar

These libraries contain code that resolves TCDL tags with Conditions in Docs content sitting in the broker database (Notee.g. <tcdl:If condition=\"(Test=Print)\"...). Note that these files don't appear to come packaged with the Tridion Docs install media - I had to take them from the Tridion Sites install media).

As you can see in the above code snippets, I'm clearly attempting to use the ADF and existing providers. I misinterpreted all of the documentation I encountered, as well as the informal suggestions I received. But from what I can tell, any time you are trying to use the ADF to filter content service responses based on Docs conditions, you need to set up the ISH Cartridge, as described above.

The issue is that I was missing the ISH Cartridge (ish_ambient_cartridge.xml, now called udp-cis-ish-cartridge.xml). I was missing the steps here. But, as I observed, in addition to those steps, the JAR files also needed to be copied directly into lib folder of my content microservice:

  • \sessioncontent\lib\commons-jexl3-3.0.jar
  • \sessioncontent\lib\commons-lang3-3.5.jar
  • \sessioncontent\lib\udp-cis-ish-cartridge-11.0.0-1024.jar
  • \sessioncontent\lib\udp-cis-ish-dynamic-11.0.0-1024.jar
  • \sessioncontent\lib\udp-cis-ish-evaluation-engine-11.0.0-1024.jar

(Note that these files don't appear to come packaged with the Tridion Docs install media - I had to take them from the Tridion Sites install media)

As you can see in the above code snippets, I'm clearly attempting to use the ADF and existing providers. I misinterpreted all of the documentation I encountered, as well as the informal suggestions I received. But from what I can tell, any time you are trying to use the ADF to filter content service responses based on Docs conditions, you need to set up the ISH Cartridge, as described above.

The issue is that I was missing the ISH Cartridge (ish_ambient_cartridge.xml, now called udp-cis-ish-cartridge.xml). I was missing the steps here. But, as I observed, in addition to those steps, the JAR files also needed to be copied directly into lib folder of my content microservice:

  • \sessioncontent\lib\commons-jexl3-3.0.jar
  • \sessioncontent\lib\commons-lang3-3.5.jar
  • \sessioncontent\lib\udp-cis-ish-cartridge-11.0.0-1024.jar
  • \sessioncontent\lib\udp-cis-ish-dynamic-11.0.0-1024.jar
  • \sessioncontent\lib\udp-cis-ish-evaluation-engine-11.0.0-1024.jar

These libraries contain code that resolves TCDL tags with Conditions in Docs content sitting in the broker database (e.g. <tcdl:If condition=\"(Test=Print)\"...). Note that these files don't appear to come packaged with the Tridion Docs install media - I had to take them from the Tridion Sites install media.

As you can see in the above code snippets, I'm clearly attempting to use the ADF and existing providers. I misinterpreted all of the documentation I encountered, as well as the informal suggestions I received. But from what I can tell, any time you are trying to use the ADF to filter content service responses based on Docs conditions, you need to set up the ISH Cartridge, as described above.

Source Link
Damian Jewett
  • 1.7k
  • 10
  • 11

The issue is that I was missing the ISH Cartridge (ish_ambient_cartridge.xml, now called udp-cis-ish-cartridge.xml). I was missing the steps here. But, as I observed, in addition to those steps, the JAR files also needed to be copied directly into lib folder of my content microservice:

  • \sessioncontent\lib\commons-jexl3-3.0.jar
  • \sessioncontent\lib\commons-lang3-3.5.jar
  • \sessioncontent\lib\udp-cis-ish-cartridge-11.0.0-1024.jar
  • \sessioncontent\lib\udp-cis-ish-dynamic-11.0.0-1024.jar
  • \sessioncontent\lib\udp-cis-ish-evaluation-engine-11.0.0-1024.jar

(Note that these files don't appear to come packaged with the Tridion Docs install media - I had to take them from the Tridion Sites install media)

As you can see in the above code snippets, I'm clearly attempting to use the ADF and existing providers. I misinterpreted all of the documentation I encountered, as well as the informal suggestions I received. But from what I can tell, any time you are trying to use the ADF to filter content service responses based on Docs conditions, you need to set up the ISH Cartridge, as described above.