Jquery mobile - how to create multiple CSS files?

I've been researching this heavily, and can't seem to find anyone discuss this. I'm a CS4 user, and understand 5.5 now includes builtin support for jquery mobile. I've watched the videos on how you set the sizes for phone, tablet, desktop, point each to the appropriate CSS file. Great, wonderful.
However, nobody is discussing how you get the three separate CSS files!  I want to add a mobile version of an existing site. I have just the one .css file. How do I make the other 2 .css files? Do I duplicate the desktop file, and start somehow altering each item? Is there some type of automatic system to tweak the main .css file?
Seems like this step is critical. Any insights?

I built this page with CSS Media Queries.  If you resize viewport to less than 480px, it changes layouts.
http://alt-web.com/TEMPLATES/CSS-centered-round-boxes.shtml
I made the Desktop.css first.
http://alt-web.com/Styles/Desktop.css
Then I removed the Desktop.css link from my HTML document and replaced it with the iphone.css link. 
http://alt-web.com/Styles/iphone.css
After fine tuning the iphone layout, I re-attached the desktop.css link and added the following code to the head of my document.
<meta name="viewport" content="user-scalable=no, width=device-width" />
<link href="../Styles/Desktop.css" rel="stylesheet" type="text/css" media="only screen and (min-width:481px)" />
<link rel="stylesheet" type="text/css" href="../Styles/iphone.css" media="only screen and (min-width: 0px) and (max-width: 480px)"/>
<!--pre-IE9 browsers don't support CSS3 so we give them the desktop layout-->
&lt;!--[if lt IE9]>
&lt;link rel="stylesheet" type="text/css" href="../Styles/Desktop.css" media="screen" />
<![endif]-->
Do you have to literally go in and manually change the wraps, floats, whatever for everything?
Yes.  If you examine the comments in my iphone.css code, you'll see I changed some things to display:none, float:none, etc...
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media  Specialists 
http://alt-web.com/
http://twitter.com/altweb

Similar Messages

  • How to create multiple output files using TrAX?

    I am new in this field. I'm trying to create multiple xml output files using TrAX. I have to parse a xml source file and output it to multiple xml files. My problem is that it only creates one output file and puts all the parsed data there. When i use saxon and run xsl and xml files, it works fine and creates multiple files...it has something to do with my java code...Any help is greatly appreciated.
    Here's my XSL file
    <?xml version="1.0"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.1"
    <xsl:template match="data_order">
    <data_order>
         <xsl:copy-of select="contact_address"/>
         <xsl:copy-of select="shipping_address"/>
         <xsl:apply-templates select="ds"/>
    </data_order>
    </xsl:template>
    <xsl:template match="ds">
    <xsl:variable name="file" select="concat('order', position(),'.xml')"/>
    <order number="{position()}" href="{$file}"/>
    <xsl:document href="{$file}">
    <xsl:copy-of select="."/>     
    </xsl:document>
    </xsl:template>
    </xsl:stylesheet>
    xml source file
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE operation SYSTEM 'data_order.dtd'>
    <data_order job_id='00-00-000' origin='PM-ESIP'>
         <contact_address>
              <first_name>ssssss</first_name>
              <last_name>sssss></last_name>
              <phone>2323232</phone>
              <email>dfdfdsaf</email>
         </contact_address>
         <ds ds_short_name ='mif13tbs'>
              <output>
                   <media_format>neither</media_format>
                   <media_type>FTP</media_type>
                   <output_format>GIF</output_format>
              </output>
         </ds>
              <ds ds_short_name ='mif15tbs'>
              <output>
                   <media_format>neither</media_format>
                   <media_type>FTP</media_type>
                   <output_format>GIF</output_format>
              </output>
         </ds>
    </data_order>
    My java file
    import javax.xml.transform.*;
    import javax.xml.transform.stream.*;
    import java.io.*;
    public class FileTransform {
    public static void main(String[] args)
    throws Exception {
    File source = new File(args[0]);
    File style = new File(args[1]);
    File out = new File(args[2]);
    TransformerFactory factory = TransformerFactory.newInstance();
    Transformer t = factory.newTransformer(new StreamSource(style));
    t.transform(new StreamSource(source), new StreamResult(out));

    Saxon has specific extensions. In this case it is <xsl:document>. That looks like a standard XSLT element, but it actually isn't. The history behind it is this: There was a proposal to create a new version of XSLT, called XSLT 1.1. One of the new features of this version was to be this xsl:document element. The author of the Saxon product, Michael Kay, is one of the people on the W3C committee directing the evolution of XSLT, so he upgraded his product to implement XSLT 1.1. But then the committee decided to drop XSLT 1.1 as a recommendation. So that left Saxon in the strange position of implementing a non-existent extension to XSLT.
    The other outcome of this process was that XSLT (1.0) does not have a way of producing more than one output file from an input file. And so the short answer to your question is "Trax can't do that." However, XSLT 2.0 will be able to do that, although it is not yet a formal W3C recommendation, and when it does become one it will take a while before there are good implementations of it. (I predict that Saxon will be the first good implementation.)
    One of the problems with XML and XSLT is that what you knew a year ago is probably obsolete now, because of all the evolution going on. So being new in the field is not a disadvantage, unless you get stung by reading obsolete tutorials or magazine articles.

  • How to create multiple pdf files from multiple batch processing

    I have several file folders of jpeg images that I need to convert to separate multi-page pdf files. To give a visual explanation:
    Folder 1 (contains 100 jpeg image files) converted to File 1 pdf (100 pages; 1 file)
    Folder 2 (contains 100 jpeg image files) converted to File 2 pdf (100 pages; 1 file)
    and so on.
    I know I can convert each folder's content as a batch process, but I can only figure out how to do so one folder at a time. Is it at all possible to convert multiple folders (containing jpegs) to multiple pdf files? Put differently, does anyone know how to process a batch of folders into multiple (corresponding) pdf files?
    Many thanks.

    There are two approaches to do this:
    - First convert all JPG files to PDF files using a "blank" batch process. Then combine all PDF files in the same folder using another batch process and a folder-level script (to do the actual combining). I have developed this tool in the past and it's available here:
    http://try67.blogspot.com/2010/10/acrobat-batch-combine-all-files-in.html
    - The othe option is to do everything in a single process, but that requires an application outside of Acrobat, which I'm currently developing.
    If you're interested in any of these tools, feel free to contact me personally.

  • How to create multiple PDF files.

    Hi,
    I have two tables, one with the customer address and another one with a note. May I know how to create a separate PDF file (for each customer) that should start with the customer name/address (from customer table) and followed by a note (from the note table)
    Thanks in advance

    Hi,
    I am stuck at the first step of designing report with jasper ireport designer... my test data is currently on apex.oracle.com and my real data is hosted on the intranet, there are quite a few options available to link to the table source before designing the report but I am not sure which one to use to connect to APEX.oracle.com (or to my intranet.. interestingly there is no option for ODBC connection, usually that's the one I use to upload files to oracle)...
    can you please suggest how to link to the table...?
    alternatively, I downloaded the data and saved it in the csv format and used that as the source to create a sample report which is shown below (is there a way to manually convert it to sql based)...? here is the report
    <?xml version="1.0" encoding="UTF-8"?>
    <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="report9" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="62e163c3-8f34-451a-800b-5f4285e2e194">
         <property name="ireport.zoom" value="1.0"/>
         <property name="ireport.x" value="0"/>
         <property name="ireport.y" value="0"/>
         <field name="MONTH" class="java.lang.String"/>
         <field name="CUSTOMER" class="java.lang.String"/>
         <field name="PRODUCT" class="java.lang.String"/>
         <field name="Revenue" class="java.lang.String"/>
         <background>
              <band splitType="Stretch"/>
         </background>
         <title>
              <band height="79" splitType="Stretch"/>
         </title>
         <pageHeader>
              <band height="35" splitType="Stretch"/>
         </pageHeader>
         <columnHeader>
              <band height="61" splitType="Stretch">
                   <staticText>
                        <reportElement uuid="e7032731-30c5-4d15-b6e0-bccaeb8de3b0" x="0" y="0" width="138" height="20"/>
                        <textElement/>
                        <text><![CDATA[MONTH]]></text>
                   </staticText>
                   <staticText>
                        <reportElement uuid="0a3a1aef-e967-42c4-81bd-1fc0688afffa" x="138" y="0" width="138" height="20"/>
                        <textElement/>
                        <text><![CDATA[CUSTOMER]]></text>
                   </staticText>
                   <staticText>
                        <reportElement uuid="35720a70-999c-4b17-966d-7a6ff104ccd2" x="276" y="0" width="138" height="20"/>
                        <textElement/>
                        <text><![CDATA[PRODUCT]]></text>
                   </staticText>
                   <staticText>
                        <reportElement uuid="bbec6818-cdb0-4745-927c-6f3e40209fb2" x="414" y="0" width="138" height="20"/>
                        <textElement/>
                        <text><![CDATA[Revenue]]></text>
                   </staticText>
              </band>
         </columnHeader>
         <detail>
              <band height="125" splitType="Stretch">
                   <textField>
                        <reportElement uuid="a6554549-7721-4a4f-94f0-3169139bfdb6" x="0" y="0" width="138" height="20"/>
                        <textElement/>
                        <textFieldExpression><![CDATA[$F{MONTH}]]></textFieldExpression>
                   </textField>
                   <textField>
                        <reportElement uuid="c2943016-5a5f-42e8-8612-5b8dafc23eea" x="138" y="0" width="138" height="20"/>
                        <textElement/>
                        <textFieldExpression><![CDATA[$F{CUSTOMER}]]></textFieldExpression>
                   </textField>
                   <textField>
                        <reportElement uuid="3d97fdd0-5923-469a-862f-be485b6416ac" x="276" y="0" width="138" height="20"/>
                        <textElement/>
                        <textFieldExpression><![CDATA[$F{PRODUCT}]]></textFieldExpression>
                   </textField>
                   <textField>
                        <reportElement uuid="724e9536-667b-4db1-96b8-81e2f5554ea2" x="414" y="0" width="138" height="20"/>
                        <textElement/>
                        <textFieldExpression><![CDATA[$F{Revenue}]]></textFieldExpression>
                   </textField>
              </band>
         </detail>
         <columnFooter>
              <band height="45" splitType="Stretch"/>
         </columnFooter>
         <pageFooter>
              <band height="54" splitType="Stretch"/>
         </pageFooter>
         <summary>
              <band height="42" splitType="Stretch"/>
         </summary>
    </jasperReport>

  • How to create multiple pdf Files out of multiple pages documents??

    I wrote multiple pages documents and stored them in a directory. That is nice, but now I want to transfer them all into pdf files.
    Is there a way to do this or do I have to open them one by one an select "Print" and so on??

    Pages 5 has virtually no AppleScript support so it would be difficult to even make an Automator workflow to do what you want.
    So yes you will have to make a pdf of each one. Be warned that Pages 5 stuffs up links after the first pages of pdfs.
    Apple has removed almost 100 features from Pages 5 and added many bugs.
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Pages '09 should still be in your Applications/iWork folder if you had it previously.
    Archive/trash Pages 5, after Exporting your files to Pages '09, and rate/review it in the App Store, then get back to work.
    Peter

  • How to create a pdf file from multiple images ?

    Dear All,
    I want to create a SINGLE page pdf file from two or more page size images that are combined to make a single page pdf. Again, this question is on pdfs that are made out of several, atleast  two color images and a black-and-white mask for one of them.
    I have such pdf files from an unknown source (the producer is edited out) whereby there are three tiff images, obtained using the well known pdfimages extractor.
    When I want to make a pdf out of tiff or png or other image formats, I right click and tell Adobe Acrobat to make a pdf.
    However, I dont know how I can give a command to select say,  three tif images and specify which is the mask for which and then join  them in a way that I get the pdf from the composite of the two color images and a mask for one of them.
    Please help me out.
    I am a little familiar with the pdf structure skeleton and when necessary, fixed xref tables in one of my favorite editors. A few years ago, I also wrote a bunch of javascripts to make some annotations and needed some automation and used some itext type libraries. However, I need your help in this problem as I am now rusty and forgot some of what I studied to solve my earlier problems. This is a new problem for me. Gentle hints from you would be very nice to help me in this problem. Please specify if necessary what manual and pages to read. in the pdfspec.
    Best Regards
    Disabled Veteran [physically handicapped]

    Hello Again.
    On Fri, May 11, 2012 at 12:20 PM, lrosenth <[email protected]> wrote:
    >
    > Re: How to create a pdf file from multiple images ?
    >
    > created by lrosenth in PDF Language and Specifications - View the full
    > discussion
    > ________________________________
    >
    > No clue who Irving is…
    >
    I was hoping to have your first name so its easy for me to address you.
    > I have no clue what OS platform, programming language, etc. you use so
    > can’t really narrow things down.
    I would gladly mention that I am working on windows platform, preferably XP.
    I can also work on linux for free products that come with it.
    >  Also, as this is an Adobe forum, we only
    > recommend Adobe products – so there may be other options that even my list
    > wouldn’t include.
    But adding other products, for the help of an adobe products user,
    even if it outside adobe, shall add greater prestige to your company
    and give impression of user-centeredness.
    > If you read ISO 32000-1:2008 (aka the PDF standard), you will find the
    > information about Images and Image Masks well described.  I didn’t think I
    > needed to repeat any of that information.
    Well, just add the few pdf stanzas since you are proficient on it and
    I am presently a little rusty as I mentioned. Just asking a little
    extra yard, not even to go an extra mile.
    > And, if you read that same document, you will see that there is NO SUCH
    > THING as a “text only PDF”.   All PDF documents are structured binary files.
    Well, ascii format or uncompressed format that is human readable. I
    know its a binary file, but human readable ascii version of it.
    I hope you can give me some stanza and various other approaches
    possible so I can select or combine things for myself. I see only a
    miniscule number of posts claiming to have written masks in this forum
    and then with no details.
    Regards
    Roger
    Message was edited by: dying veteran
    because the adobe posting system went crazy and truncated all except the first line ... dunno why

  • How to create multiple pages in the output file?

    hi, we have an application (C++) that generates PDF output. I've been asked to figure out how to create multiple copies of each page (uncollated). i.e. the output would be 4 copies of p 1 followed by 4 copies of p 2, etc. I'd like to do this without actually replicating each page if possible ... any ideas?

    Why not just put four copies of the same CosObj reference into the Pages array/tree?

  • How to create different log files for each of web applications deployed in OC4J

    Hi All,
    I am using OC4J(from Oracle) v1.0.2.2 and Windows2000. Now I want to know
    1. how to create different log files for each of my deployed web applications ?
    2. what are the advantages in running multiple instances of oc4j and in what case we should run
    multiple instances of OC4J ?
    3. how to run OC4J as Windows2000 Service rather than Windows2000 Application ?
    Thanks and Regards,
    Kumar.

    Hi Avi,
    First of all I have given a first reading to log4j and I think there will some more easy way of logging debugging messages than log4j (If you could provide me a detailed explanation of a servlet,jsp,java bean that uses log4j and how to use log4j then it will be very helpful for me). The other easy ways (if I am not using log4j) to my problem i.e creating different log files for each of web applications deployed in oc4j are
    I have created multiple instances of OC4J that are configured to run on different ports and so on each instance I have deployed a single web application . And I started the 2 oc4j instances by transferring thier error/log messages to a file. And the other way is ..
    I have download from jakarta site a package called servhelper . This servhelper is a thread that is started in a startup servlet and stopped in the destroy method of that startup servlet. So this thread will automatically capture all the system.out.println's and will print those to a file. I believe that this thread program is synchronized. So in this method I need not run multiple instances of OC4J instead each deployed web application on single instance of oc4j uses the same thread program (ofcourse a copy of thread program is put in each of the deployed web applications directories) to log messages on to different log files.
    Can you comment on my above 2 approached to logging debugging messages and a compartive explanation to LOG4J and how to use LOG4J using a simple servlet, simple jsp is appreciated ...
    Thanks and Regards,
    Ravi.

  • How To Use a css File To Watermark A Report

    Hello.
    I am using Apex 4.0.1 and have a need to place a watermark (that is, a background image) over a report, both a "classic" type and Interactive Report.
    I have two questions about this.
    1) I've searched this Forum and found several good questions/responses about this subject. What I think is the most maintainable solution is to create a .css file and reference this file within the Template section of a copy of, say, the "Reports Region" template used by my application theme. And so, I made a copy of the "Reports Region" template and called it "Watermark Reports Region". I then created a very simple .css file called "bgimg.css" defined as:
    #REGION_STATIC_ID# {
    background-image: url(#WORKSPACE_IMAGES#menu_bug.png) !important;
    background-repeat: repeat !important;
    background-attachment: fixed !important;
    Note: For those that may not know, the "!important" clause is, in fact, a css defined clause used to tell the browser that it should give the associated option the highest precedence. This prevents my desired css option from being overridden by another css file. Frankly, I myself did not know this until after I saw it being used in several of the responses on this Forum and then read up about it.
    I uploaded this css file via the Apex "Shared Components -> Cascading Style Sheets" option. I also made sure that menu_bug.png is, in fact, among my workspace images.
    I also made sure that my "Watermark Reports Region" template contains the substitution variable "REGION_STATIC_ID" and that my actual report region has a value in the Region Static Id field.
    Within my "Watermark Reports Region" template, I tried to reference my .css file. This is where I think my problem is.
    I placed
    <link rel="stylesheet" type="text/css" href="#WORKSPACE_IMAGES#bgimg.css" />
    at the very top of the Template section in my "Watermark Reports Region" template.
    I then assigned my template to my Apex report. When I run my report, I see nothing.
    So, how does one reference this css file within the template?
    =================================================
    2) I tried using my css tags as an internal style by placing it within the "HTML Header" section of my application page. I used:
    <style type="text/css">
    #empreport {
    background-image: url(#WORKSPACE_IMAGES#menu_bug.png) !important;
    background-repeat: repeat !important;
    background-attachment: fixed !important;
    </style>
    I assigned a div tag to my report region header and footer that looks like:
    In Header: <div id="empreport">
    In Footer: </div>
    When I run the report, I do get the image. But it is surrounding the report. It looks like my report is "floating" in a sea of bug images.
    So, how can I get these images to actually appear within the report itself. In other words, I want the report itself to be "transparent" so as to allow these images to be seen within the report body itself.
    Thank you all for any help/advice/code example.
    Elie

    Elie
    Thanks for taking the time to post sufficient information to understand the problem. In future if you're going to such efforts you might want to use them to reproduce the problem on apex.oracle.com, which means you can share actual working (or more likely not working!) code. Please also always wrap code posted on the forum in tags<tt>\...\</tt> tags to preserve formatting and special characters.
    >
    I placed
    <link rel="stylesheet" type="text/css" href="#WORKSPACE_IMAGES#bgimg.css" />
    at the very top of the Template section in my "Watermark Reports Region" template.
    >
    According to the relevant HTML 4.01 and XHTML 1.x standards, <tt>style</tt> and <tt>link rel="stylesheet"</tt> elements should only appear within the <tt>head</tt> element of a document.
    This changes in HTML5. The new <tt>scoped</tt> attribute allows <tt>style</tt> to be used in a prescribed way elsewhere in the document, with the effect that the styling rules specified are only to be applied to the other descendant elements of that <tt>style</tt> element's parent (in the way you're trying to do here). I'd expect <tt>link</tt> with a <tt>rel="stylesheet"</tt> to remain restricted to <tt>head</tt> content in HTML5: off the top of my head I can't see a use case for referencing external stylesheets in a non-metadata context.
    That said, current browsers apply CSS regardless of where in the document it appears, and future HTML5-compliant ones will continue to continue to do so for backwards compatibility. For myself, when using XHTML 1.0 I'll continue to follow the only put <tt>style</tt> and <tt>link</tt> elements in the page <tt>head</tt>. When I get round to using HTML5 for real I'll follow the standards for that as well.
    I strongly recommend that you follow the standards and only put <tt>link rel="stylesheet"</tt> elements in the page <tt>head</tt>.
    >
    Note: For those that may not know, the "!important" clause is, in fact, a css defined clause used to tell the browser that it should give the associated option the highest precedence. This prevents my desired css option from being overridden by another css file. Frankly, I myself did not know this until after I saw it being used in several of the responses on this Forum and then read up about it.
    >
    Use <tt>!important</tt> only where it's actually needed. It's over-represented in this forum because Oracle changed the order of style sheet inclusion in APEX 4.0 and made it more difficult to override theme styles using CSS in the page HTML Header without modifying page templates.
    Try your styles initially without using <tt>!important</tt>, and also consider using the cascade to provide any necessary overrides by including your CSS after other style sheets.
    >
    I then created a very simple .css file called "bgimg.css" defined as:
    #REGION_STATIC_ID# {
    background-image: url(#WORKSPACE_IMAGES#menu_bug.png) !important;
    background-repeat: repeat !important;
    background-attachment: fixed !important;
    I then assigned my template to my Apex report. When I run my report, I see nothing.
    >
    Because <tt>#WORKSPACE_IMAGES#</tt> is not substituted in external CSS files: +{thread:id=986329}+
    If possible it's much better to locate image, CSS and JavaScript files externally on the file system. Otherwise you'll have to use the workaround suggested in that thread and include a <tt>style</tt> element in the page templates to specify the background image.
    When I run the report, I do get the image. But it is surrounding the report. It looks like my report is "floating" in a sea of bug images.Reports are descendants of their region containers and may be subject to additional built-in or theme styles that overrides that specified for the region. Your CSS selector has to specify the report element, not the entire region.
    So, how can I get these images to actually appear within the report itself. In other words, I want the report itself to be "transparent" so as to allow these images to be seen within the report body itself.I'd use a <tt>class</tt> attribute in the region template: this removes the need to use the <tt>#REGION_STATIC_ID#</tt> selector, and allows the CSS to go in the page <tt>head</tt> where it belongs. Add <tt>watermark-report-region</tt> in addition to any existing <tt>class</tt> values in the region template:
    <div class="borderless-region watermark-report-region" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>
      <div class="bl-body">#BODY#</div>
    </div>You may have to inspect the page source (use a web inspector like that found in Safari, or the Firefox+Firebug combo) to figure out what has to be overridden in the theme/templates you're using. This worked for an Interactive Report using theme 17:
    .watermark-report-region .apexir_WORKSHEET_DATA {
      background: #fff url(/i/menu/blank_app_32.gif);
    .watermark-report-region .apexir_WORKSHEET_DATA tr.even td,
    .watermark-report-region .apexir_WORKSHEET_DATA tr.odd td {
      background-color: transparent;
    }For a standard report you'll need to identify the selector required for the actual report element (equivalent to the <tt>apexir_WORKSHEET_DATA</tt> table) using the web inspector or from the report template. It would be a good idea to create standard report template(s) incorporating a <tt>watermark-report</tt> class on the report table to provide a simple selector for such reports.

  • How to create a smallest file size pdf from indesign CS4 document

    How to create a smallest file size pdf (suitable for upload to a website) from indesign CS4 document which contains multiple illustrator CS4 illustrations.
    I have chosen the "smallest file size option" but the pdf file is over 30MB, can anyone help please.
    Thank you

    One trick is to
    Set the placed graphics to have a transparency of 99.9% (you can do this with Find/Change and select Objects)
    This is enough to force the graphics throught the Transparency Flattener
    Next set the Transparency Blend Space to RGB (Edit>Transparency Blend Space)
    Next set a custom Transparency Flattner Preset Edit>Transparency Flattner
    Next
    Use File>Export and choose
    Smallest file size
    PDF Compatibility Acrobat 4 (PDF 1.3)
    In Advanced Section - go to transparency and selec the new Flattener Preset you created.
    *this will convert your vectors to raster, but it should reduce your file size

  • Export to PDF - Can a single report (rpt file) create multiple PDF files using the export command?

    Post Author: markeyjd2
    CA Forum: Exporting
    Greetings forum members,
    My question is, in its entirety: Can a single report (rpt file) create multiple PDF files using the export command, ideally one PDF file per DB record?
    In my case; I have a Crystal Report that reads data from a DB table containing ~ 500 records.  When I export the report to a PDF file, I get one PDF file, with ~ 500 pages.
    What I would like to do is export the report to ~ 500 individual PDF files; One file per DB record.  The file names would be based on the table's primary key.
    Is this possible?

    Post Author: Micha
    CA Forum: Exporting
    Hi,
    you need some lines of code, but its easy. Dependend on how to start the generation of your 500 PDFs, you can write an ASP page and start it via Web Browser, or a Windows Script and start it via scheduled job...
    Here's an abstract of the ASP code I use:
    First, you create a recordset (here: "rsc") which gives you the list of ID fields you want to export, then you create CrystalRuntime.Application object, then you loop through the recordset, open your report (here: "oRpt") and set login info. Then set the selectionformula, so that the report displays only the data of the current ID, e.g.:
      oRpt.RecordSelectionFormula = "(" & oRpt.RecordSelectionFormula & ") AND {myTab.myVal}=" & rsc("myVal")
    Then you export the report, move to the next record in recordset, and repeat the loop until recordset.EOF. Then you close recordset and connection.
    Micha

  • How to create multiple segments on the target structure of an IDOC

    Hi All
       I am working on the Shipment Confirmation Interface( Message Type SHPCON ) which is FILE to IDOC Scenario. I have a segment called E1EDL18 which occurs only once on the target side of the idoc. Now I have to created multiple E1EDl18 segments for the Qualifiers ORI, PGI and PCK. I treid to send a constant ORI,PGI,PCK and then used an user defined function which splits the constant at COMMA and then I am assigning to the target field QUALF. In the display queue for QUALF I see three values with context but still only one E1EDL!* segment is created. Please let me know how to create multiple E1EDl18 segments for three qualifiers.
    Thanks
    Naga

    In message Mapping, just right click on the segment and click on duplicate subtree. now it will create you another segment with same name and fields in it..
    you can hard code the Qual, or you can map the required source field into it.

  • Create a css file and use it

    Hi
    i use jdev 11.1.1.7
    I have several items on the page . for example panelFormLayout .
    i want declare several property (background-color ,...) and assing it to all of panelFormLayout .
    so whenever i change color of background ,  background color of ALL panelFormLayout change easily .
    (I created a css file and declared my property in it but i cant use it !!! )
    NOW i hope to create a CSS file or(any thing you suggest) for this reason and use it .
    How can i do this ?
    Thanks alot

    You can also download the stand-alone Skin Editor to help you create the skins and style you want.
    A bit more on the topic here:
    https://blogs.oracle.com/shay/entry/styling_specific_adf_components_with

  • How to create multiple ifs users using XML

    I used the following xml file to create a ifs user. But I don't know how to create multiple users using XML. Thanks for your help.
    <SimpleUser>
    <UserName>bill</UserName>
    <Password>bill</Password>
    <DirectoryUserDescription>Bill</DirectoryUserDescription>
    </SimpleUser>

    There are many good resources for Powershell tutorials. The MS help page for each cmdlet is usually a good place to start.
    The suggested answer is very good and easy to modify to your needs. The linked article provides good detail on creating your csv file. If you look at their sample csv, you will see the column for LicenseAgreement and UsageLocation. You can change the script
    to use the values from the csv instead of the same value for every user like so:
    -LicenseAssignment $_.LicenseAgreement -UsageLocation $_UsageLocation
    Basically, $_.<valuename> is the filled in by the value under the heading <valuename> in your csv file for the current user. 
    As for what msdivision, replace this with the correct domain name value for your organization. You can get the values for license SKUs from existing users by using the following:
    Connect-MsolService
    Get-MsolUser -UserPrincipalName <userprincipalname> |select Licenses

  • How to Create Multiple Distribution Groups

    How to Create Multiple Distribution Groups using power shell?
    i have created new csv file with below format
    Name,Type
    Test01,Distribution
    test02,Distribution
    Executed below command and it's prompting for each and every account to enter the sam account name.
    [PS] C:\Windows\system32>Import-CSV "c:\dl\users.csv" | foreach {new-distributiongroup -name $_.name type $_.Type}
    cmdlet New-DistributionGroup at command pipeline position 1
    Supply values for the following parameters:
    SamAccountName:
    is there any other way to create bulk DL groups?
    Aucsna

    Please check this here is a similar thread.
    http://social.technet.microsoft.com/Forums/exchange/en-US/0f86bb8a-63a2-44e5-921f-4a227221e71d/creating-distribution-groups
    Thanks, MAS
    Please mark as helpful if you find my comment helpful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you.

Maybe you are looking for

  • Signal strength fluctuation

    Hi all, We are installing a WLC-4402 with 1252 APs connected; they have been working ok; but we have a problem with a Lenovo x61's wireless laptop card; the signal strength of this client fluctuate (up and down) each few seconds (sometimes it gets di

  • Does turning off email delivery also turn off text delivery?

    I just got an 8330 when my work switched to Sprint. I am on vacation for the next two weeks and would like to turn off my work email delivery. It comes through a Microsoft Exchange server. I also have two AOL personal accounts on the phone. If I sele

  • User exit PCATP001 - Does it works for new GL?

    Dear all, If classic profit center accounting is not actived and New GL is being used, does user exit PCATP001 can still be used to determination of transfer prices? thanks, Ramses Marques

  • On click of lov new jsp page which has only text area for adding comment

    hi all , please help me to do this task. on click of lov new jsp page should be opend which has only text area for adding comment and upon clicking submit on the jsp page the value entered on the textarea should fall on the text field of lov. with re

  • Video and sound are out of sync

    The picture and sound my Apple TV are out of sync by several seconds. THese are on items that have been copied to Apple TV as opposed to streaming from iTunes. Anyone have experience with this? What's the solution? Thanks.