BI Publisher (MOSC)

MOSC Banner

E910 - Syntax for Not Contains Operator in RTF Template

edited Oct 28, 2019 11:41AM in BI Publisher (MOSC) 1 commentAnswered ✓

Hello

I am using BIP with JDE E1, where we have a RTF template where we are using a condition to show a tag value.

The scenario is to show the tag value only if it contains a specific string within a string similar to using the LIKE operator with SQL.

<?if:contains(Tag_Name,'Value1') or contains(Tag_Name,'Value2')?>

Tag_Name

<?end if?>

So if the value is 'ABC123456','123456ABC','123ABC456' and the condition has 'ABC' as Value1, the Tag_Name value prints.

Notice there are no % signs prefixed or suffixed to Value1 or Value2 and this works perfectly without any issues.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center