Incorrect Chart displayed in PDF

Hi,
I've created a web application that consists of two charts based on two different dataproviders.
I've used a dropdown web item for one of the characteristic with data binding to both dataproviders, so as I choose the characteristic from dropdown both the charts change accordingly.
I am using a web item export to save to PDF  for the above two charts.The PDF displays/save correct data if the chart is displaying data.
But suppose I choose from dropdown some value of characteristic for which one of the chart has no data, still the PDF shows the iinitial view of data for that chart which is incorrect. The PDF shows previous/incorrect values only for the chart which has no data, for the chart that displays data it saves correctly.
Let me know if anyone has encountered that before.
Thanks in advance.
Ajay

ekom --
That is a neat looking font.  It's a shame it wasn't built correctly.  What they did was take the Time New Roman internal basics, and built the font on top of that. Legit fonts are built from the ground up.  That's the problem with free fonts.  Glad you identified the culprit so quickly.  Good work!

Similar Messages

  • Incorrect font display in pdf document(web view)

    Adobe helpers,
    I am encountering a  very peculiar problem with incorrect display of fonts in pdf documents when viewed in a web browser. Briefly, the problem typically affects  the first page of a pdf document, the font being displayed as an unidentified mix of large and very small, skinny type.  Other pages may or may not be affected, and if one back-clicks to the previous page the text often displays the correct font, so the problem is in some (but not all) cases non-persistent.  The problem however is resolved completely if I uncheck the 'display pdf in browser' option  under edit>preferences in adobe reader. Fonts I use include Arial, Cambria, Franklin Gothic Book, and Garamond; as straight-up pdfs, the documents look fine. FYI, I have Adobe reader X 10.0.1 (Win 7) and 9.0 (Win XP sp3) installed on two different machines. Firefox 3.6 and IE9 are equally at fault. FWIW, all the pdf documents begin life as MS Word or Publisher 2010 documents, which are converted to pdf within these applications before publishing to web.   Since I can't control how people choose to view web pdfs, I'm concerned that display of the prone documents is impaired when viewed in a web browser.
    Not sure if this is a reader, browser, or distiller problem but this seems a logical place to start looking for answers. Any thoughts?
    Thanks!

    I've also had problems printing with Reader X.
    When printing an attachment from an email in Outlook, if I don't open the attachment first, sometimes it doesn't print correctly as everything shows with the following number or letter. Example 12345 will print as "23456" and invoice will show as "jowpjdf". Even if I open the attachment, sometimes it will print the first page ok, but the next pages will "mppl mjlf uijt".
    Never had this problem with previous versions.

  • Adobe Reader Will Not Display Large PDFs

    When using the Adobe Reader app on PlayBook it will not display some PDFs. It seems that it will not display PDFs that are too large.
    Some files that might be too large do not display while smaller files do display in the app. The too large range could be in the 12 MB region where the good range could be 6 MB or less.
    I tried to submit feedback to BlackBerry on this issue but it returned my email saying it could not process my request. I am hoping that they read it here.
    Here is a link to a page with both readable and unreadable files:
    http://www.bossus.com/backstage/product_manuals/?g​roup=2
    A readable PDF is the owner's manual for the RV-3. A unreadable PDF is the owner's manual for the RC-3.

    That looks like a perfectly good PDF, but since it's trying to open in Microsoft Word, that means your file association for .pdf files is incorrect.  You should change it to point to Adobe Reader instead of Word.
    If you are on Windows, see http://windows.microsoft.com/en-us/windows/change-file-open-program#1TC=windows-7

  • Empty grid columns not displayed in pdf

    hi.. am using alivepdf to generate pdf from flex..
    it works fine for chart and grids...
    am having empty coloums in flex grid, but empty colums are not displayed in pdf...
    guide me to overcome this prob,,
    thanks in advance..

    Hi
    Check whether user have authorization to access the tables or not
    Check  whether DB connection is working or not
    And what is the back-end data base for the universe?
    Find the below notes for more info.
    If data base is Oracle
    1803659 - Unable to display columns from Oracle synonym tables
    Ms SQL Server
    1904204 - Synonyms not displaying columns in IDT.

  • Pie chart  display error

    Hi
    I created pie chart using CFCHART tag. In the chart display,
    data values overlap on one another in the display. How to rectify
    this error.
    Kindly help me in this regard.
    Advance thanks

    I am using  ColdFusion Report Builder 9 to generate a PDF, so there is no code to provide, but here is an example of my data:
    fruit
    count
    apples
    112
    oranges
    304
    bananas
    0
    pears
    0
    grapes
    16
    strawberries
    80
    plums
    48
    pineapples
    32
    blueberries
    16
    raspberries
    32
    apricots
    256
    tangerines
    705
    cherries
    1
    peaches
    0
    With 'label column: fruit' and 'value column: count', when I select 'data label: pattern', for my pie chart, the labels overlap.

  • Urgent: Issue while displaying the PDF Reports Using XDO Common region

    Hi all,
    In our product code we are trying to display the PDF Reports, using the xdo common region.
    Previously we were writing the pdf reports direclty onto the response direclty.
    This displays the report onto the browser but if navigate throw browser back button, it doesn't displays the report as the response stream is empty while navigating through back button.
    So to solve this issue, i tried to write the report using the OAHTMLWebBean and xdo common region. Here is the code:
    ByteArrayOutputStream xdoOutput = new ByteArrayOutputStream();
    XDOUtility.retrieveReport(xdoOutput,
    parameters,
    prop,
    appMod
    BlobDomain bxdoOutput = new BlobDomain();
    bxdoOutput.setBytes(xdoOutput.toByteArray());
    String redirectURL = DocumentHelper.getOutputURL(pageContext,
    bxdoOutput,
    "Report",
    "PDF");
    OAHTMLWebBean outRegion = (OAHTMLWebBean)createWebBean (pageContext, OAWebBeanConstants.HTML_WEB_BEAN, null, "IFRAME");
    outRegion.setHTMLAttributeValue("src", redirectURL);
    outRegion.setHTMLAttributeValue("width", "100%");
    outRegion.setHTMLAttributeValue("height", "100%");
    outRegion.setHTMLAttributeValue("title","Report");
    outRegion.setHTMLAttributeValue("name","Report");
    pageContext.getPageLayoutBean().addIndexedChild(outRegion);
    This successfully displays the report in the XDO Common region. But now the issue is that there are hyperlinks in the Report displayed where from where the user can navigate to other detail pages.
    When we click on these links, a new session starts in the xdo common region.
    Is it possible that when the user click the links in the report displayed, instead of starting a new session in the xdo region, the detail pages is displayed with in the older session.
    Regards
    Sandeep

    Hi all,
    In our product code we are trying to display the PDF Reports, using the xdo common region.
    Previously we were writing the pdf reports direclty onto the response direclty.
    This displays the report onto the browser but if navigate throw browser back button, it doesn't displays the report as the response stream is empty while navigating through back button.
    So to solve this issue, i tried to write the report using the OAHTMLWebBean and xdo common region. Here is the code:
    ByteArrayOutputStream xdoOutput = new ByteArrayOutputStream();
    XDOUtility.retrieveReport(xdoOutput,
    parameters,
    prop,
    appMod
    BlobDomain bxdoOutput = new BlobDomain();
    bxdoOutput.setBytes(xdoOutput.toByteArray());
    String redirectURL = DocumentHelper.getOutputURL(pageContext,
    bxdoOutput,
    "Report",
    "PDF");
    OAHTMLWebBean outRegion = (OAHTMLWebBean)createWebBean (pageContext, OAWebBeanConstants.HTML_WEB_BEAN, null, "IFRAME");
    outRegion.setHTMLAttributeValue("src", redirectURL);
    outRegion.setHTMLAttributeValue("width", "100%");
    outRegion.setHTMLAttributeValue("height", "100%");
    outRegion.setHTMLAttributeValue("title","Report");
    outRegion.setHTMLAttributeValue("name","Report");
    pageContext.getPageLayoutBean().addIndexedChild(outRegion);
    This successfully displays the report in the XDO Common region. But now the issue is that there are hyperlinks in the Report displayed where from where the user can navigate to other detail pages.
    When we click on these links, a new session starts in the xdo common region.
    Is it possible that when the user click the links in the report displayed, instead of starting a new session in the xdo region, the detail pages is displayed with in the older session.
    Regards
    Sandeep

  • How to display a PDF document in popup window

    Hi,
    I have a requirement where i need to display a PDF document to be obtained from a virtual repository and then display it on a popup window.
    Thanks
    DS
    PS: any code snippet or link explaining the above will be helpful

    Use should the ShowProperty servlet in a link or javascript, e.g.:
    <a href="/mywebapp/ShowProperty/path/to/pdf/node
    target="someOtherWindow">pdf</a>
    pdf
    Or, with dyamic node retrieveal (from search or contentSelector,
    assuming node is the pdf Node):
    <a href="/mywebapp/ShowProperty<cm:getProperty node='<%=node%>'
       name='cm_path' conversionType='url'/>
    target="someOtherWindow">pdf</a>
    <a href="javascript:window.open(
       '/mywebapp/ShowProperty<cm:getProperty node=<%=node%">"
    name="cm_path" conversionType="url"/>',
    'SomeOtherWindow',
    'height=400,width=400,scrollbars=auto,resizeable=yes');return false;">
    pdf</a>
    Greg
    Sanjay Datta wrote:
    Hi,
    I have a requirement where i need to display a PDF document to be obtained from a virtual repository and then display it on a popup window.
    Thanks
    DS
    PS: any code snippet or link explaining the above will be helpful

  • Error when displaying a pdf file in an iFrame

    Hi,
    I would like to display a pdf file in my Java Web Dynpro application. I am using an iFrame element.
    The code I used is:
    // test if the file exists
    if( path != null)
         path = "D:\\Echanges\\Facture\\" + path + ".pdf";
    if (isFile(path)) // test if the file exist
         wdContext.currentContextElement().setPath(path); // we set the path of the file for the iFrame url
    else
         wdContext.currentContextElement().setPath("D:\\Echanges\\errorDocAccess.htm"); // here we set the path of an error file to display in the iFrame
    In the context, path is declared as a String variable and mapped to an iFrame. What happen when I lauch the program is the followig error:
    com.sap.tc.webdynpro.services.exceptions.InvalidUrlRuntimeException: Invalid URL=D:/Echanges/errorDocAccess.htm
    I have checked the path of the error file and it is valid. How do I get to display my file ? The path is on the same server as the portal.
    Thanks a lot for your help.
    Thibault Schalck

    Not solved

  • Unable to display a PDF image on the page - Mac 10.6

    Hi,
    Running an iMac with 10.6.8 and Indesign 5.0.4. Just wanting to export a PDF as per usual via File > Export function. However, I keep getting the error message, "Unable to display a PDF image on the page'. No idea what this is and have never seen this error before. The only info on the internet reveals error code 0x2511(9489).
    I've deleted prefs, closed down and re-opened Indesign and even restarted the computer. I've also re-linked the images contained in the document and even created a new document and set it up the same, but still the same problem. Investigating further, other Indesign documents still export properly.
    The only ones that don't export are 2 documents, both giving this same error message. Both documents are ones where a client has sent a PDF, I've imported into two of these into an 2-page A4 Indesign document (each PDF is 48MB each) and then just added a text layer (using Times) which is properly installed on the computer. I basically have to 'update' course dates for the client and add PDF to the website, all very basic.
    I've tried importing a jpeg and other PDFs into the file (replacing the existing ones) and they export fine.
    All my software is legal and I've exported this document before now in exactly the same File > Export without any problems (under 10.5 and 10.6).
    OK... I've just imported the offending PDFs into Acrobat, optimized and shrunk the file size, re-imported back to Indesign and the PDF export works fine. So it seems InDesign / PDF Export doesn't like large imported PDFs? I think they were originally exported from Publisher, so maybe that's the problem or a file conflict somehow.
    Any ideas on the culprit? I've googled it, searched these forums and Apple discussions and haven't found anything. Although I've found a workaround, I do get large files to import and then export. Thanks for any help
    Steve

    It does sound like a problem with the original PDF files the client sent you. You can check how they were made in Acrobat Pro from the Additional MetaData button on the Description tab of the document properties dialog. It will be under Advanced at the bottom of the list when the metadata opens.
    You might be able to salvage them by running the optimzer and not changing the size, or just doing a Save As in Acrobat.

  • Using IFRAME in JSF to display a PDF file

    2 all,
    How do i display a PDF file inside a JSF page in a IFRAME tag?
    I store the PDF file location (like d:\images\pdf1.pdf) in my database. I cant give this location directly into the src attribute cos then the file will be rendered to only users who have access to that folder (the application is a internet application). IFRAME would be ideal as the display is very very neat (esp for pdf files).
    To get this working i tried the examples given in balusc blogs (on image servlet) but the problem is that my servlet is not getting called. Find below the web.xml and imageDisplay.jsp pages that i tried
    web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <display-name>WorkFlowTool</display-name>
    <context-param>
      <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
      <param-value>server</param-value>
    </context-param>
    <filter>
      <filter-name>MyFacesExtensionsFilter</filter-name>
      <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
      <init-param>
       <param-name>maxFileSize</param-name>
       <param-value>20m</param-value>
      </init-param>
    </filter>
    <filter>
      <display-name>SecurityCheckFilter</display-name>
      <filter-name>SecurityCheckFilter</filter-name>
      <filter-class>filters.SecurityCheckFilter</filter-class>
    </filter>
    <filter-mapping>
      <filter-name>MyFacesExtensionsFilter</filter-name>
      <url-pattern>/faces/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
      <filter-name>MyFacesExtensionsFilter</filter-name>
      <url-pattern>*.faces</url-pattern>
    </filter-mapping>
    <filter-mapping>
      <filter-name>MyFacesExtensionsFilter</filter-name>
      <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
    <filter-mapping>
      <filter-name>SecurityCheckFilter</filter-name>
      <url-pattern>/faces/*</url-pattern>
    </filter-mapping>
    <listener>
      <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
    </listener>
    <servlet>
      <servlet-name>Faces Servlet</servlet-name>
      <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
      <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
      <servlet-name>Image Servlet</servlet-name>
      <servlet-class>servlets.ImageServlet</servlet-class>
      <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
      <servlet-name>Image Servlet</servlet-name>
      <url-pattern>/imageServlet/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
      <servlet-name>Faces Servlet</servlet-name>
      <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
      <servlet-name>Faces Servlet</servlet-name>
      <url-pattern>*.faces</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
      <servlet-name>Faces Servlet</servlet-name>
      <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
    <session-config>
      <session-timeout>60</session-timeout>
    </session-config>
    <welcome-file-list>
      <welcome-file>/jsp/index.jsp</welcome-file>
    </welcome-file-list>
    <error-page>
      <error-code>500</error-code>
      <location>/jsp/error.jsp</location>
    </error-page>
    <resource-ref>
      <res-ref-name>jdbc/JDDS</res-ref-name>
      <res-type>java.lang.Object</res-type>
      <res-auth>Container</res-auth>
      <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    </web-app>
    imageDisplay.jsp
    <HTML>
    <HEAD>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>
    <f:loadBundle basename="messages" var="msg" />
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <LINK rel="stylesheet" type="text/css" href="../theme/Styles.css"
         title="Style">
    </HEAD>
    <body topmargin="0" leftmargin="0">
    <f:view>
         <h:form id="CaseLookUp">
              <h:dataTable value="#{pc_ImageDisplay.dataModel}" var="var">
                   <h:column id="one">
                        <f:facet name="header">
                             <h:outputText value="H1" id="HOne"/>
                        </f:facet>
                        <h:outputText value="#{var.caseID}" id="IDONE"/>
                   </h:column>
                   <h:column id="two">
                        <f:facet name="header">
                             <h:outputText value="H2" id="HTwo"/>
                        </f:facet>
                        <h:graphicImage value="imageServlet?file=#{var.PODocPath}" id="image"/>
                   </h:column>
              </h:dataTable>
         </h:form>
    </f:view>
    </body>
    </HTML>The image servlet is what i got from balusc's site (http://balusc.blogspot.com/2007/04/imageservlet.html).
    I dont know why my servlet is not getting called. Can someone help me with this pls?
    okay let me post the modified code for my image servlet here
    public class ImageServlet extends HttpServlet {
         private static final long serialVersionUID = 1L;
         public void doGet(HttpServletRequest request, HttpServletResponse response) {
            // Define base path somehow. You can define it as init-param of the servlet.
    //        String imageFilePath = "/images";
            // In a Windows environment with the Applicationserver running on the
            // c: volume, the above path is exactly the same as "c:\images".
            // In UNIX, it is just straightforward "/images".
            // If you have stored images in the WebContent of a WAR, for example in the
            // "/WEB-INF/images" folder, then you can retrieve the absolute path by:
            // String imageFilePath = getServletContext().getRealPath("/WEB-INF/images");
            // Get file name from request.
            String imageFileName = request.getParameter("file");
            System.out.println("Inside the image servlet ---->>>> " + imageFileName);
            // Check if file name is supplied to the request.
    //        if (imageFileName != null) {
    //            // Strip "../" and "..\" (avoid directory sniffing by hackers!).
    //            imageFileName = imageFileName.replaceAll("\\.+(\\\\|/)", "");
    //        } else {
    //            // Do your thing if the file name is not supplied to the request.
    //            // Throw an exception, or show default/warning image, or just ignore it.
    //            return;
            // Prepare file object.
            File imageFile = new File(imageFileName);
            // Check if file actually exists in filesystem.
            if (!imageFile.exists()) {
                // Do your thing if the file appears to be non-existing.
                // Throw an exception, or show default/warning image, or just ignore it.
                return;
            // Get content type by filename.
            String contentType = URLConnection.guessContentTypeFromName(imageFileName);
            // Check if file is actually an image (avoid download of other files by hackers!).
            // For all content types, see: http://www.w3schools.com/media/media_mimeref.asp
            if (contentType == null || !contentType.startsWith("image")) {
                // Do your thing if the file appears not being a real image.
                // Throw an exception, or show default/warning image, or just ignore it.
                return;
            // Prepare streams.
            BufferedInputStream input = null;
            BufferedOutputStream output = null;
            try {
                // Open image file.
                input = new BufferedInputStream(new FileInputStream(imageFile));
                int contentLength = input.available();
                // Init servlet response.
                response.reset();
                response.setContentLength(contentLength);
                response.setContentType(contentType);
                response.setHeader(
                    "Content-disposition", "inline; filename=\"" + imageFileName + "\"");
                output = new BufferedOutputStream(response.getOutputStream());
                // Write file contents to response.
                while (contentLength-- > 0) {
                    output.write(input.read());
                // Finalize task.
                output.flush();
            } catch (IOException e) {
                // Something went wrong?
                e.printStackTrace();
            } finally {
                // Gently close streams.
                if (input != null) {
                    try {
                        input.close();
                    } catch (IOException e) {
                        e.printStackTrace();
                        // This is a serious error. Do more than just printing a trace.
                if (output != null) {
                    try {
                        output.close();
                    } catch (IOException e) {
                        e.printStackTrace();
                        // This is a serious error. Do more than just printing a trace.
        }

    Thanks Balusc!!
    I have made use of your code to display PDF files in an IFRAME tag too!!! I just dint believe that this would be possible. Please just take a look at my JSP page.
    <h:form id="CaseLookUp">
         <%
         String path = request.getContextPath()+"";
         out.print(path);
         %>
    <iframe scrolling="auto" src="<%=path%>/imageServlet?file=D:\70-229 V5.pdf" width="80%" height="600" ></iframe>
         </h:form>

  • Edit error message as displayed when browsers fail to display dynamic pdfs

    I'm sure many people here are aware of the problems that arise when many browsers attempt to open a dynamic writable pdf. The built in plugin that ships with most browsers is unable to display the content, and as a result the following message is shown.
    "If this message is not eventually replaced by the proper contents of the document, your PDF viewer may not be able to display this type of document. You can upgrade to the latest version of Adobe Reader for Windows®, Mac, or Linux® by visiting http://www.adobe.com/go/reader_download.
    For more assistance with Adobe Reader visit http://www.adobe.com/go/acrreader."
    (I trimmed a bit because the message is quite long)
    My question is, is there some way to modify the message above by editing the pdf using a program like Adobe Livecycle or Acrobat Pro? The message that displays is basically useless, because the problem is actually due to the browser's inability to display the pdf. If it is possible to replace this message with something more meaningful, such as instructions on downloading the form with right click, that would be fantastic for the users.
    Does anyone know where this information is stored? It doesn't seem to be browser specific (as the browsers I've tested seem to display the same message).

    I got the error messages to work from properties file and some helper class, but not through just defining in faces-config or web.xml.
    I am sure there is a better way to do but hopefully this will help you.
    FacesContext context = FacesContext.getCurrentInstance();
    In my validation method - I have the following code, which will associate
    the appropriate message
    String failureMsg = ErrorMessages.getString("SignUpData.NO_USER_NAME");
    FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_ERROR,          failureMsg, failureMsg);
    context.addMessage("login_form:username", message);     
    My properties file - errormessage.properties - have the following info
    SignUpData.NO_USER_NAME =Please Enter User Name
    SignUpData.NO_PASSWORD =Please Enter Password
    Helper class - ErrorMessages.java
    import java.util.MissingResourceException;
    import java.util.ResourceBundle;
    public class ErrorMessages {
    private static final String BUNDLE_NAME = "com.path1.path2.resources.error_messages";
    private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME);
    private ErrorMessages() {
    public static String getString(String key) {
    try {
    return RESOURCE_BUNDLE.getString(key);
    } catch (MissingResourceException e) {               return '!' + key + '!';
    I am also looking for a way to avoid all this extra helper classes if there is a better alternative.
    thanks
    ponni

  • I get the following error everytime I download something from the internet:-"/Users/vinaypunjabi/Downloads/Ontario Colleges Chart(2)(1).pdf could not be opened, because an unknown error occurred.  Try saving to disk first and then opening the file".

    I get the following error everytime I download something from the internet:-"/Users/vinaypunjabi/Downloads/Ontario Colleges Chart(2)(1).pdf could not be opened, because an unknown error occurred.  Try saving to disk first and then opening the file".
    Then it shows as downloading failed.But if I click on it twice ,it opens up .
    this has started happening since last week.Before this ,it never happened.
    Please suggest what has gone wrong somewhere and how can I rectify it.

    Please install the following add-on to see if it helps.
    https://addons.mozilla.org/en-US/firefox/addon/pdfjs/

  • How to display a pdf document in an ADF Task Flow?

    I have a requirement where I need to display a pdf doc in RHS task flow, upon a linked clicked on LHS task flow. Passing the pdf doc name is what I know already. All I need to know is, how to display the pdf doc in a task flow.
    Remember, I don't want to display this as a "POP-UP".
    Appreciate help on this!
    Edited by: Yousuf Baig on Mar 9, 2013 9:01 PM

    try like this...
    <af:panelSplitter id="ps1" orientation="horizontal"
    <f:facet name="first">
    <f:facet name="second">
    <af:panelHeader
    <af:region....(have a fragment and use fileDownloadActionListener)
    </af:panelHeader>
    </f:facet>
    </af:panelSplitter>

  • Using the transaction launcher to call a BOR method to display a PDF

    Hello gurus,
    I have created a PDF icon and an onclick action to open a pdf, that displays on every row of an assignment block in the actions column, but I do not know the technical process to determine how to get a PDF from the IXOS system from the line selected. (even if I know it depends on an ID attribute of that assignment block) I want to to call a transaction launcher with the url for the pdf in the IXOS that has an ID that identifies which line in the assignment block the user has clicked the pdf icon for (does that make sense?)
    In CRM 4, in the collection factsheet assignment block, the link was coded into an XSLT which is then displayed in the GUI and you would have a clickable link for a pdf file in a row in a table. That link would be as follows:
             <xsl:variable name="ev_key">SAPEVENT:?OBJTYPE=<xsl:value-of select="attributes/OBJTYPE"/>&amp;OBJKEY=<xsl:value-of select="@KEY"/>&amp;LOGSYS=<xsl:value-of select="attributes/LOGSYS"/></xsl:variable>
                 <a href="{$ev_key}"></a>
    This will get the file in IXOS and display it, in CRM 4. In CRM 7, the link is an icon in every line of an assignment block.
    Here are some questions I have now for the functional side in the meantime:
    1) Can we fetch the PDF in IXOS for each line of an assignment block and have it open? If so, how? Transaction launcher, function modules (like ARCHIVOBJECT_DISPLAY) in the OPTA package? (the package for all IXOS related function modules..)
    2) Which URL should I call with the transaction launcher? a URL link to the PDF on the IXOS system?? or sapevent:xxx?
    3) Do we have to configure a transaction in the IMG to be launched with the attributes listed there? Do we have to link it to any classes/ objects?
    4) Do we have to have the code to the logical link dynamically to call the right PDF for each table line? Is it right to put this code in my event handler?? Usually transaction launchers are just in the nav bar.....
    5) Are there any existing examples of this or a similar functionality/ logic that I could refer to, preferably in CRM 7 WebUI?
    6) Do you have any code to just display a PDF in a new window? Or prompt a download?
    One possible way I thought of would be for me to have a logical link defined in the IMG for the transaction launcher, and have the attributes defined for my BOR object that I would call, and pass it different attributes (eg. objtype, objkey, logsys...) and then return the PDF and display it in the UI in a new browser window by itself. (There is a BOR method for my BOR object named  'display_pdf'!!!!)
    What do you think would be the optimal solution here? Does my theory of calling a BOR object with a transaction launcher to display a PDF make ANY sense whatsoever???
    Please do not hesitate to propose any potential solution. Any partial answers/ links to wikis/ other threads, anything would be much appreciated.
    Thank you in advance.
    Best regards,
    Jonathan Laplante
    Edited by: Jonathan Laplante on Jul 2, 2011 4:50 AM

    Hi Any help on this....I am still awaiting the response.
    Requirement: My requirement is to launch the SE38 transaction on WEBUI using transaction luncher tool and set the parameter on the selection screen.
    Issue: The issue is that I am able to lunch the transaction but unable to set the parameter
    Steps Performed:
    I want to list down all the steps I performed to launch an SE38 transaction using transaction launcher on the WEBUI
    1) Defined logical system in tcode CRMS_IC_CROSS_SYS
    -The logical link looks like this
    http://<server>:<port>/sap/bc/gui/sap/its/webgui/!?transaction=IC_LTXE&okcode=ICEXECUTE ?sap-client=300
    2) Defined URL & paratemeter wherein the request method is "GET", opted for NON-BSP URL
    URL link here is
    http://<server>:<port>/sap/bc/gui/sap/its/webgui/!?transaction=SE38&okcode=ONLI
    -Note: My selection screen okcode os ONLI*
    -The logical system ref is provided here
    3) Defined the parameter by giving the screen name like for SE38 selection screen name is "RS38M-PROGRAMM"
    4) Configured the transaction launcher of type B - URL type and provided the reference of the URL ID, choose the relevant parameter from the drop down and have hardcoded the value, cheked the box "Save Data in Activity Clipboard
    5) Added this in the NAvlink/Bus Role etc
    6) Now in the handler class of the TL the code looks like this:
    IF_CRM_IC_ACTION_HANDLER~PREPARE_DATA_FLOW
    __gdc ?=
    cl_crm_ui_data_context_srv=>get_instance( gv_view_controller ).
    __value
    =
    'ZC_TEST'.
    add_parameter(
       iv_name =
    'RS38M-PROGRAMM'
    iv_value = __value ).
    However, after performing the above steps I am unable to set the parameter. Please suggest where am I missing out on. An early response would really be appreciated.

  • How do you Display a PDF stored as a BLOB in Apex?

    We are trying to use Apex for the first time here in our shop. The project we have selected has PDFs stored on the database as BLOBS that we currently are able to display with our forms application. We want to do this using apex, and have them appear on one of the pages in the application. I want the PDF to display on the page, when the page itself is invoked, without the need to click on a download link on the page itself.
    I've seen certain examples displaying images etc, but I haven't found one that specifically refers to the display of a PDF database BLOB on a page (I assuming a report page) within Apex.
    Also, since I've just set up the Apex environment utilizing Oracle HTTP Server in the middle tier, do I need Oracle's BI Publisher in order to display the PDFs in Apex?
    Thanks in advance. Any advice or links would be much appreciated.
    Phil

    Thanks for the quick response, and you are correct. I've seen examples that include a link to specifically display the PDF, but I don't want them to be able to directly go to the PDF outside the context of the page itself. These are letters of recommendation that we store on our DB, and this application, for our med school admissions screeners, will be looking at up to three letters of recommendation for each applicant to which they have been assigned. We want them to click on an applicant, and then through a series of tabs view data on that applicant, some of which will be his/her letters of recommendation.
    Phil

Maybe you are looking for

  • Remote app and ATV (shortcut to STANDBY)

    It would be nice if the Remote app had a direct "STANDBY" button you could hit no matter where you are in the menu structure and your ATV will enter into standby mode. Unfortunately there's not. So you have to turn on your TV, step through the menus

  • FM execution through xi

    Hi Everbody, Am using the FM "BAPI_DOCUMENT_CHECKIN2" to checkin the file in to DMS system. Backend Systen ERP is configured with DMS system , When FM of above is executed from backendsystem file gets attached. But Scenario gets different when i use

  • Essbase - MaxL import dimensions

    Hi everybody, I have to update a dimension on my Essbase ASO application (only metadata). It is an incremental load dimension starting from a txt file containing all the elements, either those that currently are in the dimension. I'm using the MaxL s

  • Right aligned buttons in panelFormLayout footer

    ADF 11g Hello I do you get right aligned buttons in the footer of a panelFormLayout ? Regards Paul

  • TS4006 Stolen iPhone disappeared from my iCloud Account a day later.

    My iPhone5 was stolen, it displayed as "offline" in Find My iPhone and I activated lost mode and selected a message to display. The next day when I checked it did not display in the device list at all - only my macbook air displays. How did my iPhone