4 Replies Latest reply: Mar 29, 2013 11:57 AM by 997631 RSS

    Dynamic layouts in XML publisher

    997631
      Hi,

      I have an rtf template which has multiple templates in it. I did conditional formatting (used if statement) based on a parameter to select each layout.
      When i run a request, it works for few parameters and doesn't work for others.

      Is my approach correct? If yes then what can be the problem.
        • 1. Re: Dynamic layouts in XML publisher
          AlexAnd
          >
          I have an rtf template which has multiple templates in it. I did conditional formatting (used if statement) based on a parameter to select each layout.
          When i run a request, it works for few parameters and doesn't work for others.
          >
          plz post any sample working and not working case
          I did conditional formatting (used if statement) based on a parameter to select each layout.
          where are layouts? subtemplate?
          Is my approach correct? If yes then what can be the problem.
          i have a car. it does not go. what can be the problem?
          • 2. Re: Dynamic layouts in XML publisher
            997631
            Sorry for not putting it clearly.

            I am working on invoice reports using BI publisher.
            I developed a rtf template in which first page is for one operating unit Invoice, 2nd page is for another operating unit invoice & so on. To seperate them i gave if conditions. For Example:

            <?if:ORG_ID='111'?>
            Template for XXX invoice
            <?end if?>
            <?if:ORG_ID='222'?>
            Template for YYY invoice
            <?end if?>
            <?if:ORG_ID='333'?>
            .
            .
            .
            .
            .
            <?end if?>

            When I upload the template and run the concurrent program, its showing the output correctly for all the templates except for two.
            I checked everything.....like conditional formatting, xml data, request groups assigned to the concurrent program etc. When i just load data and preview using the BI publisher add-in, it works fine, it shows proper output for all org_id's.
            I am not able to figure out y it is not giving the output for them.

            Can you plzz help. Thanks In advance!

            Edited by: 994628 on Mar 27, 2013 10:00 AM
            • 3. Re: Dynamic layouts in XML publisher
              Kavipriya-Oracle
              Can you share your sample xml and RTF for either of the non working orgs to user552238@gmail.com, so that I can have a look.
              • 4. Re: Dynamic layouts in XML publisher
                997631
                Hi Kavipriya,

                I have sent the files to you. Can you please see them and suggest me.


                Thanks!