OBIEE 12.2.1.4
I tried to yous chapter 17.6 from this doc
https://docs.oracle.com/middleware/1221/biee/BIESG/answersconfigset.htm#BIESG2026
but with no success
I created 2 files
answerstemplates.xml
<?xml version="1.0" encoding="utf-8"?>
<WebMessageTables xmlns:sawm="com.siebel.analytics.web.messageSystem">
<WebMessageTable system="QueryBlocking" table="Messages">
<WebMessage name="kuiCriteriaBlockingScript" translate="no">
<HTML>
<script type="text/javascript" src="fmap:myblocking.js" />
</HTML>
</WebMessage>
</WebMessageTable>
</WebMessageTables>
and myblocking.js
function validateAnalysisCriteria(analysisXml)
{
// Create the helper object
var tValidator = new CriteriaValidator(analysisXml);
// Validation Logic
if (tValidator.getSubjectArea() != "Sample Sales")
return "Try Sample Sales?";
return true;
}
I have cluster with two OBI server instances with shared resource folder
Also I use custom styles (https://gianniceresa.com/2017/02/obiee-12c-custom-style-using-shared-folder/ ). I keep them in folder c:\Oracle\analyticsRes\ on each instance
then I made two attempts
1. I created folder analyticsRes in y:\bidata\components\OBIPS\, placed these two into this folder and restarted OBIPS.
No success
2. I placed these two file in each custom styles forlder(c:\Oracle\analyticsRes\), redeployed apps and restarted OBIPS
No succes
Has anyboby tried to block any queries in Answers in OBIEE 12c?
there are a lot of manuals regarding 10g-11g but I have found no such manual for 12c