LR4 catalog:createKeyword creates a keyword inside another keyword and 4th parameter is nil

LR4 catalog:createKeyword creates a keyword inside another keyword even though the 4th parameter (parent) in the call is nil. LR3 API doc says .. 'nil to create at the top level' and thats how it worked. Looking forward to LR4 SDK documentation.

Hmm, I just tested my plugin in LR 4 and it successfully creates a top-level keyword when the fourth parameter is nil. 
It would be better to repost and continue the discussion in the SDK forum:
http://forums.adobe.com/community/lightroom/lightroom_sdk

Similar Messages

  • Creating tab canvas inside another tab canvas

    pleas help me solving the issue...
    I want controlling code such that i can create tabpage canvas into another one.
    second tab page of first tab canvas it should be visible.
    regards
    jai

    As long as i know something like this is not possible.
    But you can emulate it this way (for this example i will assume that you want the smaller tab-canvas placed on the second page of the bigger tab-canvas) :
    1. create a tab-canvas
    2. create a stacked-canvas with bevel=none
    3. create a new tab-canvas and place it on your stacked-canvas
    4. make the stacked-canvas invisible
    5. through the trigger WHEN-TAB-PAGE-CHANGED make your stacked-canvas visible whenever you are on page 2 and invisible whenever you are on another page.
    6. adjust the coordinates of your stacked-canvas so it will appear right above the bigger tab-canvas
    Good luck with this
    Markus

  • Creating a region inside another region

    Hi,
    I have created a region with a report. Inside that region, I want to create another region with a report. How do I do this?
    Thanks.

    bp21 wrote:
    Hi Denes,Please DO NOT post follow-ups to closed/ancient threads.
    Posting follow-ups to ancient threads/departed users is NOT an effective way of getting help:
    <li>Other users may ignore the thread if it is closed.
    <li>Your assumption that the questions are related may be incorrect, leading to confusion about the nature of the problem and potential solutions.
    <li>Watches on the thread will have expired, so the original participants are totally unaware of the new post. They may no longer be active on the forum.
    <li>You have no ability to mark posts as helpful or correct.
    <li>As in this case, features and techniques discussed in old threads may no longer be relevant in the version you are using.
    Post your requirements as a new thread, including at least the following information:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Links to related posts and threads (using the methods in the FAQ)
    I have exactly the same requirement i.e. I want to display two reports within a single region. I am using Apex 4.1.In APEX 4.1 this is best achieved using the built-in subregion feature.

  • Can you call a procedure inside another procedure and how many?

    Ok. I have 3 procedures. I would like to call 2 of the from inside one, but I would like them to be in order.
    So,
    procedure1 // this is in db1
         call procedure2
                this collects, and inserts data into table 2 from db1
                this must be run first
         call procedure3
               this update the table1, and table2 from db2, and db3
               this must be run second
         finish procedure1
               this also updates table1 and table2 from db1 and db3
               this must be run third
    procedure1 end;or should I call a function
    procedures 2, and 3 have there own dblinks to other dbs to gather datat, procedure1 is in the same db.
    the procedures dont have to be like above. If you want to run proc3, and call proc1, and proc2 first so be it. Just an example

    create or replace myPackage
    is
    procedure1;
    procedure2;
    procedure3;
    end myPackage;
    create or replace myPackage body
    is
      procedure1 is
      begin
        -- call 2
        procedure2;
        -- call 3
        procedure3;
      end procedure1;
      procedure2 is
      begin
        do_something_here;
      end procedure2;
      procedure3 is
      begin
        do_something_here;
      end procedure3;
    end myPackage;
    /* now run the procedure1 from sql*plus */
    execute myPackage.Procedure1;Message was edited by:
    Sven W. added packaged call

  • Creating a bean within another bean and JNDI

    Hello,
    I am trying to have one bean (a session bean) create another bean (entity
    bean). I keep getting a naming exception. Both beans are deployed in the
    same JAR file. Also, I can directly create the entity bean (from a client
    test app).
    Here is the code I have in the session bean:
    try
    Context initial = new InitialContext();
    Object objref = initial.lookup("java:comp/env/ejb/User");
    UserHome userHome =
    UserHome)PortableRemoteObject.narrow( objref, UserHome.class );
    user = userHome.create( username, password );
    catch( NamingException e )
    e.printStackTrace();
    The result is a naming exception, which is shown below. Why does the naming
    exception say "comp.env.ejb.User"?
    ***** Naming Exception *****
    javax.naming.NameNotFoundException: 'comp.env.ejb/User'; remaining name
    'ejb/Use
    r'
    at
    weblogic.jndi.toolkit.BasicWLContext.resolveName(BasicWLContext.java,
    Compiled Code)
    at
    weblogic.jndi.toolkit.BasicWLContext.lookup(BasicWLContext.java:133)
    at
    weblogic.jndi.toolkit.BasicWLContext.lookup(BasicWLContext.java:143)
    at
    weblogic.jndi.toolkit.BasicWLContext.lookup(BasicWLContext.java:143)
    at
    weblogic.jndi.toolkit.BasicWLContext.lookup(BasicWLContext.java:143)
    at
    weblogic.jndi.toolkit.BasicWLContext.lookup(BasicWLContext.java:574)
    at
    weblogic.jndi.factories.java.ReadOnlyContextWrapper.lookup(ReadOnlyCo
    ntextWrapper.java:29)
    at
    weblogic.jndi.internal.AbstractURLContext.lookup(AbstractURLContext.j
    ava:117)
    at javax.naming.InitialContext.lookup(InitialContext.java:350)
    at
    com.ecocap.EcoCapSystemBean.authenticate(EcoCapSystemBean.java:51)
    at
    com.ecocap.EcoCapSystemBeanEOImpl.authenticate(EcoCapSystemBeanEOImpl
    .java:146)
    at
    com.ecocap.EcoCapSystemBeanEOImpl_WLSkel.invoke(EcoCapSystemBeanEOImp
    l_WLSkel.java:120)
    at
    weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerOb
    jectAdapter.java, Compiled Code)
    at
    weblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicReques
    tHandler.java:77)
    at
    weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:15)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
    Code)
    Mon Mar 19 17:02:58 EST 2001:<I> <EJB JAR deployment ecocap> Exception in
    non-tr
    ansactional EJB invoke:
    java.lang.Exception: NamingException
    at
    com.ecocap.EcoCapSystemBean.authenticate(EcoCapSystemBean.java:60)
    at
    com.ecocap.EcoCapSystemBeanEOImpl.authenticate(EcoCapSystemBeanEOImpl
    .java:146)
    at
    com.ecocap.EcoCapSystemBeanEOImpl_WLSkel.invoke(EcoCapSystemBeanEOImp
    l_WLSkel.java:120)
    at
    weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerOb
    jectAdapter.java, Compiled Code)
    at
    weblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicReques
    tHandler.java:77)
    at
    weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:15)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
    Code)
    Mike

    thanks, but look at the new code i modified still given error on not resolving the class LoginBean in the class LoginDataBean. here is the new code.
    package webclass;
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    public class LoginDataBean
         private Connection cn;
         private PreparedStatement addRecord;
         public LoginDataBean()throws Exception
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              cn = DriverManager.getConnection("jdbc:odbc:portal");
         public void addClient(LoginBean log)throws SQLException
              addRecord.executeUpdate("insert into clientprofile(firstname,middlename,lastname,address,occupation,organisation,gender,email,username,password)values('"+log.getFNfield()+"','"+log.getMDfield()+"','"+log.getLNfield()+"','"+log.getAdresfield()+"','"+log.getOrgfield()+"','"+log.getEmail()+"','"+log.getUsername()+"','"+(String)log.getPasword()+"'");
              addRecord.close();
              cn.close();

  • Create a table from another table and add constraint statement. Please help

    Previously, I post a question and it works as below:
    create table my_table
    PCTFREE 10 PCTUSED 0 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE
    INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT
    TABLESPACE TAB_DATA
    as select t1, t5, t2, t3, t4 from orig_table;
    I have been trying to use the same strategy as I post earlier, but it doesn't work.
    CONSTRAINT "MY_TEMP" UNIQUE ("ID", "SNAME", "CNAME", "TIME", "SYSTEM_ID")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "TAB_DATA" ENABLE
    CLUSTER MY_CLUSTER
    "CNAME"
    Below iis my SQL statement, but it doesn't work. Please help.
    create table my_table
    CONSTRAINT "MY_TEMP" UNIQUE ("ID", "SNAME", "CNAME", "TIME", "SYSTEM_ID")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "TAB_DATA" ENABLE
    CLUSTER MY_CLUSTER
    "CNAME"
    as (select t1, t5, t2, t3, t4 from orig_table;

    Hi,
    Why do you need to combine the two action togather. You can get the things done in two steps.
    Create table tab1 as select * from tab2;
    Then you create any contraint that you want to create on tab2 using 'alter table add constraint'.
    Regards

  • Get the ID of a dynamically created symbol from library, INSIDE another symbol.

    Hi everyone,
    I'm trying to get the id from a dynamic created symbol from library.
    When dynamically creating the symbol directly on the stage (or composition level), there's no problem.
    But I just can't get it to work when creating the symbol inside another symbol. 
    Below some examples using both "getChildSymbols()" and "aSymbolInstances" 
    // USING "getChildSymbols()" ///////////////////////////////////////////////////////////////////////// 
    // ON THE STAGE 
    var m_item = sym.createChildSymbol("m_item","Stage");
    var symbolChildren = sym.getChildSymbols(); 
    console.log(symbolChildren[0].getSymbolElement().attr('id')); // ok eid_1391853893203
    // INSIDE ANOTHER SYMBOL
    var m_item = sym.createChildSymbol("m_item", sym.getSymbol("holder").getSymbolElement()); 
    var symbolChildren = sym.getSymbol("holder").getChildSymbols(); // Am i using this wrong maybe?
    console.log(symbolChildren.length) // returns 0 so can't get no ID either
    // USING "aSymbolInstances"" ////////////////////////////////////////////////////////////////////////// 
    // ON THE STAGE
    var m_item = sym.createChildSymbol("m_item","Stage"); 
    console.log(sym.aSymbolInstances[0]); // ok (i guess) x.fn.x.init[1] 0: div#eid_1391854141436
    // INSIDE ANOTHER SYMBOL
    var m_item = sym.createChildSymbol("m_item", sym.getSymbol("holder").getSymbolElement());
    console.log(sym.getSymbol("holder").aSymbolInstances[0]); // Javascript error in event handler! Event Type = element 
    In this post http://forums.adobe.com/message/5691824 is written: "mySym.aSymbolInstances will give you an array with all "names" when you create symbols"
    Could it be this only works on the stage/ composition level only and not inside a symbol? 
    The following methods to achieve the same are indeed possible, but i simply DON'T want to use them in this case:
    1) Storing a reference of the created symbol in an array and call it later by index.
    2) Giving the items an ID manually on creation and use document.getElementById() afterwards.
    I can't believe this isn't possible. I am probably missing something here.
    Forgive me I am a newbie using Adobe Edge!
    I really hope someone can help me out here.
    Anyway, thnx in advance people!
    Kind Regards,
    Lester.

    Hi,
    Thanks for the quick response!
    True this is also a possibility. But this method is almost the same of "Giving the items an ID manually on creation and use document.getElementById() afterwards".
    In this way (correct me if i'm wrong) you have to give it an unique ID yourself. In a (very) big project this isn't the most practical way.
    Although I know it is possible.
    Now when Edge creates a symbol dynamically on the Stage (or composition level) or inside another symbol it always gives the symbol an ID like "eid_1391853893203".
    I want to reuse this (unique) ID given by Edge after creation.
    If created on the stage directly you can get this ID very easy. Like this;
    var m_item = sym.createChildSymbol("m_item","Stage");
    var symbolChildren = sym.getChildSymbols(); 
    console.log(symbolChildren[0].getSymbolElement().attr('id')); // ok eid_1391853893203
    I want to do exactly the same when created INSIDE another symbol.
    var m_item = sym.createChildSymbol("m_item", sym.getSymbol("holder").getSymbolElement());
    Now how can I accomplish this? How can I get the Id of a dynamically created symbol INSIDE another symbol instead of created directly on the stage?
    This is what i'm after.
    Thnx in advance!

  • Using iPhoto, can I create events inside another event!?!? Is there a way??

    I would like to create an event inside another one that already exists, is there a way to do that?
    I want to create something like:
    An album called "Euro Trip" and inside this album other albuns called "Madrid, Barcelona, etc"
    By choosing "Divide events", they don't stay in the same "folder".
    Can anyone help me?

    Post this query on the iPhoto forum.  There are people who are oriented to iPhoto issues.
    I don't think you can do it.  The only suggestion I can think of is to start a new iPhoto Library for 'Euro Trip'.
    Ciao.

  • How to create a table inside a table in the dictionary

    I need to create a table in the dictionary that one of the components has to be a table.
    Someone known how to do it.
    Thanks.

    Hi
    U cannot create a table inside another table.
    The data storage is not supported in that manner.
    If you need multiple fileds based on a single line entry then , first figure out the relationships between these tables.
    Then create a second table with a part of the primary key as the first and a unquie primary key to be defined for adding all the rest of the entries in the second table.
    Also maintain the foreign key relationships between these tables.
    This is the way to have multiple entries for a single line of a table entry.
    Regards,
    Radhika.

  • Question on Creating table from another table and copying the partition str

    Dear All,
    I want to know whether is there any way where we can create a table using another table and have the partitions of the new table to be exactly like the used table.
    Like
    CREATE TABLE TEST AS SELECT * FROM TEMP;
    The table TEMP is having range and hash partitions.
    Is there any way when we use the above command, we get the table partitions of TEMP to be copied to the new table TEST.
    Appreciate your suggestions on this one.
    Thanks,
    Madhu K.

    may this answer your question...
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:595568200346856483
    Ravi Kumar

  • Group inside another group

    Hi!
    I need some help with the extraction of the following XML. I have a group inside another group and I'm no getting to extract the xNome and vComp elements. How can I do this? I've tried the XMLSequence, but I think I'm no using the right xPath.
    <infComp>
    <chave>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA</chave>
    <vPresComp>
    <compComp>
    <xNome>NomeA1</xNome>
    <vComp>111.00</vComp>
    </compComp>
    <compComp>
    <xNome>NomeA2</xNome>
    <vComp>222.00</vComp>
    </compComp>
    <compComp>
    <xNome>NomeA3</xNome>
    <vComp>333.00</vComp>
    </compComp>
    </vPresComp>
    </infComp>
    <infComp>
    <chave>BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB</chave>
    <vPresComp>
    <vTPrest>500.00</vTPrest>
    <compComp>
    <xNome>NomeB1</xNome>
    <vComp>111.00</vComp>
    </compComp>
    <compComp>
    <xNome>NomeB2</xNome>
    <vComp>222.00</vComp>
    </compComp>
    <compComp>
    <xNome>NomeB3</xNome>
    <vComp>333.00</vComp>
    </compComp>
    </vPresComp>
    </infComp>
    Thanks!

    Got it! (based on the Michaels2 answer to "XPath problem."... thanks Michaels2).
    WITH t AS(
    SELECT XMLTYPE('<inf>
    <infComp>
    <chave>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA</chave>
    <vPresComp>
    <compComp>
    <xNome>NomeA1</xNome>
    <vComp>111.00</vComp>
    </compComp>
    <compComp>
    <xNome>NomeA2</xNome>
    <vComp>222.00</vComp>
    </compComp>
    </vPresComp>
    </infComp>
    <infComp>
    <chave>BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB</chave>
    <vPresComp>
    <vTPrest>500.00</vTPrest>
    <compComp>
    <xNome>NomeB1</xNome>
    <vComp>111.00</vComp>
    </compComp>
    <compComp>
    <xNome>NomeB2</xNome>
    <vComp>222.00</vComp>
    </compComp>
    </vPresComp>
    </infComp>
    </inf>') xml
    FROM Dual)
    SELECT EXTRACTVALUE(x.column_value,'infComp/chave') AS chave,
    EXTRACTVALUE(y.column_value,'compComp/xNome') AS xNome,
    EXTRACTVALUE(y.column_value,'compComp/vComp') AS vComp
    FROM t t,
    TABLE(XMLSequence(t.xml.extract('//infComp'))) x,
    TABLE(XMLSequence(x.extract('//compComp'))) y
    /

  • Including a WAR inside another WAR

    Hi all bit of a newb question me thinks but here goes
    I have two applications as wars.. i want to distribute them together can i put these inside another war and have tomcat deploy them both in the same way it would deploy a single war..
    Thanks in advance for any replies

    No. Why do people always want to make things so complicated? Just deploy one and then deploy the other.
    Anyway, because you designed the thing as two separate applications, you now have the flexibility of fixing bugs in one without having to reinstall the other.

  • Keywords and subordinates Aperture 3.4

    I have Aperture 3.4.3. When I try to create a Keyword and a subordinate and tag the photo with the subordinate, only the subordinate tag appears on the photo and not the Parent Key Word.  For instance, I type Bird as a Keyword, add Cardinal as a subordinate, but when I tag a photo with the Keyword Cardinal the keyword Bird does not appear. I am following the instructions from "Aperture 3 - The Portable Genius". Something tells me I am bypassing the obvious, but I cannot fiogure out what it is.
    Thanks for any light you can shine on this.

    For instance, I type Bird as a Keyword, add Cardinal as a subordinate, but when I tag a photo with the Keyword Cardinal the keyword Bird does not appear. The keyword "Bird" will not be shown, to save space, but it is inherited. If you do a smart search for "Bird", you will find all your "Cardinals". For example, searching for the keyword "Birds", will turn up all Cardinals as well:
    Regards
    Léonie

  • How  to trace() a variable nested inside another clip that is created at run time by the user ???

    Hi again Now i have another problem
    i explain :  on my stage i have 24 instance MC Page created at runtime (when cliked the button execute 24 instance MC Page from the library). Each of those MC Page create an xml  with infos (not important), this variable_XML created is nested inside each MC Page.. From my stage i want to call each XML from each MC Page  for make 1 unic  big xml, then send it to the server.
    So from the main stage i created a button that call each xml of each MC Page (there is a definit number of Page only 24, no more, no less). So
    when the 24 instances of the MC Page are created I push there instance name inside an Array "Page_Array". Now in my function exportxml
    i use get ChildByName(Page_array[number]) for find them then i can apply my method to the according MCPage.. Until here no problem, trace(dispObject.name) work. but when i try to get my variable inside the MC Page : trace(dispObject.my_variableXML), it doesnt work...Why ??
    here is my function (only 1 page for this example ):
    function exportxml(evt:MouseEvent):void {
        dispObject=getChildByName(Page_Array[0]);
        trace(dispObject.name); //trace  Page1
         trace(dispObject.my_variableXML);// here it dont trace the variableXML
    normally if i trace(Page1.my_variableXML); , it should trace "my_varableXML"  no ??

    when i export my movies Im so worried  to see if it work that  i clicked the button that trigger the function exportxml before the actual my_variableXML is created , so is normal that the code above didnt work... so all is normal and it work... sorry i will think 10 time before posting next time. promess .

  • Error message while importing upgraded LR3 catalog to new LR4 catalog

    I'm using a Win7 x64 system, 3Ghz Xeon dual core, 8 GB ram system.  After upgrading a LR3 catalog to LR4, it would not display all images in GRID VIEW in the upper level folders.  i.e. D:/Photos/2011.  It will display the images in the 2011 folder but not in the Photos folder.  And yes I do have the "Show Photos in SubFolders" selected. 
    By importing this updated LR4 catalog to a new LR4 catalog the display problem disappears.  However, I get an error message at the end of the import saying that "Lightroom could not import this catalog because of an unknown error."  This occurs after it says it is importing updated keywords.  But, as compared to the LR3 catalog, the new LR4 catalog shows the correct number of images in the catalog, shows the correct number of collections and seems to have all the keywords in the keyword list panel. 
    Because there seems to be some sort of catalog database upgrade error, I am hesitant to use LR4 for production at this time.  Does anyone have any suggestions as to what this error might be, or a work around for the error so I can be confident in my LR4 catalog?
    Thanks,
    Tony...

    I've pgraded to LR4.1 RC1 and then created a new catalog, imported from my original LR3 cat. It updated that temporary cat and then imported to the new LR4 cat without issues or error messages. I then just did an upgrade to my original LR3 cat and saved it in another location. Upgrade went without hitch or error messages and I am now using that catalog.  So far, so good with the new candidate.
    Tony...

Maybe you are looking for

  • Document splitting question

    Hi , can some one explain me the concept of document splitting when it comes to cross company code..how does document splitting work when a document has two company codes or for a cross company document..pls give a small example.. *help me out...look

  • Adapter problems

    Please read my other post im im need of help for my pc

  • MacBook 2.16GHz Intel Core 2 Duo cannot use the wirless but

    Dear expertise I brought a MacBook 2.16GHz Intel Core 2 Duo, Mac OS10.4.10 cannot use the wirless via router.  However, when I installed the Window xp in my macbook, I can connect with the wireless via the same router (the security mode has WEP, WPA

  • Cs5 update

    I replaced a computer that was trashed - CS5 was installed on on the old computer.  Installed CS5 successfully on the new computer - I am not aware on any installation problems.  Four of the updates continually fail with the suggestion of trying late

  • Format of printed Hyperlink

    When I include a hyperlink in a topic, RH automatically Bolds the link. I publish the Flashhelp version and the link is displayed correctly bolded. But when I create printed output as a Word document, the link isn't bolded. I've had to manually repea