Help with a VO hierarchy...

hi there... new to adf, but love it so far!
wondering if someone can help me out with a bit of a VO hierarchy problem...
i have a sql based VO which drives some detail views. the first set of views that it will drive consists of couple of master/child entity based VO's.
so, initially i got the sql based VO going. then i created and linked the master/child entity based VO's. one of the entity based VO's i've linked to the sql based VO. thus, in the data controls i now have a master/master/child situation. i've used these data controls on a page and provided the appropriate partial triggers etc..
now the master/master works fine but the child does not populate and throws the usual PropertyNotFoundException. the child's partial trigger points to its master... but should it point to the top level master? even though my link connects it to its immediate parent?
any help would be most appreciated or a link to implmenting more comples VO hierarchys...
thanks again.

Hi,
Can you provide the stack trace of the exception?
Sireesha

Similar Messages

  • Please help with Javascript obejcts hierarchy

    Hi!
    Is following Javascript obejcts hierarchy is right?
    1. App > 2. Doc > 3. Page >
    (from Page) > 3.1 Annotation3D
    (from Page) > 3.2 Field (link)
    thank u )

    You have to have Acrobat/Reader open to open a PDF and use some or all of the Acrobat JS features.
    When Acrobat/Reader is started various folders are accessed and files within those folders read and processed to create the application. This includes dictionaries, certain global variables, various functions provided by Adobe, and user defined functions or variables. The Adobe provided functions or user provided functions or variables are accessed by their assigned name. So if you created an application folder level function in a file called 'hello.js' containing the following code:
    function HelloWorld()
    app.alert('Hello World!');
    return;
    HelloWorld();
    Each time you open Acrobat an alert box with "Hello World!" will appear.  So even without any PDF open one can perform or have a task done. With application level scripts, you can add menu item, tool bar buttons, or modify menu items, etc. So when you open Acrobat you could have a menu item to create a new blank PDF or add the JS API Reference to the "Help" menu item. And if you selected "Help => JavaScript API', the JS API Reference file would open, whether there is an open PDF or not.
    PDF files are opened at the application level, as the application needs to interpret the code of the PDF file and provide the necessary resources for displaying, calculating, linking, etc for the open PDFs. If you open a PDF pragmatically, you need to provide an object name to that PDF. Especially if you are going to reference that file with JavaScript.
    Within an open PDF there are various actions. The first is the document level scripts that are used to establish the environment in which that PDF will function. This could include special functions to sum values, compute date differences, perform special key stroke and formatting. There can even be test to see if there are any necessary application level functions available for use the the document.
    Within PDF document you can can fields, links, comments, etc. And these items only exist in the PDF document and rely on the PDF document for performing the various task or communicating those task the the application.
    By the way with the "HelloWorld" function defined in the application JavaScirpt folder, and PDF opened on that computer can have a button with the 'mouse up' action JavaScript of "HelloWorld();" for the code and any time that button is pressed the alert box that appeared when Acrobat was started will appear. But if you take that PDF to another computer that does not have that file nothing will happen or an error box will appear.
    See Getting Started - Developing for PDF by Dave Wright and look around the Planet PDF site.
    You also need to realize that Acrobat JavaScript does not run synchronously, so you do not always have the individual scripts running in the same order or speed so it is possible a script will not always start and end before the next script in line is started or ends. And if you have dependencies between these scripts you need to test to see if they are all met.

  • New Mac user looking for help with Finder, Preview, Keyboard, & Dock

    So about a month ago I switched over from a lifelong Windows user to a brand new MacBook Pro, and while I am adjusting pretty well, there are still some things that I haven't quite figured out.
    First up on the list is Finder! I like my files to be arranged just like how they are in Windows Explorer--folders first alphabetically, then files alphabetically. I've managed to acquire this setting by messing around with the "clean up by" and "arrange by" functions but I don't really know the specific combination. Most of the time these preferences are saved and set as the defaults under "View Options" but every once in a while it resets and I have to tinker around with the settings all over again. Does anyone know of a way to fix this? It's only happened twice so far, but I'd rather not have it happen again. Also, occasionally when I delete an item, there is a blank space left where the icon was instead of all the files following it bumping up a space. Any quick fixes for this bug?
    Next up is Preview. Again, I like the Windows Way and I like to be able to browse between the files in a folder while using Preview/Windows Photo Viewer. I know that there is a way to browse between files if you select the whole folder and stick it in Preview, but is there a way to achieve the same result without having to do that? An app or "extension" of some sort that adds arrows in to browse between photos? I've had no luck finding anything other than the aforementioned option. Is there a good free alternative to Preview that will function similarly with the browse between photos option?
    One of my favorite things about my new Mac is the backlit keyboard function. My old laptop didn't have it and as someone who is online more often at night it is super helpful. But is there a way to turn it off during the day/in bright settings? A way to put it on a timer? In System Preferences I selected the option "Adjust keyboard brightness in low light", which I assumed to mean would have the keyboard NOT very bright when there IS light, but it continues to light up just the same. Any apps or extensions to help with this one?
    And finally, the dock! This question is more about aesthetics than functionality but help is appreciated all the same. Currently, my dock looks like this: http://i42.tinypic.com/35ktxlz.png It is rather opaque and the indicator lights can barely be seen. However, in a lot of tutorial videos I've been watching, many people have docks that look like this: http://i.i.cbsi.com/cnwk.1d/i/tim/2011/07/19/Lion_LaunchPad.png It is a darker shade of gray, the divider is dashed rather than a straight line, and the indicator lights are clearly visible. Does anybody know how to get this look for the dock? I've looked in the dock preferences but there's not really anything in there other than magnification/size/effects.
    That about sums things up! I'm sorry if any of these seem like "silly" questions but they are all things I have been unable to find answers for. Any and all tips, tricks, and help is appreciated! Thanks in advance for all your help!!

    congratulations on coming over from the dark side.
    Seems like you are interested in column view, which would show you the hierarchy of folders and files:  Column View in Mac OS X Mountain Lion - For Dummies Not sure what's going on if your finder settings don't stay put. May be a corrupted preferences file, which is easy to fix, but is perhaps a topic for another discussion.
    What I'd suggest is to have an open mind and try to see what the mac can do, rather than force it to look like your windows machine. I mean, if you just want it to look like windows, then why bother switching? If you give it a little time, you'll start to appreciate the mac way of doing things, and see how it is infinitely more awesome, powerful, creative, intuitive, and better designed (and the software way better written)  than what you left behind. But that's your call.
    There are some threads on this forum with complaints about the backlight. Keyboard backlight settings query...: Apple Support Communities  Evidently it depends on the angle of the screen and the light sensor relative to the light. Some suggest that a SMC reset may help: Intel-based Macs: Resetting the System Management Controller (SMC)  This is not an issue for me, I just adjust the brightness with the keyboard buttons if I want. Real men shift their own gears, drink their coffee black, and adjust their own keyboard brightness. I am not aware of any software to exert more control over this feature but a search of macupdate  Download Apple Mac Software & iPhone Software : MacUpdate may help. I mean, it's up to you what is important. I can waste a lot of time playing around with the GUI and with unnecessary software, or I can just get my work (and play) done.
    You might prefer the no-glass dock, that removes the shelf, and makes the indicator lights like more discrete orbs. You can do this with the terminal. Using the terminal is also, perhaps, a topic for another discussion.I like the 2D dock much better. If you want I'll give you some directions for how to do it. Otherwise, here's a reference: 2D Dock - MacRumors Forums

  • Vertical Inheritance with Application ID Hierarchy

    Hello,
    I want to implement Vertical Inheritance with Application ID Hierarchy,
    using a HyperSonic-Database. The essential code is appended.
    The following test-application leads to an exception. Things work fine,
    if I use one ID-class for all persistent classes; a similar attempt with
    horizontal inheritance did work, too.
    String attr1Val = getUniqueString();
    String attr2Val = getUniqueString();
    // ... get PersistenceManager, etc.
    // Write something into DB
    pm.currentTransaction().begin();
    Parent p = new Parent();
    p.setattr1("attr1Value");
    Child c = new Child();
    c.setattr1("qwerty");
    c.setattr2(attr2Val);
    pm.makePersistent(c);
    pm.currentTransaction().commit();
    // Query
    Query query = pm.newQuery(Child.class,"attr2 == param");
    query.declareParameters("String param");
    Collection results = (Collection)query.execute(attr2Val);
    kodo.util.FatalUserException: Duplicate object ids have been assigned to
    two different objects: the identity "1" of class "class foo.Child$ID" was
    assigned to both "foo.Child@1f4cbee" and "foo.Child@787d6a". This can
    occur when a horizontally or vertically mapped class uses application
    identity with an auto-increment field and does not use a hierarchy of
    application identity classes.[foo.Child$ID-1]
    Can anyone help ?
    Thanks.
    Lutz
    code-pieces:
    parent.java:
    public class Parent implements Serializable,InstanceCallbacks
    private transient PersistenceManager pm = null;
    public Long ObjId;
    public void setObjId(Long value)
    ObjId = value;
    // application identity class for Manager; represented as
    // a static inner class for the persistable class
    public static class ID implements Serializable
    static
    { // register persistent class in JVM
    Class c = foo.Parent.class;
    public Long ObjId;
    public ID ()
    public ID (String str)
    fromString (str);
    public String toString ()
    return String.valueOf (ObjId);
    public int hashCode ()
    return ((ObjId == null) ? 0 : ObjId.hashCode ());
    public boolean equals (Object obj)
    if (this == obj)
    return true;
    if (obj == null || obj.getClass () != getClass ())
    return false;
    ID other = (ID) obj;
    return ((ObjId == null && other.ObjId == null) ||
    (ObjId != null && ObjId.equals (other.ObjId)));
    private void fromString (String str)
    if ("null".equals (str))
    ObjId = null;
    else
    ObjId = new Long (str);
    private String attr1;
    public Parent()
    public void jdoPreStore()
    // Some Action that needs to be done before data is flushed to
    datastore...
    if (ObjId == null)
    if (pm == null)
    pm = ResourceManager.getPersistenceMgr("test", "sa", "");
    SequenceGenerator gen = KodoHelper.getSequenceGenerator (pm,
    Parent.class);
    setObjId(new Long(gen.getNext().longValue()));
    parent.jdo:
    <jdo>
    <package name="foo">
    <class name="Parent" identity-type="application"
    objectid-class="Parent$ID">
    <field name="ObjId" persistence-modifier="persistent"
    primary-key="true"/>
    <field name="attr1" persistence-modifier="persistent"/>
    </class>
    </package>
    </jdo>
    child.java:
    public class Child extends Parent
    implements Serializable,InstanceCallbacks
    private transient PersistenceManager pm = null;
    public static class ID extends Parent.ID
    static
    { // register persistent class in JVM
    Class c = foo.Child.class;
    public ID()
    super();
    public ID (String str)
    super(str);
    public void jdoPreStore()
    if (ObjId == null)
    if (pm == null)
    pm = ResourceManager.getPersistenceMgr("test", "sa", "");
    SequenceGenerator gen = KodoHelper.getSequenceGenerator (pm,
    Child.class);
    setObjId(new Long(gen.getNext().longValue()));
    child.jdo:
    <jdo>
    <package name="foo">
    <class name="Child" persistence-capable-superclass="foo.Parent"
    identity-type="application" objectid-class="Child$ID">
    <extension vendor-name="kodo" key="jdbc-class-map-name"
    value="vertical">
    <extension vendor-name="kodo" key="table" value="CHILD"/>
    <extension vendor-name="kodo" key="ref-column.OBJID"
    value="OBJID"/>
    </extension>
    <field name="attr2" persistence-modifier="persistent"/>
    </class>
    </package>
    </jdo>
    generated mappings by "mappingtool -a refresh":
    parent.mapping:
    <mapping>
    <package name="foo">
    <class name="Parent">
    <jdbc-class-map type="base" table="PARENT"/>
    <jdbc-version-ind type="version-number" column="JDOVERSION"/>
    <jdbc-class-ind type="in-class-name" column="JDOCLASS"/>
    <field name="ObjId">
    <jdbc-field-map type="value" column="OBJID"/>
    </field>
    <field name="attr1">
    <jdbc-field-map type="value" column="ATTR1"/>
    </field>
    </class>
    </package>
    </mapping>
    child.mapping:
    <mapping>
    <package name="foo">
    <class name="Child">
    <jdbc-class-map type="vertical" ref-column.OBJID="OBJID"
    table="CHILD"/>
    <field name="attr2">
    <jdbc-field-map type="value" column="ATTR2"/>
    </field>
    </class>
    </package>
    </mapping>

    Hello,
    I want to implement Vertical Inheritance with Application ID Hierarchy,
    using a HyperSonic-Database. The essential code is appended.
    The following test-application leads to an exception. Things work fine,
    if I use one ID-class for all persistent classes; a similar attempt with
    horizontal inheritance did work, too.
    String attr1Val = getUniqueString();
    String attr2Val = getUniqueString();
    // ... get PersistenceManager, etc.
    // Write something into DB
    pm.currentTransaction().begin();
    Parent p = new Parent();
    p.setattr1("attr1Value");
    Child c = new Child();
    c.setattr1("qwerty");
    c.setattr2(attr2Val);
    pm.makePersistent(c);
    pm.currentTransaction().commit();
    // Query
    Query query = pm.newQuery(Child.class,"attr2 == param");
    query.declareParameters("String param");
    Collection results = (Collection)query.execute(attr2Val);
    kodo.util.FatalUserException: Duplicate object ids have been assigned to
    two different objects: the identity "1" of class "class foo.Child$ID" was
    assigned to both "foo.Child@1f4cbee" and "foo.Child@787d6a". This can
    occur when a horizontally or vertically mapped class uses application
    identity with an auto-increment field and does not use a hierarchy of
    application identity classes.[foo.Child$ID-1]
    Can anyone help ?
    Thanks.
    Lutz
    code-pieces:
    parent.java:
    public class Parent implements Serializable,InstanceCallbacks
    private transient PersistenceManager pm = null;
    public Long ObjId;
    public void setObjId(Long value)
    ObjId = value;
    // application identity class for Manager; represented as
    // a static inner class for the persistable class
    public static class ID implements Serializable
    static
    { // register persistent class in JVM
    Class c = foo.Parent.class;
    public Long ObjId;
    public ID ()
    public ID (String str)
    fromString (str);
    public String toString ()
    return String.valueOf (ObjId);
    public int hashCode ()
    return ((ObjId == null) ? 0 : ObjId.hashCode ());
    public boolean equals (Object obj)
    if (this == obj)
    return true;
    if (obj == null || obj.getClass () != getClass ())
    return false;
    ID other = (ID) obj;
    return ((ObjId == null && other.ObjId == null) ||
    (ObjId != null && ObjId.equals (other.ObjId)));
    private void fromString (String str)
    if ("null".equals (str))
    ObjId = null;
    else
    ObjId = new Long (str);
    private String attr1;
    public Parent()
    public void jdoPreStore()
    // Some Action that needs to be done before data is flushed to
    datastore...
    if (ObjId == null)
    if (pm == null)
    pm = ResourceManager.getPersistenceMgr("test", "sa", "");
    SequenceGenerator gen = KodoHelper.getSequenceGenerator (pm,
    Parent.class);
    setObjId(new Long(gen.getNext().longValue()));
    parent.jdo:
    <jdo>
    <package name="foo">
    <class name="Parent" identity-type="application"
    objectid-class="Parent$ID">
    <field name="ObjId" persistence-modifier="persistent"
    primary-key="true"/>
    <field name="attr1" persistence-modifier="persistent"/>
    </class>
    </package>
    </jdo>
    child.java:
    public class Child extends Parent
    implements Serializable,InstanceCallbacks
    private transient PersistenceManager pm = null;
    public static class ID extends Parent.ID
    static
    { // register persistent class in JVM
    Class c = foo.Child.class;
    public ID()
    super();
    public ID (String str)
    super(str);
    public void jdoPreStore()
    if (ObjId == null)
    if (pm == null)
    pm = ResourceManager.getPersistenceMgr("test", "sa", "");
    SequenceGenerator gen = KodoHelper.getSequenceGenerator (pm,
    Child.class);
    setObjId(new Long(gen.getNext().longValue()));
    child.jdo:
    <jdo>
    <package name="foo">
    <class name="Child" persistence-capable-superclass="foo.Parent"
    identity-type="application" objectid-class="Child$ID">
    <extension vendor-name="kodo" key="jdbc-class-map-name"
    value="vertical">
    <extension vendor-name="kodo" key="table" value="CHILD"/>
    <extension vendor-name="kodo" key="ref-column.OBJID"
    value="OBJID"/>
    </extension>
    <field name="attr2" persistence-modifier="persistent"/>
    </class>
    </package>
    </jdo>
    generated mappings by "mappingtool -a refresh":
    parent.mapping:
    <mapping>
    <package name="foo">
    <class name="Parent">
    <jdbc-class-map type="base" table="PARENT"/>
    <jdbc-version-ind type="version-number" column="JDOVERSION"/>
    <jdbc-class-ind type="in-class-name" column="JDOCLASS"/>
    <field name="ObjId">
    <jdbc-field-map type="value" column="OBJID"/>
    </field>
    <field name="attr1">
    <jdbc-field-map type="value" column="ATTR1"/>
    </field>
    </class>
    </package>
    </mapping>
    child.mapping:
    <mapping>
    <package name="foo">
    <class name="Child">
    <jdbc-class-map type="vertical" ref-column.OBJID="OBJID"
    table="CHILD"/>
    <field name="attr2">
    <jdbc-field-map type="value" column="ATTR2"/>
    </field>
    </class>
    </package>
    </mapping>

  • Help with the insert table/form tool in BIP 10.1.3.2.1

    Hi, I'm trying to use the insert table/form tool in BIP, and running into some issues that I don't understand. First off, my data coming in looks like this (left column of tool):
    Rowset
    --- Row
    ------ Customer ID
    ------ Customer Name
    ------ Customer City
    ------ Product
    ------ Amount Sold
    I would like the output to do the following:
    a) have one page per customer. Customer should be determined by customer ID, and has attributes of customer ID, customer Name, Customer City
    b) Show a table of all products and the total Amount Sold by product for that customer
    c) Give a "grand total" for the customer
    Can someone help with the steps needed to do this? I've tried several variations of the following without much luck:
    1) Added Rowset and all children to the "Template" pane
    2) Clicked on the "Row" group, and set Grouping = Customer ID, with a break of "New page per Element"
    3) Clicked on the newly created (from step 2) Cust ID group, and set it to group by Product
    4) Moved "amount sold" to be at same level as Product
    5) Moved all of the customer attributes (name, address, etc.) to be at same level as Cust ID
    6) On the Cust ID level, set the style to table
    7) on row and rowset levels, set style to free form
    This seems to be VERY close, except that it isn't creating a total amount for the sum of all products purchased by a customer. What do I need to do inside the tool to get a total per customer to show up?
    Thanks in advance!
    Scott
    p.s. the final hierarchy in the template window looks like this:
    Rowset (style = freeform, no grouping/sort by/breaks)
    --- Row (style = freeform, group by customer ID, break new page per element)
    ------ Customer ID (style = table, group by product, no breaks)
    --------- Product (nothing special)
    --------- Amount Sold (calc for grouping = SUM)
    ------ Customer Name (nothing special)
    ------ Customer City (nothing special)
    Thanks very much for the help!
    Scott

    To anyone else who sees this post, the answer is to do the following. Insert the Amount Sold field using the "Insert Field" tool, and set the function to sum, with the grouping checkbox turned on.
    Thanks,
    Scott

  • Need help with "percentage of" I need to see grandparent totals

    Theres a division in my database between Supervisors, Representants, and Lines.
    The hierarchy is Supervisors -> Representants -> Lines
    I have a measure called "acum sold" and I need the percentage of it.
    I`m using "Percentage of" -> "Collumn"and it works untill I reach the Lines level, then it doesn`t work (well it does, but not in the way I want)
    Basically it`s this
    Supervisor----Acum Sold---% Acum Sold
    X-------------1000------------100%----
    Then I go to the next level
    Supervisor----Representant----Acum Sold---% Acum Sold
    -----X----------------XY------------------500---------------50%-----
    -----X----------------YZ------------------500---------------50%-----
    And it`s still the way I want, but when I drill to XY representant...
    Supervisor----Representant----Lines-------Acum Sold---% Acum Sold
    -----X----------------XY------------XY1---------100---------------20%-----
    -----X----------------XY------------XY2---------400---------------80%-----
    The percentage is based off the XY totals (percentage of the 500 total acum sold) but I actually need the percentage based on the Supervisor
    I need something like this
    Supervisor----Representant----Lines-------Acum Sold---% Acum Sold
    -----X----------------XY------------XY1---------100---------------10%-----
    -----X----------------XY------------XY2---------400---------------40%-----
    Because XY1 and XY2 sold only 50% of the supervisor`s total. But BIEE is always trying to get 100% of the parent level, instead of the "grandparent" one.
    I hope I didn`t sound that confusing, I really need help with this one.
    Thanks in advance

    You need to use level based measures. Look up documentation/this forum for Level based measures (LBM).
    In short you drag a fact meaure to a heirarchy level in business mapping layer and it will always aggreagtre to that level. So create a total and grandparent level then divide child sum by grandparent total (LBM)

  • Help with Illustrator Script! Batch convert files including subfolders - please help! :)

    Hello,
    I honestly have tried reading the other answers and researching to try to solve this problem.  I'm sorry for my ignorance in this area.  Please help!!!
    I'm trying to make a script (for Illustrator CS2) that will batch convert several files to PNG files.  The source folder has several subfolders and I need the script to go into the subfolders and convert those files as well.  The destination directory should be an entirely separate folder but with the same hierarchy as the original source folder.
    The script I have been using (that converts just as I need) is below.  The only problem is it doesn't do the subfolders.
    Any help would be so amazingly appreciated!
    ADOBE SYSTEMS INCORPORATED
    Copyright 2005 Adobe Systems Incorporated
    All Rights Reserved
    NOTICE:  Adobe permits you to use, modify, and
    distribute this file in accordance with the terms
    of the Adobe license agreement accompanying it. 
    If you have received this file from a source
    other than Adobe, then your use, modification,
    or distribution of it requires the prior
    written permission of Adobe.
    ExportDocsAsPNG24.jsx
    DESCRIPTION
    This sample gets files specified by the user from the
    selected folder and batch processes them and saves them
    as PNGs in the user desired destination with the same
    file name.
    // Main Code [Execution of script begins here]
    // uncomment to suppress Illustrator warning dialogs
    // app.userInteractionLevel =
    UserInteractionLevel.DONTDISPLAYALERTS;
    var destFolder, sourceFolder, files, fileType,
    sourceDoc, targetFile, pngExportOpts;
    // Select the source folder.
    sourceFolder = Folder.selectDialog( 'Select the folder
    with Illustrator files you want to convert to PNG', '~'
    // If a valid folder is selected
    if ( sourceFolder != null )
        files = new Array();
        fileType = prompt( 'Select type of Illustrator files
    to you want to process. Eg: *.ai', ' ' );
        // Get all files matching the pattern
        files = sourceFolder.getFiles( fileType );
        if ( files.length > 0 )
            // Get the destination to save the files
            destFolder = Folder.selectDialog( 'Select the
    folder where you want to save the converted PNG files.',
    '~' );
            for ( i = 0; i < files.length; i++ )
                sourceDoc = app.open(files[i]); // returns
    the document object
                // Call function getNewName to get the name
    and file to save the pdf
                targetFile = getNewName();
                // Call function getPNGOptions get the
    PNGExportOptions for the files
                pngExportOpts = getPNGOptions();
                // Export as PNG
                sourceDoc.exportFile( targetFile,
    ExportType.PNG24, pngExportOpts );
                sourceDoc.close
    (SaveOptions.DONOTSAVECHANGES);
            alert( 'Files are saved as PNG in ' + destFolder
        else
            alert( 'No matching files found' );
    getNewName: Function to get the new file name. The
    primary
    name is the same as the source file.
    function getNewName()
        var ext, docName, newName, saveInFile, docName;
        docName = sourceDoc.name;
        ext = '.png'; // new extension for png file
        newName = "";
        for ( var i = 0 ; docName[i] != "." ; i++ )
            newName += docName[i];
        newName += ext; // full png name of the file
        // Create a file object to save the png
        saveInFile = new File( destFolder + '/' + newName );
        return saveInFile;
    getPNGOptions: Function to set the PNG saving options of
    the
    files using the PDFSaveOptions object.
    function getPNGOptions()
        // Create the PDFSaveOptions object to set the PDF
    options
        var pngExportOpts = new ExportOptionsPNG24();
        // Setting PNGExportOptions properties. Please see
    the JavaScript Reference
        // for a description of these properties.
        // Add more properties here if you like
        pngExportOpts.antiAliasing = true;
        pngExportOpts.artBoardClipping = true;
        pngExportOpts.horizontalScale = 300.0;
        //pngExportOpts.matte = true;
        //pngExportOpts.matteColor = 0, 0, 0;
        pngExportOpts.saveAsHTML = false;
        pngExportOpts.transparency = true;
        pngExportOpts.verticalScale = 300.0;
        return pngExportOpts;

    You can turn off some of the dialogs with: app.displayDialogs = DialogModes.NO;
    #target photoshop
    if (app.documents.length > 0) {
    //Turn display dialogs off
    app.displayDialogs = DialogModes.NO;
    //=============Find Current Documents path================//
    var CurrentPath = activeDocument.path;
    //=============Establish current documents destination===============//
    var folder1 = Folder(CurrentPath + '/' + 'Flats');
    //=============Check if it exist, if not create it.============//
    if(!folder1.exists) folder1.create();
    //=============Establish current documents file name=========//
    //Current filename without the extension
    var CurrentFileName = app.activeDocument.name.replace(/\.[^\.]+$/, '');
    //=============Modify current file name================//
    var modifiedFileName = CurrentFileName +"Flat.psd";
    //=============Establish save path====================//
    var saveFileCurrentPath = new File(folder1 + '/' + modifiedFileName);
    //=============Flatten document ====================//
    activeDocument.flatten();
    //=============Rotate  document if in 'Landscape'====================//
    var myDocument = app.activeDocument;
    if (myDocument.width > myDocument.height) myDocument.rotateCanvas(90);
    //============Save File=======================//
    psdSaveOptions = new PhotoshopSaveOptions();
    activeDocument.saveAs(saveFileCurrentPath, psdSaveOptions, true, Extension.LOWERCASE);
    //Close Document
    app.activeDocument.close(SaveOptions.DONOTSAVECHANGES);

  • Dimension with Level Dased Hierarchy

    Hi everyone
    I have one table in bussines model called items with columns item_code,item_descr,item_brand,item_category.
    I also have a Dimension with Level Dased Hierarchy set as total_level,item_brand,item_category,item_code.
    Data
    ===
    item_brand 1, item_category 21, item_code code1
    item_brand 2, item_category 21, item_code code2
    In Answer when i use the above hierarchy i have the problem that when i expand item_brand 1 and then item_category 21 automatically answer expand also item_brand 2 showing only item_code code2.
    It happens because item_brand 1,2 have the same item_category 21.
    Is there any way to make it work?
    Thanks
    Hermes
    Edited by: hermes on 24 Μαρ 2011 3:05 πμ

    Hi hermes,
    try this:
    create two physical table with the rows ant import in your Physical Layer:
    DIM_TABLE1
    BRAND CATEGORY
    item_brand 1, item_category 21
    item_brand 2, item_category 21
    And DIM_TABLE2
    BRAND CATEGORY ITEM
    item_brand 1, item_category 21, item_code code1
    item_brand 2, item_category 21, item_code code2
    Define the join like this:
    DIM_TABLE1.BRAND = DIM_TABLE2.BRAND and DIM_TABLE1.CATEGORY = DIM_TABLE2.CATEGORY
    In the Business Model create 1 Logical Table Source for your dimension with the source you two physical table, inner join.
    Now map the logical column.
    I hope it helps.
    Regards,
    Gianluca

  • Input help of the org. hierarchy

    Hello all,
    I have two similar enviroments, one with ish version 4.6 and another with version 6.00
    The input help of the organizational hierarchy when it is called from nv2000 or report RNLORG01
    in 6.00 is very slower than 4.6. (Both enviroments have the same parameters OE_LEVEL and OE_LOAD) There is something I can do to optimize this input help? Thanks in advance.
    Regards.

    There are two more recent notes related to this input help:
    Note 1272171 - IS-H: OrgUnit input help does not display all OrgUnits
    The input help for organizational units does not display all inter-departmental organizational units
    Note 1292719 - IS-H: Input help for nursing OU displays incorrect info
    If you call the input help in NV2000 in the field "Nursing OU", the system may not display the name of the nursing OU correctly in some cases. The system displays the name of higher-level departmental OU instead.

  • Help with if statement in cursor and for loop to get output

    I have the following cursor and and want to use if else statement to get the output. The cursor is working fine. What i need help with is how to use and if else statement to only get the folderrsn that have not been updated in the last 30 days. If you look at the talbe below my select statement is showing folderrs 291631 was updated only 4 days ago and folderrsn 322160 was also updated 4 days ago.
    I do not want these two to appear in my result set. So i need to use if else so that my result only shows all folderrsn that havenot been updated in the last 30 days.
    Here is my cursor:
    /*Cursor for Email procedure. It is working Shows userid and the string
    You need to update these folders*/
    DECLARE
    a_user varchar2(200) := null;
    v_assigneduser varchar2(20);
    v_folderrsn varchar2(200);
    v_emailaddress varchar2(60);
    v_subject varchar2(200);
    Cursor c IS
    SELECT assigneduser, vu.emailaddress, f.folderrsn, trunc(f.indate) AS "IN DATE",
    MAX (trunc(fpa.attemptdate)) AS "LAST UPDATE",
    trunc(sysdate) - MAX (trunc(fpa.attemptdate)) AS "DAYS PAST"
    --MAX (TRUNC (fpa.attemptdate)) - TRUNC (f.indate) AS "NUMBER OF DAYS"
    FROM folder f, folderprocess fp, validuser vu, folderprocessattempt fpa
    WHERE f.foldertype = 'HJ'
    AND f.statuscode NOT IN (20, 40)
    AND f.folderrsn = fp.folderrsn
    AND fp.processrsn = fpa.processrsn
    AND vu.userid = fp.assigneduser
    AND vu.statuscode = 1
    GROUP BY assigneduser, vu.emailaddress, f.folderrsn, f.indate
    ORDER BY fp.assigneduser;
    BEGIN
    FOR c1 IN c LOOP
    IF (c1.assigneduser = v_assigneduser) THEN
    dbms_output.put_line(' ' || c1.folderrsn);
    else
    dbms_output.put(c1.assigneduser ||': ' || 'Overdue Folders:You need to update these folders: Folderrsn: '||c1.folderrsn);
    END IF;
    a_user := c1.assigneduser;
    v_assigneduser := c1.assigneduser;
    v_folderrsn := c1.folderrsn;
    v_emailaddress := c1.emailaddress;
    v_subject := 'Subject: Project for';
    END LOOP;
    END;
    The reason I have included the folowing table is that I want you to see the output from the select statement. that way you can help me do the if statement in the above cursor so that the result will look like this:
    emailaddress
    Subject: 'Project for ' || V_email || 'not updated in the last 30 days'
    v_folderrsn
    v_folderrsn
    etc
    [email protected]......
    Subject: 'Project for: ' Jim...'not updated in the last 30 days'
    284087
    292709
    [email protected].....
    Subject: 'Project for: ' Kim...'not updated in the last 30 days'
    185083
    190121
    190132
    190133
    190159
    190237
    284109
    286647
    294631
    322922
    [email protected]....
    Subject: 'Project for: Joe...'not updated in the last 30 days'
    183332
    183336
    [email protected]......
    Subject: 'Project for: Sam...'not updated in the last 30 days'
    183876
    183877
    183879
    183880
    183881
    183882
    183883
    183884
    183886
    183887
    183888
    This table is to shwo you the select statement output. I want to eliminnate the two days that that are less than 30 days since the last update in the last column.
    Assigneduser....Email.........Folderrsn...........indate.............maxattemptdate...days past since last update
    JIM.........      jim@ aol.com.... 284087.............     9/28/2006.......10/5/2006...........690
    JIM.........      jim@ aol.com.... 292709.............     3/20/2007.......3/28/2007............516
    KIM.........      kim@ aol.com.... 185083.............     8/31/2004.......2/9/2006.............     928
    KIM...........kim@ aol.com.... 190121.............     2/9/2006.........2/9/2006.............928
    KIM...........kim@ aol.com.... 190132.............     2/9/2006.........2/9/2006.............928
    KIM...........kim@ aol.com.... 190133.............     2/9/2006.........2/9/2006.............928
    KIM...........kim@ aol.com.... 190159.............     2/13/2006.......2/14/2006............923
    KIM...........kim@ aol.com.... 190237.............     2/23/2006.......2/23/2006............914
    KIM...........kim@ aol.com.... 284109.............     9/28/2006.......9/28/2006............697
    KIM...........kim@ aol.com.... 286647.............     11/7/2006.......12/5/2006............629
    KIM...........kim@ aol.com.... 294631.............     4/2/2007.........3/4/2008.............174
    KIM...........kim@ aol.com.... 322922.............     7/29/2008.......7/29/2008............27
    JOE...........joe@ aol.com.... 183332.............     1/28/2004.......4/23/2004............1585
    JOE...........joe@ aol.com.... 183336.............     1/28/2004.......3/9/2004.............1630
    SAM...........sam@ aol.com....183876.............3/5/2004.........3/8/2004.............1631
    SAM...........sam@ aol.com....183877.............3/5/2004.........3/8/2004.............1631
    SAM...........sam@ aol.com....183879.............3/5/2004.........3/8/2004.............1631
    SAM...........sam@ aol.com....183880.............3/5/2004.........3/8/2004.............1631
    SAM...........sam@ aol.com....183881.............3/5/2004.........3/8/2004.............1631
    SAM...........sam@ aol.com....183882.............3/5/2004.........3/8/2004.............1631
    SAM...........sam@ aol.com....183883.............3/5/2004.........3/8/2004.............1631
    SAM...........sam@ aol.com....183884.............3/5/2004.........3/8/2004............     1631
    SAM...........sam@ aol.com....183886.............3/5/2004.........3/8/2004............     1631
    SAM...........sam@ aol.com....183887.............3/5/2004.........3/8/2004............     1631
    SAM...........sam@ aol.com....183888.............3/5/2004.........3/8/2004............     1631
    PAT...........pat@ aol.com.....291630.............2/23/2007.......7/8/2008............     48
    PAT...........pat@ aol.com.....313990.............2/27/2008.......7/28/2008............28
    NED...........ned@ aol.com.....190681.............4/4/2006........8/10/2006............746
    NED...........ned@ aol.com......95467.............6/14/2006.......11/6/2006............658
    NED...........ned@ aol.com......286688.............11/8/2006.......10/3/2007............327
    NED...........ned@ aol.com.....291631.............2/23/2007.......8/21/2008............4
    NED...........ned@ aol.com.....292111.............3/7/2007.........2/26/2008............181
    NED...........ned@ aol.com.....292410.............3/15/2007.......7/22/2008............34
    NED...........ned@ aol.com.....299410.............6/27/2007.......2/27/2008............180
    NED...........ned@ aol.com.....303790.............9/19/2007.......9/19/2007............341
    NED...........ned@ aol.com.....304268.............9/24/2007.......3/3/2008............     175
    NED...........ned@ aol.com.....308228.............12/6/2007.......12/6/2007............263
    NED...........ned@ aol.com.....316689.............3/19/2008.......3/19/2008............159
    NED...........ned@ aol.com.....316789.............3/20/2008.......3/20/2008............158
    NED...........ned@ aol.com.....317528.............3/25/2008.......3/25/2008............153
    NED...........ned@ aol.com.....321476.............6/4/2008.........6/17/2008............69
    NED...........ned@ aol.com.....322160.............7/3/2008.........8/21/2008............4
    MOE...........moe@ aol.com.....184169.............4/5/2004.......12/5/2006............629
    [email protected]/27/2004.......3/8/2004............1631
    How do I incorporate a if else statement in the above cursor so the two days less than 30 days since last update are not returned. I do not want to send email if the project have been updated within the last 30 days.
    Edited by: user4653174 on Aug 25, 2008 2:40 PM

    analytical functions: http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/functions2a.htm#81409
    CASE
    http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/02_funds.htm#36899
    http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/04_struc.htm#5997
    Incorporating either of these into your query should assist you in returning the desired results.

  • I need help with Sunbird Calendar, how can I transfer it from one computer to the other and to my iphone?

    I installed Sunbird in one computer and my calendar has all my infos, events, and task that i would like to see on another computer that i just downloaded Sunbird into. Also, is it possible I can access Sunbird on my iphone?
    Thank you in advance,

    Try the forum here - http://forums.mozillazine.org/viewforum.php?f=46 - for help with Sunbird, this forum is for Firefox support.

  • Hoping for some help with a very frustrating issue!   I have been syncing my iPhone 5s and Outlook 2007 calendar and contacts with iCloud on my PC running Vista. All was well until the events I entered on the phone were showing up in Outlook, but not

    Hoping for some help with a very frustrating issue!
    I have been syncing calendar and contacts on my iPhone 5 and Outlook 2007 using iCloud  2.1.3 (my PC is running Vista). All was well until the events I entered on the phone were showing up in Outlook, but not the other way around. I’ve tried the usual recommended steps: deselecting calendar and contacts in the iCloud control panel and then re-selecting, signing out of the panel and back in, and repairing the Outlook installation in control panel.  I even uninstalled iCloud on the PC and downloaded it again (same version). 
    The furthest I’ve gotten is step 2 (and once, step 3) of 7 while performing “Outlook Setup For iCloud.” At that point I get, “Your setup couldn’t be started because of an unexpected error.”  After the first attempt at all this, all my calendar events disappeared from Outlook, although they are still in iCloud calendar and on my phone.
    Sound familiar?  Any ideas on how to solve this iCloud/Outlook issue?  Thanks much in advance!

    Hoping for some help with a very frustrating issue!
    I have been syncing calendar and contacts on my iPhone 5 and Outlook 2007 using iCloud  2.1.3 (my PC is running Vista). All was well until the events I entered on the phone were showing up in Outlook, but not the other way around. I’ve tried the usual recommended steps: deselecting calendar and contacts in the iCloud control panel and then re-selecting, signing out of the panel and back in, and repairing the Outlook installation in control panel.  I even uninstalled iCloud on the PC and downloaded it again (same version). 
    The furthest I’ve gotten is step 2 (and once, step 3) of 7 while performing “Outlook Setup For iCloud.” At that point I get, “Your setup couldn’t be started because of an unexpected error.”  After the first attempt at all this, all my calendar events disappeared from Outlook, although they are still in iCloud calendar and on my phone.
    Sound familiar?  Any ideas on how to solve this iCloud/Outlook issue?  Thanks much in advance!

  • Help with HP Laser Printer 1200se

    HP Support Line,
    Really need your assistance.  I have tried both contacting HP by phone (told they no longer support our printer via phone help), the tech told me that I needed to contact HP by e-mail for assistance.   I then sent an e-mail for assistance and got that reply today, the reply is as follows  "Randall, unfortunately, HP does not offer support via e-mail for your product.  However many resources are available on the HP web site that may provide the answer to your inquiry.  Support is also available via telephone.  A list of technical support numbers can be round at the following URL........."  The phone numbers listed are the ones I called and the ones that told me I needed to contact the e-mail support for help.
    So here I am looking for your help with my issue.
    We just bought a new HP Pavillion Slimline Desk Top PC (as our 6 year old HP Pavillion PC died on us).  We have 2 HP printers, one (an all-in-one type printer, used maily for copying and printing color, when needed) is connected and it is working fine with the exception of the scanning option (not supported by Windows 7).  However we use our Laser Printer for all of our regular prining needs.  This is the HP LaserPrinter 1200se, which is about 6 years old but works really well.  For this printer we currently only have a parallel connection type cord and there is not a parallel port on the Slimline HP PC.  The printer also has the option to connedt a USB cable (we do not currently have this type of cable).
    We posed the following two questions:
    1.  Is the Laser Jet 1200se compatible with Windows 7?
    and if this is the case
    2.  Can we purchase either a) a USC connection cord (generic or do we need a printer specific cord)? or b) is there there a printer cable converter adapater to attach to our parallel cable to convert to a USB connection?
    We do not want to purchase the USB cable if Windows 7 will not accept the connection, or if doing this will harm the PC.
    We really would appreciate any assitance that you might give us.
    Thank you,
    Randy and Leslie Gibson

    Sorry, both cannot be enabled by design.  That said, devices on a network do not care how others are connected.  You can print from a wireless connection to a wired (Ethernet) printer and v/v.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Going to Australia and need help with Power converters

    Facts:
    US uses 110v on 60hz
    Australia 220v on 50hz
    Making sure I understood that correctly.  Devices I plan on bringing that will use power are PS3 Slim, MacBook Pro 2008 model, and WD 1TB External HDD.  My DS, and Cell are charging via USB to save trouble of other cables.
    Ideas I've had or thought of:
    1.  Get a power converter for a US Powerstrip, and then plug in my US items into the strip and then the strip into an AUS Converter into Australian outlet.  Not sure if this fixes the voltage/frequency change.
    2.  Get power converters for all my devices.  But, not sure if my devices needs ways of lowering the voltage/increasing frequency or something to help with the adjustment.
    3.  Buy a universal powerstrip, which is extremely costly and I wouldn't be able to have here in time (I leave Thursday).  Unless Best Buy carrys one.  

    godzillafan868 wrote:
    Facts:
    US uses 110v on 60hz
    Australia 220v on 50hz
    Making sure I understood that correctly.  Devices I plan on bringing that will use power are PS3 Slim, MacBook Pro 2008 model, and WD 1TB External HDD.  My DS, and Cell are charging via USB to save trouble of other cables.
    Ideas I've had or thought of:
    1.  Get a power converter for a US Powerstrip, and then plug in my US items into the strip and then the strip into an AUS Converter into Australian outlet.  Not sure if this fixes the voltage/frequency change.
    2.  Get power converters for all my devices.  But, not sure if my devices needs ways of lowering the voltage/increasing frequency or something to help with the adjustment.
    3.  Buy a universal powerstrip, which is extremely costly and I wouldn't be able to have here in time (I leave Thursday).  Unless Best Buy carrys one.  
    Check the specs on input voltage/frequency of your power supplies.
    Many laptop power supplies are "universal/global" and are specced something like 80-265 volts AC 50/60 Hz, but not all.  These will just need a connector adapter.
    Unsure about the PS3 Slim - if it isn't universal it could be difficult as you'll need a 110/220 transformer, one big enough (power-handling wise) for the PS3 will be very bulky.
    For the external WD HDD, if it doesn't have a universal supply, you're probably best off just finding a new wallwart for it that is capable of running on 220/50.
    *disclaimer* I am not now, nor have I ever been, an employee of Best Buy, Geek Squad, nor of any of their affiliate, parent, or subsidiary companies.

  • Creation of context sensitive help with pure FM 12 usage doesn't work

    Hi,
    I hope somebody is able to help me with a good hint or tip.
    I am trying to create a context-sensitive Microsoft Help with FM12 only using the abilities of FM (no RoboHelp). For some reasons, my assigned ID's are not used in the generated chm file and therefore the help does not work context-sensitively.
    What did I do?
    - I created my FM files and assigned topic aliases to the headers. I did this two ways: a) using the "Special" menue and assigning a CSH marker and/or b) setting a new marker of type "Topic Alias" and typing the ID. I used only numeric IDs like "2000" or "4200",
    - I created a .h file (projectname.h) - based on the format of the file projectname_!Generated!.h (I read this in some instructions). So the .h file (text file) looks like this:
    #define 2000 2000 /* 4 Anwendungsoberfläche */
    #define 2022 2022 /* 4.1.1 Menü Datei */
    #define 2030 2030 /* 4.1.3 Menü Parametersatz */
    #define 2180 2180 /* 6.6.7 Objektdialog Q-Regler */
    #define 2354 2354 /* 6.9.2 Objektdialog Extran Parameter */
    #define 2560 2560 /* 6.9.5 Objektdialog Extran2D Parametersatz */
    - I published the Microsoft HTML Help. A projectname_!Generated!.h has been created. My IDs were not used in this file:
    #define 2000    1
    #define 2022    2
    #define 2030    3
    #define 2180    4
    #define 2354    5
    #define 2560    6
    - When I open the .chm file and look in the source code, the ID even is totally different. It is not the one, I assigned in FM, it is not the one which I assigned in the projectname.h file and it even is not the one, which was put in the projectname_!Generated!.h file. It is a generated name starting with CSH_1 ...n in a consecutive way numbered.
    Example:
    <p class="FM_Heading1"><a name="XREF_72066_13_Glossar"></a>Gloss<a name="CSH_1"></a>ar</p>
    What goes wrong? Why does FM not take my assigned IDs? I need to use these IDs since our programmers are using those already - I had to re-create the whole online help but the programs stay untouched.
    Please help!
    Many thanks
    Mohi

    Hi Jeff,
    thanks for your note!
    The text in my marker is just a number like "2000" or "4200". As said, I created manually a my.h file and used this marker there. E.g.
    #define 2000 2000.
    Whereby the first 2000 (in my opinion) is the marker text and the second 2000 is the context ID which the programmers are using for the context sensitive call of the help. My definitions in the my.h file were translated to #define 2000 1 (in the my_!Generated!.h file). The source code "translates" the context ID into CSH_8.
    I am still confused :-/
    Thanks
    Mohi

Maybe you are looking for

  • Error while adding subscriber in UNITY

    While adding the Subscriber, it shows the below error eventhough all the domain rights and permissions has been added.  Error fetching MailStore list (for server ECAE-MSG-SRV). hr=0x8004010F (0x8004010f) Check that the AVDSGlobalCatalog is registered

  • System message driving me crazy:-/

    This system message shows about 30 times a day! It's driving me crazy!! :-/ Please help!! process.com.sonyericsson.extras.liveware.extension.online process has stopped.

  • MB Pro 2011 15"  changes resolution after logging out

    Within sleep mode or manually logging out on my high res 1680x 1050 MBPro 2011 15" the screen turns into 1440 x 852 resolution. The system shows up to have 2 connected monitors main monitor stays at 1680 x 1050 and 2nd monitor with 1440 x 852 No chan

  • Business package for Cognos BI

    Hello Experts, We have deployed the BP for Cognos BI in EP 6.0 SP12. Can somebody please help me with the setup. What needs to be done in EP & Cognos to get the iViews working. We want to be able to setup sso form EP to cognos. Thanks for your help,

  • Customizing error in work shedules in function GENPS in the Payroll log

    Hi All, I have created Holiday calendar for 2011 and regenerated the work schedule rule for the year 2011. while testing the same I am facing this error in the Payroll log with GENPS function in the Processing of time data node. This error is seen in