Xslt graph in a rtf template. Can an external variable be used inside the graph definition?

I'm working with BI Publisher 10g, building an rtf template that would display a table and a graph by iterating on one of the xml tags from the input file.
I got the table working using am xslt variable set when the xml tag associated value changes (DATAGROUPID).
<?for-each:(/DATA/SITE/SITE_DATA)?> <?sort:DATAGROUPID;'ascending';data-type='number'?>
<?xdoxslt:set_variable($_XDOCTX,'SITE',DATAGROUPID)?>
<?for-each:(/DATA//DIMS/LOCALES[LOCALE = 'en']/TEXT)?><?sort:DIMNAME;'ascending';data-type='text'?>
<?xdoxslt:set_variable($_XDOCTX,'DIMID',DIMID)?>
<?round(/DATA/SITE/SITE_DATA[DATAGROUPID = xdoxslt:get_variable($_XDOCTX,'SITE')]/YEAR[SURVEYYEAR = 2012]/DIM[DIMID = xdoxslt:get_variable($_XDOCTX,'DIMID')]/ITEM[ITEMID = 0]/PFAV)?>
<?end for-each?>
chart:
<Graph seriesEffect="SE_AUTO_GRADIENT" graphType="BAR_VERT_PERCENT" autoLayout="AL_AS_NEEDED">
<LegendArea visible="true" automaticPlacement="AP_NEVER" position="LAP_BOTTOM"/>
<SeriesItems>
<Series id="0" color="#FF0000"/>
<Series id="1" color="#FFFF00"/>
<Series id="2" color="#00FF00"/>
</SeriesItems>
<MarkerText visible="true" markerTextPlace="MTP_CENTER">
<GraphFont name="Arial" size="20" bold="true" italic="false" underline="false"/>
<Y1ViewFormat>
<ViewFormat decimalDigit="0" decimalSeparatorUsed="true" decimalDigitUsed="true"/>
</Y1ViewFormat>
</MarkerText>
<LegendText>
<GraphFont name="Arial" size="20" bold="false" italic="false" underline="false"/>
</LegendText>
<Y1TickLabel>
<GraphFont name="Arial" size="12" bold="false" italic="false" underline="false"/>
</Y1TickLabel>
<O1TickLabel wordWrapEnabled="false" tickLabelStaggered="false">
<GraphFont name="Arial" size="20" bold="true" italic="false" underline="false"/>
</O1TickLabel>
<LocalGridData colCount="{count(xdoxslt:group(/DATA/SITE/SITE_DATA/YEAR[SURVEYYEAR = 2012]/DIM, 'DIMID'))}" rowCount="3">
<RowLabels>
<Label>Unfavorable        </Label>
<Label>Neutral</Label>
<Label>Favorable</Label>
</RowLabels>
<ColLabels>
<xsl:for-each select="/DATA/DIMS/LOCALES[LOCALE = 'en']/TEXT">
<xsl:sort select="DIMNAME"/>
<Label>
<xsl:value-of select="DIMNAME"/>
</Label>
</xsl:for-each>
</ColLabels>
<DataValues>
<RowData>
<xsl:for-each select="/DATA/DIMS/LOCALES[LOCALE = 'en']/TEXT">
<xsl:sort select="DIMNAME"/>
<Cell>
<xsl:variable name="DIMID" select="DIMID"/>
<xsl:value-of select="/DATA/SITE/SITE_DATA/YEAR[SURVEYYEAR = 2012]/DIM[DIMID = $DIMID]/ITEM[ITEMID = 0 and PUNFAV != 0]/PUNFAV"/>
</Cell>
</xsl:for-each>
</RowData>
<RowData>
<xsl:for-each select="/DATA/DIMS/LOCALES[LOCALE = 'en']/TEXT">
<xsl:sort select="DIMNAME"/>
<Cell>
<xsl:variable name="DIMID" select="DIMID"/>
<xsl:value-of select="/DATA/SITE/SITE_DATA/YEAR[SURVEYYEAR = 2012]/DIM[DIMID = $DIMID]/ITEM[ITEMID = 0 and PNEU != 0]/PNEU"/>
</Cell>
</xsl:for-each>
</RowData>
<RowData>
<xsl:for-each select="/DATA/DIMS/LOCALES[LOCALE = 'en']/TEXT">
<xsl:sort select="DIMNAME"/>
<Cell>
<xsl:variable name="DIMID" select="DIMID"/>
<xsl:value-of select="/DATA/SITE/SITE_DATA/YEAR[SURVEYYEAR = 2012]/DIM[DIMID = $DIMID]/ITEM[ITEMID = 0 and PFAV !=0]/PFAV"/>
</Cell>
</xsl:for-each>
</RowData>
</DataValues>
</LocalGridData>
</Graph>
<?end for-each?>
So, on the table this line gets the correct variable from the input file:
<?round(/DATA/SITE/SITE_DATA[DATAGROUPID = xdoxslt:get_variable($_XDOCTX,'SITE')]/YEAR[SURVEYYEAR = 2012]/DIM[DIMID = xdoxslt:get_variable($_XDOCTX,'DIMID')]/ITEM[ITEMID = 0]/PFAV)?>
How can I replicate that logic inside the table definition?
<xsl:value-of select="/DATA/SITE/SITE_DATA/YEAR[SURVEYYEAR = 2012]/DIM[DIMID = $DIMID]/ITEM[ITEMID = 0 and PFAV !=0]/PFAV"/>
Input data looks like this:
<DATA>
- <SITE>
- <SITE_DATA> 
<DATAGROUPID>1032817</DATAGROUPID>  
<DATAGROUPNAME>My Sales</DATAGROUPNAME>  
- <YEAR> 
<SURVEYYEAR>2012</SURVEYYEAR>  
- <DIM> 
<DIMID>1</DIMID>  
- <ITEM> 
<ITEMID>0</ITEMID>  
<PFAV>88</PFAV>  
<PNEU>13</PNEU>  
<PUNFAV>0</PUNFAV>
- <ITEM> 
<ITEMID>40</ITEMID>  
<PFAV>100</PFAV>  
<PNEU>0</PNEU>  
<PUNFAV>0</PUNFAV>  
</ITEM>
</DIM>
</YEAR>
</SITE_DATA>
- <SITE_DATA> 
<DATAGROUPID>1032816</DATAGROUPID>  
<DATAGROUPNAME>Your Sales</DATAGROUPNAME>  
- <YEAR> 
<SURVEYYEAR>2012</SURVEYYEAR>  
- <DIM> 
<DIMID>1</DIMID>  
- <ITEM> 
<ITEMID>0</ITEMID>  
<PFAV>71</PFAV>  
<PNEU>25</PNEU>  
<PUNFAV>4</PUNFAV>  
I can include a complete sample on request, I thought this would be enough to illustrate the issue.
I'll appreciate any help you can provide.

I kept researching, I found some possible solution in this blog:
https://blogs.oracle.com/xmlpublisher/category/Oracle/Templates/RTF
so, I created a local SITE variable inside every cell to get the external SITE info:
<Cell>
<xsl:variable name="DIMID" select="DIMID"/>
<xsl:variable name="SITE" select="{xdoxslt:get_variable($_XDOCTX,'SITE')}"/>
<xsl:value-of select="/DATA/SITE/SITE_DATA[DATAGROUPID = $SITE]/YEAR[SURVEYYEAR = 2012]/DIM[DIMID = $DIMID]/ITEM[ITEMID = 0 and PUNFAV != 0]/PFAV"/>
</Cell>
but I get this error at run time:
oracle.xdo.parser.v2.XPathException: Error in expression: '{xdoxslt:get_variable($_XDOCTX,'SITE')}'.
    at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
    at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
    ... 14 more
What am I doing wrong?

Similar Messages

  • Can a single quote be used at the beginning of a query string parameter

    Hi all,
    I am a relative newbie and have a newbie question.
    Can a single quote be used at the beginning of a query string parameter passed to a jsp page? Are there any inherant problems with this? Is there a comprehensive list of characters that must be escaped in a query string parameter?
    Example: http://mysite.com/myjsp.jsp?param1='nghdh
    Thanks

    You'll have to escape most non-letter characters before you can pass them as a URL. I don't know if it's necessary for a single quote, but better safe than sorry.
    Either use java.net.URLEncoder(...) or use javax.servlet.http.HttpServletResponse.encodeURL(String). I wouldn't recommend using unescaped characters in your URLs, that might cause pretty funny behavior that's sometimes hard to trace back. Don't worry about decoding it, your JSP/Servlet container will do it when you call javax.servlet.http.HttpServletRequest.getParameter(String).

  • HT204387 Can a wireless mouse be used with the new IPAD?

    Can a wireless mouse be uses with the new iPad?

    While it is true that mice or other pointing device like track pads are not supported on the iPad since there is no real pointer, I use a stylus pen. I know it would probably tip over the iPad if you are standing it up, but it's the closest I've seen. I use the Wacom Bamboo stylus and a Zagg keyboard and the case for the iPad and keyboard. I use the stylus a lot on the Paper app to take notes in meetings and such. Not really a solution but if you are trying to move an insertion point in a document, it does work.

  • Can off JVM heap Memory used in the Near-Cache front-tier

    I had tried to config a near-Cache used nio-manager(off JVM heap) in the Front-tier.
    <near-scheme>
          <scheme-name>CohApp-near</scheme-name>
          <front-scheme>
            <external-scheme>
            </external-scheme>
          </front-scheme>
          <back-scheme>
            <distributed-scheme>
              <scheme-ref>CohApp-distributed</scheme-ref>
            </distributed-scheme>
          </back-scheme>
          <invalidation-strategy>auto</invalidation-strategy>
          <autostart>true</autostart>
        </near-scheme>
    when start 'com.tangosol.net.DefaultCacheServer' for this config, error as:
    Oracle Coherence Version 3.7.1.0 Build 27797
    Enterprise Edition: Development mode
    Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
    2014-03-30 16:34:17.518/1.201 Oracle Coherence EE 3.7.1.0 <Error> (thread=main,
    member=n/a): Error org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invali
    d content was found starting with element 'external-scheme'. One of '{"http://xm
    lns.oracle.com/coherence/coherence-cache-config":local-scheme, "http://xmlns.ora
    cle.com/coherence/coherence-cache-config":class-scheme}' is expected. - line 92
    Exception in thread "main" (Wrapped: Failed to load the factory) (Wrapped: Missi
    ng or inaccessible constructor "com.tangosol.net.DefaultConfigurableCacheFactory
    (String)"
    <configurable-cache-factory-config>
      <class-name>com.tangosol.net.DefaultConfigurableCacheFactory</class-name>
      <init-params>
        <init-param>
          <param-type>java.lang.String</param-type>
          <param-value>coherence-cache-config.xml</param-value>
        </init-param>
      </init-params>
    </configurable-cache-factory-config>) java.lang.reflect.InvocationTargetExceptio
    n
            at com.tangosol.util.Base.ensureRuntimeException(Base.java:288)
            at com.tangosol.net.ScopedCacheFactoryBuilder.getDefaultFactory(ScopedCa
    cheFactoryBuilder.java:311)
            at com.tangosol.net.DefaultCacheFactoryBuilder.getSingletonFactory(Defau
    ltCacheFactoryBuilder.java:48)
            at com.tangosol.net.DefaultCacheFactoryBuilder.getFactory(DefaultCacheFa
    ctoryBuilder.java:121)
            at com.tangosol.net.ScopedCacheFactoryBuilder.getConfigurableCacheFactor
    y(ScopedCacheFactoryBuilder.java:112)
            at com.tangosol.net.CacheFactory.getConfigurableCacheFactory(CacheFactor
    y.java:126)
            at com.tangosol.net.DefaultCacheServer.getDefaultConfigurableCacheFactor
    y(DefaultCacheServer.java:364)
            at com.tangosol.net.DefaultCacheServer.main(DefaultCacheServer.java:197)
    Caused by: (Wrapped: Missing or inaccessible constructor "com.tangosol.net.Defau
    ltConfigurableCacheFactory(String)"
    <configurable-cache-factory-config>
      <class-name>com.tangosol.net.DefaultConfigurableCacheFactory</class-name>
      <init-params>
        <init-param>
          <param-type>java.lang.String</param-type>
          <param-value>coherence-cache-config.xml</param-value>
        </init-param>
      </init-params>
    </configurable-cache-factory-config>) java.lang.reflect.InvocationTargetExceptio
    n
            at com.tangosol.util.Base.ensureRuntimeException(Base.java:288)
            at com.tangosol.run.xml.XmlHelper.createInstance(XmlHelper.java:2652)
            at com.tangosol.run.xml.XmlHelper.createInstance(XmlHelper.java:2536)
            at com.tangosol.net.ScopedCacheFactoryBuilder.getDefaultFactory(ScopedCa
    cheFactoryBuilder.java:273)
            ... 6 more
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
            at com.tangosol.util.ClassHelper.newInstance(ClassHelper.java:694)
            at com.tangosol.run.xml.XmlHelper.createInstance(XmlHelper.java:2611)
            ... 8 more
    Caused by: (Wrapped: Failed to load cache configuration: coherence-cache-config.
    xml) (Wrapped) java.io.IOException: Exception occurred during schema validation:
    cvc-complex-type.2.4.a: Invalid content was found starting with element 'externa
    l-scheme'. One of '{"http://xmlns.oracle.com/coherence/coherence-cache-config":l
    ocal-scheme, "http://xmlns.oracle.com/coherence/coherence-cache-config":class-sc
    heme}' is expected.
            at com.tangosol.util.Base.ensureRuntimeException(Base.java:288)
            at com.tangosol.run.xml.XmlHelper.loadResourceInternal(XmlHelper.java:34
    1)
            at com.tangosol.run.xml.XmlHelper.loadFileOrResource(XmlHelper.java:283)
            at com.tangosol.net.DefaultConfigurableCacheFactory.loadConfig(DefaultCo
    nfigurableCacheFactory.java:439)
            at com.tangosol.net.DefaultConfigurableCacheFactory.loadConfig(DefaultCo
    nfigurableCacheFactory.java:425)
            at com.tangosol.net.DefaultConfigurableCacheFactory.<init>(DefaultConfig
    urableCacheFactory.java:155)
            ... 14 more
    Caused by: (Wrapped) java.io.IOException: Exception occurred during schema valid
    ation:
    cvc-complex-type.2.4.a: Invalid content was found starting with element 'externa
    l-scheme'. One of '{"http://xmlns.oracle.com/coherence/coherence-cache-config":l
    ocal-scheme, "http://xmlns.oracle.com/coherence/coherence-cache-config":class-sc
    heme}' is expected.
            at com.tangosol.run.xml.XmlHelper.loadXml(XmlHelper.java:122)
            at com.tangosol.run.xml.XmlHelper.loadXml(XmlHelper.java:157)
            at com.tangosol.run.xml.XmlHelper.loadResourceInternal(XmlHelper.java:32
    2)
            ... 18 more
    Caused by: java.io.IOException: Exception occurred during schema validation:
    cvc-complex-type.2.4.a: Invalid content was found starting with element 'externa
    l-scheme'. One of '{"http://xmlns.oracle.com/coherence/coherence-cache-config":l
    ocal-scheme, "http://xmlns.oracle.com/coherence/coherence-cache-config":class-sc
    heme}' is expected.
            at com.tangosol.run.xml.SimpleParser.parseXml(SimpleParser.java:212)
            at com.tangosol.run.xml.SimpleParser.parseXml(SimpleParser.java:93)
            at com.tangosol.run.xml.SimpleParser.parseXml(SimpleParser.java:162)
            at com.tangosol.run.xml.SimpleParser.parseXml(SimpleParser.java:115)
            at com.tangosol.run.xml.XmlHelper.loadXml(XmlHelper.java:118)
            ... 20 more
    Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid conten
    t was found starting with element 'external-scheme'. One of '{"http://xmlns.orac
    le.com/coherence/coherence-cache-config":local-scheme, "http://xmlns.oracle.com/
    coherence/coherence-cache-config":class-scheme}' is expected.
            at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAX
    ParseException(ErrorHandlerWrapper.java:195)
            at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Err
    orHandlerWrapper.java:131)
            at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(
    XMLErrorReporter.java:384)
            at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(
    XMLErrorReporter.java:318)
            at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErro
    rReporter.reportError(XMLSchemaValidator.java:417)
            at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportS
    chemaError(XMLSchemaValidator.java:3182)
            at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleS
    tartElement(XMLSchemaValidator.java:1806)
            at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startEl
    ement(XMLSchemaValidator.java:705)
            at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scan
    StartElement(XMLNSDocumentScannerImpl.java:400)
            at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
    l$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2756)
            at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(X
    MLDocumentScannerImpl.java:648)
            at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
    (XMLNSDocumentScannerImpl.java:140)
            at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
    l.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
            at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
    ML11Configuration.java:808)
            at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
    ML11Configuration.java:737)
            at com.sun.org.apache.xerces.internal.jaxp.validation.StreamValidatorHel
    per.validate(StreamValidatorHelper.java:144)
            at com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl.vali
    date(ValidatorImpl.java:111)
            at javax.xml.validation.Validator.validate(Validator.java:127)
            at com.tangosol.run.xml.SaxParser.validateXsd(SaxParser.java:236)
            at com.tangosol.run.xml.SimpleParser.parseXml(SimpleParser.java:206)
    So I think that if can off JVM heap Memory used in the Near-Cache front-tier?
    Or can help how to config the  off JVM heap Memory used in the Near-Cache front-tier.
    Thanks.

    Only local-scheme and class-scheme can be used in the front-scheme of a near cache. 

  • Can all ipod apps be used on the ipad?

    Can all ipod apps be used on the ipad?

    Any apps in the app store that are 'universal', as in works on both large and small screens have a + by the download button.
    Many Touch apps (also iPhone apps) do work on the iPad, but they're tiny, taking up the middle of the screen. You can make them fit the screen, but their appearance varies. Some are high enough resolution that they look okay, others are blurry.

  • Can an extension cord be used in the operation of an iPad?

    Can an extension cord be used in the operation of an iPad?

    VIP folder?
    it's where you can put mail from people that you want to get sooner or in a singular place instead of mixed in with everything else.
    If you get a lot of mail, it may be useful, if not, then just something you can ignore.

  • Can we set a variable used inside the template from the java code.

    Hi everybody,
    I am uploading template,sub template and data xml fle to generate the preview using XDO API's. My main template is calling a sub template so it needs to import the sub template in the main template.since i am uploading my files on a particular server,my subtemplates has been put on different path as specified in the main template.
    so i need to change the subtemplate path dynamically at run time.
    is there any way i can pass this information to my main template at run time.
    one solution could be,my rtf template has a variable 'i' inside it,which is setting the file path to include my subtemplate like this :
    <?xdoxslt:set_variable($_XDOCTX, i ,"import:file:///c:/Temp/htmlmarkup.xsl")?>
    <?xdoxslt:get_variable($_XDOCTX, i )?>
    now is there any way i can set this variable at run time from my external java code.?
    Thanks,
    Anuradha

    Thanks for the response.
    but i still am looking for the solution.
    if both my template and subtemplate are in the same directory then atleast
    <?import:file:../htmlmarkup.xsl?> should work.
    but its not working...i m getting following error:
    FOProcessor setData: C:\subtemplates\projects.xml
    FOProcessor setLocale: en-us
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:514)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:192)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:156)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:916)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:869)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:204)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1535)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:925)
         at RTF2PDF.runRTFto(RTF2PDF.java:590)
         at RTF2PDF.runXDO(RTF2PDF.java:443)
         at RTF2PDF.main(RTF2PDF.java:237)
    Caused by: java.io.FileNotFoundException: C:\Documents and Settings\fusion\htmlmarkup.xsl (The system cannot find the file specified)
         at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:782)
         at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:564)
         ... 15 more
    please suggest me what to do..

  • How can i create a filechooser button inside the plugin window?

    Hi
    i'd like to create a filechooser button to load/save but inside the plugin window. Is it possible ? if yes how can i do that ?
    and i need the algorithm to be Mac/Windows compatible if possible
    thanks a lot
    *best regards*
    Jeff

    If by the "plugin window" you mean the dialog an automation or a filter plugin from the SDK sample code opens for you, you have to write platform-specific code using either Cocoa on Mac or regular WinAPI on Windows (e.g. by hooking GetOpenFileName()/GetSaveFileName() functions to a button you will add to the resource file or create dynamically). Take a look at any plugin that has a GUI (e.g. the Dissolve plugin) and you'll see that the GUI code is entirely platform-specific as there is no platform-independed GUI framework bundled with Photoshop anymore.
    Another option is to use some third-party cross-platform library such as Qt, but if you just need a couple of buttons and file selection dialogs it's probably not worth the trouble,.

  • Why can't I make Lightroom use all the CPU-Power (all cores) available for generating Previews?

    Dear Lightroom Team,
    I've been a Lightroom user since the very first Beta, and I am truly happy with the work you deliver. It changed my way of editing forever, and you guys keep improving it.
    Yet there is that one question that bothers me, and that i'm looking for an answer for.
    My Workflow has the generate Previews checkbox checked by standard. I usually import between 150 and 2000 photos at once, on occaions it can be up to 5000 photos. Generating Previews always takes a significant amount of time, and Lightroom is only using 25% of my CPU Power while doing so. (using a MacBook Pro 8,2)
    I understand the concept, that only using 25% CPU enables me to use the computer while waiting for the Previews. But most of the time I just grab myself a cup of coffee, do the dishes or other stuff, while waiting for the Previews. Usually I rund out of things to do, because it takes ages to Process all the photos. So I would really love to make Lightroom use ALL the cpu power possible.
    I'm sure you guys have spent a lot of thoughts while coding this and have a very good answer handy. Looking forward reading it!
    all the best,
    Wolfgang

    Wolfgang Lienbacher wrote:
    I was actually hoping to get an official reply from adobe ...
    This is prmarily a user-to-user forum. The Adobe staff monitored site is here:
    http://feedback.photoshop.com/photoshop_family
    On my four-year old Windows 7 i7-860 system LR4.4.1 takes ~0.5 sec. per Canon 5D MKII 21Mp raw image to render 'Standard-Sized' previews with LR Catalog Settings 'Standard Preview Size' set to '2048' pixels. I consider that pretty fast!
    I usually build 1:1 full-size previews on import, which takes ~5.0 sec. per image. Processor utilization varies between 15-50% for Standard-Sized previews and 15-65% for 1:1 previews. I consider this pretty slow, but it doesn't stop me from working on the images inside LR's Library and Develop modules.
    I wait until 'Copy and import photos' has completed and can see Preview Building has started. LR doesn't slow-down much even with the 1:1 preview building going on in the background. Have you tried working in LR during the preview building (i.e. sorting,  rating, keywording, and Develop adjustments)?

  • I have a new western digital 1TB ultra. how do i format it? i can't create a new folder inside the external drive.

    I have a new WD My Passport Ultra external drive. Once connected to the Macbook Pro retina, I can't create a new folder in the external drive. What do I do to solve the problem?

    You should be able to format it for use with your computer using Disk Utility in the Utilities folder:
    http://osxdaily.com/2012/01/04/format-an-external-hard-drive-or-usb-flash-drive- for-mac-os-x/

  • Can a global variable be used in a text object ?

    Can a global variable ( defined in Form Properties ) be used as part of a text object ?
    I am creating a PDF document (using LiveCycle ES ) that can be used by multiple departments.
    In LiveCycle Designer, I created an XDP with multiple pages.
    The form includes a variable varDepartment that I set to the respective department
    I then cut individualized PDFs for each department ( not all pages apply to all departments ) & change the department variable.
    I would like to have the Title of each page to include the department e.g. Survey Finance department (Page: Main)
    There are 10+ pages, each different.
    Is this possible ?
    Thanks for your help
    Aubrey

    Thanksjnicholas330,
    I am trying to avoid writing any code. Just place it the text - Something like "Survery {varDepartment} department".
    Also, I cannot find a floating field object - I am using Adobe Pro 9 with the included LiveCycle Designer 8.2 ES
    Aubrey

  • Can an external gps be used with ipod touch

    I wonder if an external gps device can be used with the ipod touch.

    Yes. Here is one
    Universal Bluetooth GPS Receiver | GPS Navigation Units

  • Can I access my backup files inside the airport using finder?

    When I tried to open some files inside the airport extreme appear this message:
    The alias “Documents” can’t be opened because the original item can’t be found.
    Someone know how to open this file? I didnt lose any file, I just want to open using AirPort.
    Thanks

    It's recommended NOT to use your AirPort Extreme for backups Mainly because the Time Machine software was not deigned to work with the AirPort Extreme and the Extreme wasn't designed to work with Time Machine. That's why Apple has the Time Capsule, for wireless backups.
    Try connecting your hard drive directly to your computer.

  • Call-inline-template can anyone explain how to use this?

    It's undocumented. I've used call-template before, I'm don't know when and how to use call-inline-template. Any advice would be much appreciated.
    thanks,
    Ike Wiggins

    Use it as
    <?template@inlines:ORACLE?> (ORACLE VS MICROSOFT)<?end template?>
    Inline means , it will be placed in same line. and not after carriage returns

  • How can I tell what is using up the space on my hard drive?

    My computer has been messing up for a while, giving me the message "startup disc almost full". I only have 4 gb free space now, after throwing all my photos and music onto external drive. What is making my disc so full? All the rest of my files are text? How can I figure out what is taking up so much space? Thanks

    Moving iTunes music is more involved than a simple
    drag and drop affair; you would be making copies on
    some other media, but could be leaving duplicates or
    originals on the hard drive in the process. Same with
    images and iPhoto derived items. There are some
    Apple Support documents on how to manage these.
    The user folder has things in it you have installed;
    generally your saved items would be found in there.

Maybe you are looking for