How to create a conditional Layout in XMLP?

Oracle Apps Interview QuestionsCategory: XML PublisherHow to create a conditional Layout in XMLP?
Questions Master asked 4 years ago
1 Answers
Shailender Thallam Staff answered 4 years ago

Here is the syntax for creating different layouts based on condition:
 
<?choose:?>
 
      <?when:CF_CHOICE=’VENDOR’?>
            ..design your Layout here..
       <?end when?>
 
       <?when:CF_CHOICE=’INVOICE’?>
               ..design your Layout here..
        <?end when?>
 
       <?when:CF_CHOICE=’RECEIPT’?>
               ..design your Layout here..
        <?end when?>
 
<?end choose?>