Determine the ratio of output size in BI Publisher

Hello

We need to send to printer large and smaller reports to be sent by e-mail. Does anyone know how to determine the result of running the report and change the method of delivery based on size?

We are using 11.1.1.6.10 BEEP and using webservices to run the report. In runReport(), the report is sent as Base64Binary data and the deliveryMethod must be changed according to the size of report output. We use PDF, HTML, and CSV output formats, but do not know how to retrieve the size of the content of the report.

Any help appreciated.

Thank you

We used 'sizeofReportDataChunk' tag in the runReport() XML request to determine the threshold of the size of the file output and inspiring as we do the logic for the features.

Tags: Business Intelligence

Similar Questions

  • System tablespace allocation how oracle determines the size of the measure

    Hello

    It may be a silly question, but the I must request and obtain a few knowdge

    Assume that the allocation_type tablespace is system so how oracle determines the initial measurement and size max measure?

    Osama has provided useful links to the information you need. I'll just add with locally managed tablespace that the maximum number of spans is always unlimited even if you specify a value in the storage of declaration of establishment clause. Oracle does not take into account the value you provide and will with unlimited. I consider this unfortunate since in most cases, I know how large tables can reach and if the table extends beyond that point a developer made a mistake.

    HTH - Mark D Powell.

  • How to choose right for the WAN Interface MTU size?

    Hello

    I would like to know How to determine the right size MTU to set in the properties of the WAN interface (in my case, NSA appliances).

    First of all. I noticed that with SonicOS Enhanced 5.9.x, there is a Tool of diagnosis called PMTU discovery:

    This tool is not available with SonicOS Enhanced 5.8.x.

    I guess using this built-in tool is a way to determine the right MTU size to apply.

    Second, for SonicOS versions that do not have this tool and to understand just how to manually determine the size MTU, I would like to know what is the method to follow.

    On the Internet, I found this method by using the ping-f-l command. Once you have determined the largest possible packet size, it ask you to Add 28 to that number and you get the MTU size to define the interface.

    Case study:

    In my business, there are 2 sites: 1 in China and 1 in South Korea. Both have a firewall SonicWALL NSA.

    To determine the MTU size that is applicable from the Chinese site, I get the same results with the 2 methods mentioned above.

    With the help of the PMTU discovery:

    I get 2 IPs: 8.8.8.8 and the Korean FW IP WAN. I get the same result: 1500.

    However, I noticed that the MTU size should be set to its maximum (1500) of size on the properties of the interface WAN for this test to work properly. Indeed, when I put in 1404 to test, PMTU discovery find 1404 such as MTU size:

    With the help of ping - f - l:

    When you use the ping with FW Korea WAN IP method, I found 1472 as the maximum packet size:

    According to the method I've read on the Internet, adding 28 will make me a MTU of 1500, same size as the PMTU discovery method.

    My question is: can you confirm that these 2 methods are correct determine the MTU size to set the WAN interface? Especially the one with the ping command? If not, how do?

    Thanks in advance for your comments.

    I can tell you that as technicians, we use the way to CMD line to adjust the MTU on WAN interfaces. We saw this as a number to work with.

    Thank you
    Ben D
    #Iwork4Dell

  • Is there a way to dynamically determine the number of parameters to a procedure side Server?

    Hello

    This is a helper method used to call a server-side function that traverses the bindVars parameter to fill the PARAMETERS of the function. Is there a way to dynamically determine the parameters input/output based on the procedure name in the stmt parameter? No member of the CallableStatement class looked promising, but the getParameterMetaData() in the PreparedStatement class method seemed it might be useful lead. However, I have not found any (yet) a detailed description of how to use it.

    protected Object callStoredFunction (int sqlReturnType, String stmt,

    Object [] bindVars) {}

    CallableStatement st = null;

    try {}

    // 1. Create a JDBC CallabledStatement

    St = getDBTransaction () .createCallableStatement)

    ("" start?: = '+stmt+ ";" end; ", 0);

    // 2. Register for the first variable binding for the return value

    st.registerOutParameter (1, sqlReturnType);

    If (bindVars! = null) {}

    // 3. Loop on values for the bind variables passed, if any

    for (int z = 0; z < bindVars.length; z ++) {}

    // 4. Set the value of vars binding provided by the user in the stmt

    st.setObject (z + 2, bindVars [z]);

    }

    }

    // 5. Set the value of vars binding provided by the user in the stmt

    st.executeUpdate ();

    // 6. Returns the value of the first variable binding

    Return st.getObject (1);

    }

    catch (SQLException e) {}

    throw new Aexception.getLocalizedMessage (e);

    }

    {Finally

    If (st! = null) {}

    try {}

    // 7. Close statement

    St.Close ();

    }

    catch (SQLException e) {}

    }

    }

    }

    James

    PreparedStatement.getParameterMetaData () subject is exactly what you need for this task.

    Once you have the ParameterMetaData you can ask how many parameters are present, and how they are. Parameters are numbered from 1 to n, and you can use ParameterMetaData.getParameterMode (1); to get the function of parameter 1. The modes are defined as static values of the ParameterMetaData object. Check out the doc at http://docs.oracle.com/javase/7/docs/api/java/sql/ParameterMetaData.html

    Timo

  • Hi, I recently bought numbers in order to create a commercial newspaper. I'm the pen and paper. I need help to create a formula. A purchase column determines if the entry price column is subtracted from the price of output column or output subtracted

    Hi, I recently bought numbers in order to create a commercial newspaper. I'm the pen and paper. I need help to create a formula. A purchase column; Determines if the entry price column is subtracted from the price of output column (buy) or subtracted from (Sell) entry exit. Thank you for your help

    Hi B',.

    Buying and selling in column B

    Price of entry in column c.

    Exit in column D price

    Formula (and outcome) in column E

    If the column will B always contained 'Buy' or 'Sell', it works. It is default to a calculation of 'sell' if sale or has been specified.

    E2: = IF (B = "Buy", D - C, C - D)

    If you want to delay the calculation until the amounts entered in C and D, use this version:

    E2: = IF (OR (LEN (C) < 1, LEN (D) < 1,"", IF (B = "Buy", D - C, C - D) ")

    If you want to delay the calculation until all three ducks are on a line (B contains buy or sell, C and D contain both data), use this version:

    E2: = IF (OR (LEN (C) < 1, LEN (D) < 1,"", IF (B = "Buy", D - C, IF(B="Sell",C-D,) "" ")))

    Third version used in this table.

    Kind regards

    Barry

  • How can I determine the size of the files and photo albums?

    How can I determine the size of the files and photo albums?

    It is not really in any way, nor is it necessary-what you trying to accomplish?

    LN

  • HP ENVY j073ca: unable to determine the version of HDMI output on my laptop HP envy. It is 1.3 or 1.4 bis?

    Hi I tried to determine the version of my laptop HDMI port HP ENVY 17 j073ca however I have found no info on this subject.  Could anyone help shed any light on this?  Thank you!

    Hello

    Many TV can make upscan which means that they accept the entry at lower resolution and then fill the entire screen. I don't know your TV/monitor, but normally it can do the work in this way.

    Update: all modern televisions must have a lot of options for entry reports, you can watch old movies (ratio 4:3) on the use of 16:9 zoom function.

    Kind regards.

  • Soft pictures for Mac: how to determine the size of the image file

    Question: in the Photos for Mac, how can I determine the size of a photo or a video file

    Set-up the info panel does not include the size of the file.

    Furthermore, I don't see any place where I can do a "show in finder" to find the information in this way.

    Thank you!

    Can you not with the right button on the image file in the folder, the images are stored in, select "Get Info" and then find the size of the file in this way?

  • Questions about to determine the size of the array of data storage with flexibility

    I try to use the CVI function below to load data from .csv file to the table that I was intending to use later:

    filereturnvalue = FileSelectPopup ("c:\\Users\\Desktop\\FileDirectory", "*.csv", "", 'Select the data file', VAL_LOAD_BUTTON, 0, 0, 1, 0, LoadFilePath);

    FileToArray (DATAArray, VAL_CHAR, LoadFilePath, MaxDataSize, 1, VAL_GROUPS_TOGETHER, VAL_GROUPS_AS_COLUMNS, VAL_ASCII);

    For the data table "predetermined", it is quite straightforward, because the size of the table is already set.  However, I wonder if there is anyway I could use CVI directly import data and determine the size of the array on the fly?  Which means that the user need not know the length of the data, and it could be determined then to import the file.

    Hello

    for ASCII files, you can do so in any first read the file and counting the newline characters, something like:

    int file_handle;
    int index;
    int size = 0;
    char line_buffer [80];

    If (OpenFile (...) > 0)
    {
    While (ReadLine (...) > 0)
    {
    size ++;
    }
    }
    CloseFile(f) (file_handle);

    This way you can determine the number of rows you have, but you must have an idea of how long a line may be, one number per line or 32000 because you must specify the size of your line_buffer.

    In the next step you analyserions monotube for occurrence of your column separator (say a ;) to determine the number of columns (separators found + 1).

  • How to determine the number of highlight ' to write ' for DAQmx generate analog output?

    On the configuration of the stage for DAQmx generate analog output, there is a field "value to write.  I can't find any explanation for what it is, how it determines the value to enter, nor what he writes.  I am trying to go through the tutorials and it cling.

    Someone would give an explanation?

    Hello

    To write value specifies the value to write in the channels, lines or ports selected in string parameters. In other words, this value will be the value of your DC output (for example if you enter 5, your output will be 5V). To get information on different fields in SignalExpress, access help"context-sensitive help. A pane will appear in your work environment that displays the coordinates of the field when you place your pointer over them.

    For new users of SignalExpress:

    Generation of DC signals with NI DAQmx devices: step in the DAQmx build, select 1 sample (on request) in the generation Mode dropdown. You can select a programmatic input to generate, or you can remove the check mark from the check box use programmatic input and specify a value for generating in the field of value to write . NOR-DAQmx help also provides additional information about the data generation.

    Best regards

    M Ali

    Technical sales engineer

    National Instruments

  • Determine the size of each Dimension of an array of 2D in TestStand

    How can I determine the size of each dimension of an array of 2D in TestStand?  myArray.GetNumElements () refers to the TOTAL number of elements in the table (2D) and does not help me.  I need to iterate on a single dimension.

    Thank you

    Andrew

    GetUpperBounds are but just not in this context. Try something like the following...

    Locals.MyDimensions = Locals.MyArray.Type.ArrayDimensions.GetUpperBounds)

    Where Locals.MyArray represents the 2D table you want dimensions of and Locals.MyDimensions is a 1 d array to store the dimensions. Something like...

    Locals.MyArray.Type.ArrayDimensions.GetUpperBounds () [0]

    ... might work as well, this example returns the number of elements in the first dimension of Locals.MyArray.

    Kind regards

    Steven Zittrower

    Technical sales engineer

    National Instruments

    http://www.NI.com/support

  • Determine the size of the container when using SizeUnit.PERCENT

    Hello

    How can I determine the width and height of a container, when I use the percentage of the size of the container?

    I have the following code, but this.width and this.height are both 0, causing the background sprite is not to demonstrate:

       public class HeaderContainer extends Container
        {
            private var _imgCategory:Image = new Image();
            private var _lblTitle:Label = new Label();
            private var _matrix:Matrix = new Matrix();
            private var _sprBackgroundColor:Sprite = new Sprite();
            private var _tfmtTitle:TextFormat = new TextFormat();
    
            public function HeaderContainer()
            {
                margins = Vector.([5,5,5,5]);
                debugColor = 0xCCCCCC; // grey
                flow = ContainerFlow.HORIZONTAL;
                align = ContainerAlign.NEAR;
                size = MyConstants.HEADER_SIZE;
                sizeUnit = SizeUnit.PERCENT;
                initializeUI();
            }
    
            public function initializeUI() : void
            {
                with (_sprBackgroundColor)
                {
                    x = y = 0;
                    graphics.beginFill(0x0000FF, 1);
                    graphics.drawRect(0, 0, this.width, this.height);
                    graphics.endFill();
                }
                ...
            }
    

    Have you tried to call the initializeUI method after the container has been added to the scene? You can easily register a handler to do this.

  • How to determine the size of the file and the pixel of an image?

    How to determine the size of the file and the pixel of an image?

    1 MB is 2 ^ 20 bytes. It is easy to represent long:

    final long MegaByte = 1048576L; //1048576 is 2^20 and L denotes that this is a long
    if(fileConn.fileSize() > MegaByte)
    {
    do something here
    }
    
  • How to determine the size of the screen

    Is there a way in OS Version 4.3.0 to determine when executing what the resolution of the screen of the device on which the application is running?

    Thanks for the help.

    Take a look at the net.rim.device.api.ui.Graphics class

    To determine the size of the screen use the static methods:

    Graphics.getScreenWidth ();

    Graphics.getScreenHeight ();

    To determine the resolution of the screen in pixels per meter (PPM), use the following static methods:

    Graphics.getScreenHorizontalResolution ();

    Graphics.getScreenVerticalResolution ();

  • Determine the size of the component during execution

    I am trying to build a component Paginagion of size fixed. The number of pages which means that the size of the paging is fixed, however depending on the content may vary. Most do not specify how much is displayed on a single page.

    The idea is to use the text as input and push as much as can be displayed on the page. Factors having an influence here is the fonts and formatting.

    To determine the page which you should see that I need to understand the amount of text that can be displayed. To do this, I need to know the size of the element that contains the text (think label). The size of the label is however only determined after that is layouted. So here's what I could do:

        @Override
        public void start(Stage primaryStage) {
            Label lbl = new Label("uitroweigudfgf jkfhgklfsjghslkghs kflgskjgh");
            System.out.println(lbl.getWidth()+","+lbl.getHeight());
            lbl.widthProperty().addListener(new ChangeListener<Number>(){
                @Override
                public void changed(ObservableValue<? extends Number> ov, Number t, Number t1) {
                    System.out.println(lbl.getWidth()+","+lbl.getHeight());
                }
            });
            lbl.heightProperty().addListener(new ChangeListener<Number>(){
                @Override
                public void changed(ObservableValue<? extends Number> ov, Number t, Number t1) {
                    System.out.println(lbl.getWidth()+","+lbl.getHeight());
                }
            });
            StackPane root = new StackPane();
            root.getChildren().add(lbl);
            
            Scene scene = new Scene(root, 300, 250);
            
            primaryStage.setTitle("Hello World!");
            primaryStage.setScene(scene);
            primaryStage.show();
       }
    

    After the third change, I have the dimensions of the label. With this method, I would have to push all of the text in labels to figure out what can be displayed.

    Is there a better way to do it?

    My basic problem was with the size of the labels. Try to find a solution I had a look at LabelSkinBase which uses the Utils class in the same package. This class provides methods (although private package) to calculate the size of the text that results from:

    static Text helper = new Text();
    
    static double computeTextWidth(Font font, String text, double wrappingWidth) {
      helper.setText(text);
      helper.setFont(font);
      // Note that the wrapping width needs to be set to zero before
     // getting the text's real preferred width.
      helper.setWrappingWidth(0);
      helper.setLineSpacing(0);
      double w = Math.min(helper.prefWidth(-1), wrappingWidth);
      helper.setWrappingWidth((int)Math.ceil(w));
      return Math.ceil(helper.getLayoutBounds().getWidth());
    }
    
    static double computeTextHeight(Font font, String text, double wrappingWidth) {
      return computeTextHeight(font, text, wrappingWidth, 0);
    }
    
    static double computeTextHeight(Font font, String text, double wrappingWidth, double lineSpacing) {
      helper.setText(text);
      helper.setFont(font);
      helper.setWrappingWidth((int)wrappingWidth);
      helper.setLineSpacing((int)lineSpacing);
      return helper.getLayoutBounds().getHeight();
    }
    
    static int computeTruncationIndex(Font font, String text, double width) {
      helper.setText(text);
      helper.setFont(font);
      helper.setWrappingWidth(0);
      helper.setLineSpacing(0);
      // The -2 is a fudge to make sure the result more often matches
      // what we get from using computeTextWidth instead. It's not yet
      // clear what causes the small discrepancies.
      Bounds bounds = helper.getLayoutBounds();
      Point2D endPoint = new Point2D(width - 2, bounds.getMinY() + bounds.getHeight() / 2);
      return helper.impl_hitTestChar(endPoint).getCharIndex();
    }
    

    With that, I am able to determine the amount of text can be put into the label, without the chain of ellipsis appears.

Maybe you are looking for